monit-general
[Top][All Lists]
Advanced

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

[monit] How to exclude child processes for monitoring?


From: Ismo Tanskanen
Subject: [monit] How to exclude child processes for monitoring?
Date: Mon, 17 Mar 2008 18:17:37 +0200
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

Hello to all,

I have weird problem. I use monit to monitor mythtv backend. It works great.

Problem is, that I have AMD X2 cpu, and monit somehow sees cpu usage wrong.
Mythbackend sometimes locks and starts using 100% cpu (top reading). For some reason monit only shows it using 50%. I think this is due X2 cpu.

This is not problem, I have set cpu limit to 45% what works great in most situations.

But, myth can start processes, like mythtranscode, and mencoder. I think monit sees them as child processes. And, when myth starts those processes, monit suddenly sees it using more than 50% cpu. Are processes using different cpus and monit calculates summary?

At this situation, monit thinks, that myth has reached cpu usage limit, and restarts it. This causes problems to because after restart myth starts those processes again, and again... until whole machine crashes.

So is there a way to monitor mythbackend process, not it's child processes for cpu usage?

Thanks,

- Kane




reply via email to

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