[users@httpd] Killing apache child processes and logging (how to stop serving request?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
information?

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

Tested on Linux 2.6.17.7/Slamd64 and Linux 2.4.32/Slackware 11.


-- 
Georgi Chorbadzhiyski
http://georgi.unixsol.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux