View Single Post
Re: HTTP server was dead
Old
  (#8)
Onno Kreuzinger
aka: memed / Server Admin
 
Onno Kreuzinger's Avatar
 
Status: Offline
Posts: 705
Join Date: Jan 2004
Location: germany
Default Re: HTTP server was dead - 06-03-2004

"last resort", because daemon tools are usually used in big email server systems based on qmail (multi million mails per day), and my professional experience with apache 1.3 (the one we are using) realy indicate that it does not crash .


but i just made a simple watchdog, which checks every 15 mins and restarts apache in case it does not respond with the http code 200.
the logfile entry will be "Apache responded with code 200, all ok." when it did not restart apache. if it does apache will make log entries.

cheers

/edit
and of course there is allready a webmin service monitor running, which also should restart the server, but i could not find a trace of that working or not working, so i had to "wait" until it should have worked, now i found out that it faild bacause inetd was in the watch list. that service is not used, but xinetd so now i expect it to work. any suggestions when to test :-)
edit/


sunny morning view from my balcony:

see our WIKI!
see our filebase!

Last edited by Onno Kreuzinger; 06-03-2004 at 15:25..
  
Reply With Quote