I have mysql running on FreeBSD to support several web sites (all php sites).
This set up is running fine for 1 year or so.
And in the recent a few days, I didn't do any changes to these sites and mysql database.
Suddenly, I have the mysql connection problems.
It seems mysql only accept very few connections, and if more connection requests come after that, mysql will not create the connection for the request.
so all these php pages with mysql connection request will create error and hung in there.
I have to restart the apache to kill these php process, but still, the problem will come again, a few runs later.
these connections could be php calling from web site, or could be my desktop client connect to mysql server.
it all creats the same error, only a few connections allowed, the connection after that, will be rejected.
What is the problem?
Does MySQL needs some kind house cleanning work after a few months?