![]() |
Loads of mysql connections to dbispconfig
ISPconfig 3.0.0.0.9 rc2 has been working fine for about two weeks (upgraded from 3.0.0.8), however since today I am getting mysql errors on all sites and the admin panel, reporting something like 'mysql error: too many connections'. I checked out the process list in phpmyadmin and I'm seeing something like this, which I assume can't be right. How can I fix this?
FYI this is on Ubuntu Server 8.10. Code:
Kill 3 ispconfig localhost dbispconfig Sleep 16 NULL |
This is ok. the connections are from several services like postfix, pureftpd, courier, amavisd etc. which all connect with the ispconfig user to the mysql database. ISPconfig itself uses just one connetion when you are logged into the interface and another connection when the backend starts the processing. both connections are closed right after the page has been delivered or the data has been processed. If you reach the max connection limit of mysql, this happens most likely when a lot of spam comes in. You can set a higher connection limit in the mysql my.cnf file.
Add or edit the following lines in the [mysqld] section of the file: max_connections=500 max_user_connections=500 |
Ah I see, I could have thought of that myself ;) I've set the max connections higher and now everything's fine! Thanks!
|
| All times are GMT +2. The time now is 20:36. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.