monit-general
[Top][All Lists]
Advanced

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

Killing PID of high-memory Apache instance


From: Moore-Levesque, John H (CGI Federal)
Subject: Killing PID of high-memory Apache instance
Date: Wed, 15 Feb 2017 21:44:12 +0000

My understanding of this configuration here:

 

check process apache with pidfile /var/run/httpd.pid

               […]

               if total cpu > 80% for 5 cycles then restart

 

Is that monit will kill restart Apache if the CPU usage of all the processes (parent and children) is over 80% for 5 cycles. Is it possible to have monit instead kill a single Apache PID with high CPU or memory usage? Or is it all-or-nothing?

 

John H. Moore-Levesque | Consultant

EPA CAM (ITS-EPA II) | CGI Federal

2800 Meridian Parkway, Suite 150, Durham, NC 27713

T: 919-294-0080 | M: 303-718-9787

 


reply via email to

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