|Subject:||Re: Need help to setup monit for Prerender service|
|Date:||Tue, 29 Aug 2017 10:03:21 +0530|
stop = "/bin/bash -c 'kill -s SIGTERM `cat /var/run/process.pid`'"
Also starting with nohup and using echo$! in centos might have a problem.
Check this mail thread:
Thanks Guillermo let me try this.On Mon, Aug 28, 2017 at 10:32 PM, Guillaume François <address@hidden
jsthen use this PID file in monit configuration with somethink like belowcheck process Prender with pidfilestart program = "n"if cpu usage > 90% for 10 cycles then restartBest would be to use a wrapper script instead of the full command line also.Hopes this help mister "Sr. Devops Engineer"2017-08-28 18:37 GMT+02:00 Apoorwa Sharma <address@hidden>:--Hi,I Need help to setup monit for Prerender service I am trying now
an/listinfo/monit-general-------BEGIN GEEK CODE BLOCK-----
GCS/IT d(+) s++:- a C++$ ULC(+)>+++$ !P--- L+>$ !E---? W+++$ !N* !o-- K--? w(+) !O---? !M- !V--? PS+? !PE Y+ PGP++>+++ !t-- !5 !X- R(+)>++* tv-? b(-) DI !D- G(+)>+ e+++ h--() r->$ y?*
------END GEEK CODE BLOCK------
|[Prev in Thread]||Current Thread||[Next in Thread]|