Results 1 to 3 of 3

Thread: Automatically Monitor and Restart Apache

Hybrid View

  1. Automatically Monitor and Restart Apache

    Apache is a great web server, but it is not without problems.

    One of those problems is that Apache can sometimes "hang" in a state where no pages are being served, but the Apache "httpd" processes are still running.

    This can be very badm because most server monitoring systems won't detect this error.

    m3rlin has created a pretty useful script for monitoring Apache for a specific error, running out of MaxThreads. The script is available at Automatically monitor and restart apache.

    The script is an excellent framework for monitoring other service outage issues which can plague Apache.

  2. Nice, I'm happy that I never had that problem during the last 1,5 years.

    BUt I remember me that I had that problem with my first server with a different control panel. I run my server now on Directadmin and this system controls the apache service too.

  3. #3
    Join Date
    Dec 2008
    Redmond, Oregon
    Now Will this is awesome thank you for pointing this out. A lot better then trying

    0 * * * * /etc/rc.d/init.d/httpd restart


    15,30,45,59 * * * * /etc/rc.d/init.d/httpd restart

    Have been thinking of trying one of those but man to restart that often would be harsh

    Reverse IP Check ಠ_ಠ Proxy Sites
    <?php if ($youask == 'stupid question') { echo ('stupid answer'); } ?>

Similar Threads

  1. any nice server monitor tools ?
    By SonnyCooL in forum Managing
    Replies: 1
    Last Post: 1 October, 2010, 06:20 AM
  2. Replies: 4
    Last Post: 6 April, 2010, 16:07 PM
  3. Replies: 0
    Last Post: 2 October, 2009, 19:19 PM
  4. How to get emails automatically forwarded
    By WebEvader in forum Managing
    Replies: 3
    Last Post: 31 January, 2009, 21:36 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts