Hi Guys,
I have some sort of problem with mysql server, time_wait connections
is reach too much high. It might be some application not closing in certain
time probably might be a reason.So i did set max_connections to 500 but still
it reach. How can i made a bash or any script that will send me an email if
that time_wait connection reaches certain define number that i might be aware.I
usually use this command to monitor time_wait and counts for particular
connection.
netstat -ant |grep ":3306" |awk '/tcp/ && /TIME_WAIT/ {print $6,$4}'|sort|uniq
-c
Tux_user
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph