1

My apache server is frequently spawning lots of children. I think there's multiple causes and while I pick them apart, I've band-aided the situation by getting monit to restart services when it spots the problem.

One thing that would help is a historical record of load averages. I considered running a cron job, but then this seems silly when monit is already doing that. Is there some way to make monit record everything it knows about the state of the system? Not just for this situation but for other problems I've had in the past: disk space, server status etc.

Looking at the monit documentation, it does have a log file and it does have a web service. But I can't find a configuration option to turn on detailed historical logging.

0

You can use M/Monit to do this.

enter image description here

1
  • Fair enough. I'll try out the paid version. – Matthew Exon Dec 4 '16 at 4:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.