[Top][All Lists]

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

Re: how to monitor "too many mysql connections"?

From: Allen Shaw
Subject: Re: how to monitor "too many mysql connections"?
Date: Wed, 20 Dec 2006 16:42:31 -0600
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

Martin Pala wrote:

What configuration do you use?

Good point -- I should have posted that.  Right now it's:
check process mysql with pidfile /var/lib/mysql/
start program = "/usr/bin/safe_mysqld --user=mysql"
stop program = "/usr/bin/mysqladmin -ppassword -u username shutdown"
if failed unixsocket /var/lib/mysql/mysql.sock then restart
if failed unixsocket /var/lib/mysql/mysql.sock for 5 cycles then exec "/path/to/"

I think that monit mysql protocol test should detect this, ...

I will try this and report on whether or not it works.


Allen Shaw                        address@hidden
UPF Data Services                              914.826.4622

reply via email to

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