httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignaz Birnstingl" <>
Subject Re: Stop server
Date Sat, 09 Apr 2011 10:53:33 GMT
> Hello,
> I start a thread during the post_config which checks the state of the  
> hardware machine.
> If something goes wrong, this thread has to stop the Apache server.
> Is it possible ?
> For now, I am only able to kill the root process and I have to duplicate  
> this thread on each child in order to let them kill themselves.
> I hope there is a better way to stop (or kill) all the processes.
> (This should work in prefork or in worker mode under linux).
> Thank you,
> Nicolas.


I think sending the root process a SIGTERM should do the trick.


View raw message