monit-general
[Top][All Lists]
Advanced

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

Re: [monit] Killing Apache Processes that take up more than 50% of CPU t


From: Lars Stavholm
Subject: Re: [monit] Killing Apache Processes that take up more than 50% of CPU time
Date: Sun, 04 Nov 2007 16:23:17 +0100
User-agent: Thunderbird 1.5.0.12 (X11/20060911)

Samuel Vogel wrote:
> Hey guys,
> 
> I guess the title if pretty slef explainatory. I do run a free shared
> hosting environment and would like to have monit "kill -9" every Apache
> Process that takes up over 50% of my cpu time.
> 
> Is this possible?

check process apache2...
  ...
  if cpu usage > 50% for 3 cycles then restart
  ...

or something similar.
/L





reply via email to

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