[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Restart Specific Service based on server load

From: Peter M. Abraham
Subject: Restart Specific Service based on server load
Date: Fri, 07 Apr 2006 16:48:18 -0400


I did read the manual, the examples, and tried to search the mailing list archive, so I apologize in advance if I missed the answer to my question in those areas.

From our experience, if the 1-minute server load is over 10 on our Web-only servers, restarting Apache does the trick.

Based on

 check system myhost.mydomain.tld
    if loadavg (1min) > 10 then alert

How would one restart Apache rather than just alert?

Thank you for your time.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]