Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java nio server has close_wait connections about after one day

809919Nov 2 2010 — edited Nov 2 2010
Hi,

I'm using nio(Selector,SocketChannel) and Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode), and debian linux 2.6.35.4u7. I read all forums about java nio and close_wait connections but i didn't find any working solutions. My server is under load continuously.
I have 2 acceptor threads and N read-writer threads in my server. After about one day i can see an increasing number of close_wait connections with netstat.
Can you give me some ideas?

thx in advance!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 30 2010
Added on Nov 2 2010
2 comments
842 views