Jiangjie Qin created KAFKA-2353: ----------------------------------- Summary: SocketServer.Processor should catch exception and close the socket properly in configureNewConnections. Key: KAFKA-2353 URL: https://issues.apache.org/jira/browse/KAFKA-2353 Project: Kafka Issue Type: Bug Reporter: Jiangjie Qin Assignee: Jiangjie Qin
We see an increasing number of sockets in CLOSE_WAIT status in our production environment in recent couple of days. From the thread dump it seems one of the Processor thread has died but the acceptor was still putting many new connections its new connection queue. The cause of dead Processor thread was due to we are not catching all the exceptions in the Processor thread. For example, in our case it seems to be an exception thrown in configureNewConnections(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)