Re: AW: Cannot restart or stop Apache after several days of running

2006-10-18 Thread Malcolm J Harwood
On Wednesday 18 October 2006 02:14, Henrik Steffen wrote: > > Are you running with ssl enabled? > no Then ssl isn't the problem. > > One thing I've noticed (at least on linux) is that if your system is low > > on entropy random number generator is low on randomness > > ('cat /proc/sys/kernel/ran

AW: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Henrik Steffen
Dear Torsten, > This can happen if apache is compiled with SysV shared memory > support. If a segment is used for example as scoreboard and apache is > killed with SIGKILL the segment remains and prevents further > starting. After a reboot the segment disappears and the server will > start again

AW: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Henrik Steffen
> I could understand the ignoring the SIGHUP that "restart" sends, if > something in your code was ignoring signals. The safe > signals stuff in > perl 5.8+ can be an issue there. I can't understand ignoring kill > signals though. well, meanwhile I found out: kill -HUP works fine. However

AW: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Henrik Steffen
Hi Jonathan, > > You should never "apachectl restart" under mod perl > > You must always "apachectl stop" , wait , "apachectl start" oops, I didn't know that. I have always done it with "apachectl restart" until now, and never had any trouble with it. Note though: apachectl is just a bash scri

AW: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Henrik Steffen
Hi Helmut, Helmut Zeilinger wrote: > > is this a remote machine administrated via ssh/telnet/etc. > and with nobody typing on the keyboard? yes, it's a remote machine. No keyboard attached. Normally administrated via ssh, for emergencies or kernel-updates there is a console-switch, too. -- M

Re: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Malcolm J Harwood
On Tue, 2006-10-17 at 08:54 +0200, Henrik Steffen wrote: > This works fine in the first couple of days (sometimes > weeks) after a reboot but then suddenly I am no longer able to > perform a normal "apachectl restart". After entering this command > actually nothing happens. The command execution ju

Re: AW: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Jonathan
On Oct 17, 2006, at 2:55 PM, Henrik Steffen wrote: oops, I didn't know that. I have always done it with "apachectl restart" until now, and never had any trouble with it. Note though: apachectl is just a bash script which does a simple "/usr/sbin/httpd -k restart". Is this still a problem?

Re: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Torsten Foertsch
On Tuesday 17 October 2006 19:15, Perrin Harkins wrote: > > I could of course "killall" the apache processes brutally, but > > even then I can't do "apachectl start". The server won't > > start up again! > > So if you send the kill yourself, it does stop?  And what do you mean by > "won't start up

Re: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Perrin Harkins
On Tue, 2006-10-17 at 08:54 +0200, Henrik Steffen wrote: > This works fine in the first couple of days (sometimes > weeks) after a reboot but then suddenly I am no longer able to > perform a normal "apachectl restart". After entering this command > actually nothing happens. The command execution ju

Re: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Jonathan Vanasco
On Oct 17, 2006, at 2:54 AM, Henrik Steffen wrote: This works fine in the first couple of days (sometimes weeks) after a reboot but then suddenly I am no longer able to perform a normal "apachectl restart". After entering this command actually nothing happens. The command execution just You

Re: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Helmut Zeilinger
Hi Henrik, is this a remote machine administrated via ssh/telnet/etc. and with nobody typing on the keyboard? Helmut Henrik Steffen schrieb: Hello all, I am using Apache 2.0.59 on Linux with mod_perl 2.0.2 in a productive enviornment, with intense usage of perl-scripts. If changes to the pe

Cannot restart or stop Apache after several days of running

2006-10-16 Thread Henrik Steffen
Hello all, I am using Apache 2.0.59 on Linux with mod_perl 2.0.2 in a productive enviornment, with intense usage of perl-scripts. If changes to the perl-scripts are necessary I'll sometimes have to restart the apache webserver to make use of the changed modules etc. This works fine in the first