We've been running ColdFusion for over 10 years. All earlier problems we've always managed to fix. But this one we don't seem to be able to fix.
We get the following Coldfusion error message after our server have been running for a couple of weeks:
Error Executing Database Query.Could not create connection to database server. Attempted reconnect 3 times
We run Coldfusion Enterprise 9.0.1 on a one year old XServer with Snow Leopard and MySQL 5 The server has about ten DSN set up in the Coldfusion Administrator All local, with default advanced settings, and host set to "localhost" The server is not under heavy load.
The strange thing is that after a restart of the server, everything works fine. Then after a week or so, some databases will stop working, in the sense that Coldfusion cannot create a connection to them. If I then go to the Coldfusion Administrator and click "Verify all datasources", I will get that only 2 or 3 got verified, the other ones failed, and it is always the same datasources that can't be verified when the server starts to behave like this if I try to verify again, BUT NOT neccessary the same datasources that couldn't be verified the last time the server behaved like this.
I know about the setting "max_connections" and we have included a line for that setting in the MySQL config file and set it to 2000, and when we read it by a query it says "2000", so that can't be the problem.
Europe, Middle East and Africa