Bug#486629: apache2 refusing to restart

2008-06-20 Thread Paul
[EMAIL PROTECTED]:~$ sudo lsof -nP -i tcp:80 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME apache21372 www-data3u IPv6 13782 TCP *:80 (LISTEN) apache21413 www-data3u IPv6 13782 TCP *:80 (LISTEN) apache21464 www-data3u IPv6 13782 TCP

Bug#486629: apache2 refusing to restart

2008-06-20 Thread Paul
Which apache2-mpm-* package are you using? [EMAIL PROTECTED]:~$ dpkg -l apache2-mpm-prefork Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:

Bug#486629: apache2 refusing to restart

2008-06-20 Thread Stefan Fritsch
Hi Paul, it seems if there is a large number of child processes, apache can take a long time to close all the listening sockets. If this is your problem, then apache should die some time after an unsuccessful restart. In this case, you could try to increase the wait time in the init script

Bug#486629: apache2 refusing to restart

2008-06-20 Thread Paul
Hi Stefan, It was already set to 4, I read in the script it something about increasing it to atleast 12, So to be on the safe side I increased it to 30. That makes it take abit longer to restart but thats a better solution than forcing it to stop and then having to reboot to clean

Bug#486629: apache2 refusing to restart

2008-06-19 Thread Paul
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=366124 You can use lsof or netstat -tlnp (as root) to determine which processes keep the listening sockets open. Does this fit your problem? Stefan I have restarted apache to capture some more information sudo /etc/init.d/apache2 restart

Bug#486629: apache2 refusing to restart

2008-06-19 Thread Stefan Fritsch
On Thursday 19 June 2008, Paul wrote: Is there any traces or dumps I can do to provide more information. Maybe the output of sudo lsof -nP -i tcp:80 sudo sh -x /etc/init.d/apache2 restart sudo lsof -nP -i tcp:80 can give more information. You might have to install lsof first. Which

Bug#486629: apache2 refusing to restart

2008-06-18 Thread Stefan Fritsch
On Tuesday 17 June 2008, Paul wrote: Some times I have noticed the system is abit sluggish when I restart apache, the main problem is with apache, it creates lots of child processes that refuse to die, the biggest problem is it then locks up the ports it is using and the only way to kill

Bug#486629: apache2 refusing to restart

2008-06-17 Thread Paul
package: apache2 version: 2.2.9-1 Severity: Critical Why does apache2 refuse to restart or reload the configuration and if you attempt it then the whole system needs to be rebooted. Any package that dies bad enough to require a reboot has something badly broken in it. waitpid(6285,

Bug#486629: apache2 refusing to restart

2008-06-17 Thread Stefan Fritsch
Hi, On Tue, 17 Jun 2008, Paul wrote: Why does apache2 refuse to restart or reload the configuration and if you attempt it then the whole system needs to be rebooted. Any package that dies bad enough to require a reboot has something badly broken in it. Please be more verbose. What happens

Bug#486629: apache2 refusing to restart

2008-06-17 Thread Paul
My apologies for the brief bug, it was sent after a 13 hour day at work. Some times I have noticed the system is abit sluggish when I restart apache, the main problem is with apache, it creates lots of child processes that refuse to die, the biggest problem is it then locks up the ports it