httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georgi Chorbadzhiyski>
Subject [users@httpd] Killing apache child processes and logging (how to stop serving request?)
Date Sun, 08 Oct 2006 21:24:31 GMT
Hi guys, I have the following problem. I maintain a mirror site serving
large ISO images. Everything is fine with Apache 2.2 but I have the following
problem (tested with the same results in 1.3.37, 2.0.59 and 2.2.3):

Sometimes I need to kill an apache child process serving large file before
request is completed. I run "kill -SIGTERM HTTPD_PID", the child dies and
transfer is stopped but nothing is written in access log.

I've tried sending different signals to the child serving the request but
I can't cause it to die and log the transfer at the same time. The child just
dies without logging the transfer.

Is there a way to stop apache child serving request but without loosing log

Graceful doesn't work for me, because I want to stop the transfer and graceful
is just advisory.

Tested on Linux and Linux 2.4.32/Slackware 11.

Georgi Chorbadzhiyski

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message