Hi All, I am new to monit and wondering if anyone could help interpret output and suggest possible improvements?: THX in advance! Message 1: Code: R Resource limit matched Service apache Date: Thu, 20 Jun 2019 07:21:58 Action: restart Host: cloud001-webserver.mysite.com Description: total mem amount of 1.2 GB matches resource limit [total mem amount>500 MB] Message 2: Code: Resource limit succeeded Service apache Date: Thu, 20 Jun 2019 07:23:10 Action: alert Host: cloud001-webserver.mysite.com Description: total mem amount check succeeded [current total mem amount=313.5 MB]
Monit restarted apache because apache used 1.2gb RAM which is above the 500MB limit that is set in your monit config file. Set a higher limit in the monit config and restart monit.