monit-general
[Top][All Lists]
Advanced

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

Re: [monit] Incorrect mem usage and children shown mysql and apache


From: Martin Pala
Subject: Re: [monit] Incorrect mem usage and children shown mysql and apache
Date: Thu, 01 Nov 2007 22:25:24 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070802 Iceape/1.1.4 (Debian-1.1.4-1)

Post your monit configuration, post the output of "ps", post content of the pidfile which is used for mysql monitoring. Same for apache.

Are you sure that you set monit correctly?

In general - if you have some problem, please describe it. We cannot help if don't know the details about the problem and related environment.

Please see monit manual and:
http://www.catb.org/~esr/faqs/smart-questions.html

Thanks,
Martin


Mr. Reasonable wrote:
Hi all,

After looking through the archive I could not find the answer to two questions. The first one is the following:

1)
after implementing the sample code for MySQL and Apache, I find that the results are not complete. For MySQL monit says that there are 0 children, whereas there are in fact 10 instances of MySQLd running, each using 1.7% of the memory. The total sum of memory used by MySQLd is totally wrong too, as a result. Same goes for Apache, it does not show the actual usages:

mysql <http://81.171.86.45:2812/mysql> running 21d 12h 56m 0.0% 1.7% [27592 kB]

apache <http://81.171.86.45:2812/apache>  running 3m      0.0%    1.2% [18820 
kB]


So my question is how to fix this? The memory and CPU limits are never going to be reached when only one of the 10 processes is monitored.


Any thoughts would be greatly appreciated, thank you!

Rea


------------------------------------------------------------------------

--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

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