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: Samuel Vogel
Subject: Re: [monit] Killing Apache Processes that take up more than 50% of CPU time
Date: Mon, 05 Nov 2007 22:37:08 +0100
User-agent: Thunderbird 2.0.0.6 (Macintosh/20070728)

But this will restart Apache entirely, won't it?
I just want to kill the particular processes, that take up over 50% cpu time!

Regards,
Samy

Lars Stavholm schrieb:
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



--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

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