6

Monit failed to restart apache

view full story
linux-howto

http://serverfault.com – Apache failed and Monit did not restart it as expected. The error in monit's log is: Error opening Monit id file '/root/.monit.id' for writing-Cannot allocate memory The problem is that Apache went down due to a lack of memory so... is there simply nothing to be done in such a case? The lack of memory killed both the process and the thing monitoring that process. Anyone know of any strategies for working with such a situation in Monit? (HowTos)