You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Hank Beatty (JIRA)" <ji...@apache.org> on 2017/08/14 15:17:02 UTC

[jira] [Commented] (TC-197) File descriptor leak caused by NIO protocol connector

    [ https://issues.apache.org/jira/browse/TC-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16125816#comment-16125816 ] 

Hank Beatty commented on TC-197:
--------------------------------

[~elsloo] Is this still an issue? If so, are we planning on fixing it in 2.1?

> File descriptor leak caused by NIO protocol connector
> -----------------------------------------------------
>
>                 Key: TC-197
>                 URL: https://issues.apache.org/jira/browse/TC-197
>             Project: Traffic Control
>          Issue Type: Bug
>          Components: Traffic Router
>    Affects Versions: 2.1.0
>            Reporter: Jeff Elsloo
>              Labels: file_descriptor_leak
>         Attachments: Screen Shot 2017-03-15 at 2.12.58 PM.png
>
>
> The new default configuration for Traffic Router and Tomcat is to use the {{Http11NioProtocol}} adapter over the previous {{Http11Protocol}} adapter. This is accomplished via the {{LanguidNioProtocol}} connectors specified in Tomcat's {{server.xml}}.
> We observed a file descriptor leak with connections, but have not dug into the cause. We observed roughly 30-40k connections in {{CLOSE_WAIT}} which caused the machine to exhaust its file descriptors based upon configured limits. We also observed a similar growth curve on total threads, so something is not behaving and being cleaned up appropriately.
> The cause could range from a bug in the {{Http11NioProtocol}} connector due to the ancient version of Tomcat we're using, tuning within the connector itself (max threads, intervals, etc), tuning within the JVM (memory, GC, etc), or at the OS level (kernel params around TCP connections, etc).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)