Re: Cannot restart or stop Apache after several days of running
On Tuesday 17 October 2006 19:15, Perrin Harkins wrote:[color=blue][color=green]
> > 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![/color]
> So if you send the kill yourself, it does stop? =A0And what do you mean by
> "won't start up again"? =A0What happens when you try?[/color]
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 segme=
disappears and the server will start again.
You can check this with ipcs. A named scoreboard is not necessary. The way=
shared memory is allocated is defined when APR is configured. Linux support=
all 3 choices. Unfortunately SysV is default. But for me mmap() based share=
memory works best. It avoids this problem.
But maybe I am all wrong and your problem is somewhere else.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-----END PGP SIGNATURE-----