httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] start apache if the process dies unexpectedly
Date Mon, 29 Oct 2007 13:22:39 GMT
On 10/29/07, Melanie Pfefer <melanie_pfefer@yahoo.co.uk> wrote:
> hi
>
> I have a cron job that kills all processes owned by a
> user. apache is among these processes.
>
> Can apache be configured to restart if the process
> dies??

It is. That is why there is a parent process that supervises the
children and launches new ones if they die. But you are obviously
killing the supervisor process. You could have a supervisor for the
supervisor, but it would also wind up getting killed. So I think you
need to fix your cron job.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message