[ 
https://issues.apache.org/jira/browse/KAFKA-2353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiangjie Qin updated KAFKA-2353:
--------------------------------
    Attachment: KAFKA-2353_2015-07-21_22:02:24.patch

> 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
>         Attachments: KAFKA-2353.patch, KAFKA-2353_2015-07-21_22:02:24.patch
>
>
> 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)

Reply via email to