Cron job to monitor and restart httpd

This is a discussion on Cron job to monitor and restart httpd within the Linux Administration forums, part of the Linux Forums category; I have a situation where something/someone is causing my system to suddenly utilize up to 80% of available memory. ...


Go Back   Usenet Forums > Linux Forums > Linux Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-19-2004
gf
 
Posts: n/a
Default Cron job to monitor and restart httpd

I have a situation where something/someone is causing my system to suddenly
utilize up to 80% of available memory. Once it happens I have to restart
Apache. I am working on the issue and that's just background.

What I need is a cron job to monitor my memory usage and when it reaches,
say 40% to restart Apache. I need both the script code and the cron job to
monitor it. TIA.


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:49 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0