Hello,
I noticed on the Apache server-status report a child that is stuck in "G"
(Gracefully finishing) after a SIGUSR1 today. Twelve hours ago.
I don't have root access on this machine, but I thought I'd run a CGI
script to run as "nobody" and kill off the child. (I've done this once
before when working late from home and sending a mod_perl script into a
memory hungry loop.)
But in this case the child sitting there in "G" just won't die. I've tried
sending as many signals as I can imagine HUP INT QUIT ABRT KILL TERM USR1
STOP CONT and THAW. I did note that the process was serving it's very
first request when SIGURS1 was sent. And I just sent a SIGHUP to another
Apache child from a CGI script and the child died.
We had a similar situation a month or so back where an Apache restart left
a bunch of children behind (and holding onto port 80), and thus the server
wouldn't restart. This time running as root and still couldn't kill the
processes. The machine was finally rebooted.
Anyone know how to kill off these children (without having to reboot)?
% uname -a
SunOS 5.6 Generic_105181-17 sun4u sparc SUNW,Ultra-Enterprise
Apache/1.3.9 (Unix) mod_perl/1.21
Thanks,
Bill Moseley
mailto:[EMAIL PROTECTED]