Hi,

I have an application running in Apache Tomcat 6.0.18 server (Windows
2003 Service Pack 2).
The application has both incoming HTTP connections and periodically
connects to another application
over TCP.

After about 30 hours of runtime, I see the following problem when the
application tries
to open a TCP socket:

java.net.SocketException: No buffer space available (maximum
connections reached?): connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)

As I am trying to track this down, I need to know what could be the
cause of this exception.
Also whether anyone has seen this problem in Tomcat, and whether
upgrading the Tomcat server
could help.

* Restarting the Tomcat server does not help (still get no buffer
space available).
* To resolve the problem I have to restart windows.
* The server has only about 6-8 simultaneous UDP connections and 2-3
TCP connections.
There is a lot of traffic on the UDP connections, but in terms of
number of connections there is not
to much load on the server.

Perhaps it could be a windows problem?

Any clues?

Regards
Miriam

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to