0
votes

I have rather a frustrating issue in that I'm getting errors appearing in the logs relating to queries that cannot run or complete, which is odd as the pages are normally fine, further investigation shows the error:

Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): connect

I am running Tomcat 6 on Windows Server 2008 R2 Datacentre (1 CPU), MySQL 5.0.85 with mysql-connector-java-5.1.25.

I've not experienced any pages throw errors when I access our websites, but some users must be experiencing an issue, hence the error logs. Needle in a haystack pops to mind, if anyone could please shed some light as to a resolution it would be much appreciated :-)

2

2 Answers

0
votes

Assuming you have more than one core in your CPU, this is usually due to a bug (ID 2577795) in Windows Server 2008 R2. A hotfix is available from Microsoft.

0
votes

I migrated all projects to Tomcat 7.0.42 and my errors have disappeared, our websites are far more stable and slightly faster, we are using less memory and cpu usage is far better.