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
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general