[xSocket-develop] Several threads in 'waiting on NonBlockingConnection'
Status: Inactive
Brought to you by:
grro
|
From: Chirag S. <chi...@gm...> - 2009-07-15 05:01:37
|
Hey xsocket,
I'm running into an issue where our application is unable to make new
non-blocking connections after some time. It works fine for a long
time until it it reaches a state where it's unable to create new
connections. Has anybody else run into this issue. I'm a bit sparse
on details right now, but here's a snippet of the thread dump.
We have set our timeouts to 3 minutes, and it doesn't look like we're
running out of sockets.
Thanks!
Chirag Shah
//Most of the threads are in this state
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0xb610fcf0> (a
org.xsocket.connection.NonBlockingConnection$SyncIoConnectorCallback)
at org.xsocket.connection.NonBlockingConnection$SyncIoConnectorCallback.connect(NonBlockingConnection.java:737)
- locked <0xb610fcf0> (a
org.xsocket.connection.NonBlockingConnection$SyncIoConnectorCallback)
at org.xsocket.connection.NonBlockingConnection.<init>(NonBlockingConnection.java:700)
at org.xsocket.connection.NonBlockingConnection.<init>(NonBlockingConnection.java:677)
at org.xsocket.connection.NonBlockingConnectionPool.newNativeConnection(NonBlockingConnectionPool.java:582)
at org.xsocket.connection.NonBlockingConnectionPool.getConnection(NonBlockingConnectionPool.java:514)
at org.xsocket.connection.NonBlockingConnectionPool.getConnection(NonBlockingConnectionPool.java:505)
at org.xsocket.connection.NonBlockingConnectionPool.getNonBlockingConnection(NonBlockingConnectionPool.java:217)
at org.xlightweb.client.HttpClientConnectionPool.getHttpClientConnection(HttpClientConnectionPool.java:116)
at org.xlightweb.client.HttpClientConnection$ClientExchange.forward(HttpClientConnection.java:1213)
at org.xlightweb.RequestHandlerChain$ChainExchange.handle(RequestHandlerChain.java:402)
at org.xlightweb.RequestHandlerChain$ChainExchange.forward(RequestHandlerChain.java:472)
at org.xlightweb.client.AutoRedirectHandler.onRequest(AutoRedirectHandler.java:80)
at org.xlightweb.AbstractHttpConnection$RequestHandlerAdapter.performRequestHandler(AbstractHttpConnection.java:1898)
at org.xlightweb.AbstractHttpConnection$RequestHandlerAdapter.onRequest(AbstractHttpConnection.java:1892)
at org.xlightweb.RequestHandlerChain$ChainExchange.handle(RequestHandlerChain.java:393)
at org.xlightweb.RequestHandlerChain.onRequest(RequestHandlerChain.java:257)
at org.xlightweb.client.HttpClient.send(HttpClient.java:923)
|