java nio server has close_wait connections about after one day
809919Nov 2 2010 — edited Nov 2 2010Hi,
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!