[
https://issues.apache.org/jira/browse/DIRMINA-1069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16368564#comment-16368564
]
Jonathan Valliere commented on DIRMINA-1069:
--------------------------------------------
Every TCP socket connection has a FileDescriptor. Every {{Processor}} has an
eventpoll/pipe. You probably have 15 cores and it is creating 2x threads. The
first attempt to use the {{Connector}} will spawn the {{Processor}} threads.
They are created and destroyed on-demand.
If you create and destroy a single connection over and over again does the
{{FileDescriptor}} count continue to go up?
> Number of pipe and eventpoll goes up about 30 when connecting to server with
> NioSocketConnector
> ------------------------------------------------------------------------------------------------
>
> Key: DIRMINA-1069
> URL: https://issues.apache.org/jira/browse/DIRMINA-1069
> Project: MINA
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.3, 2.0.16
> Environment: Linux version 2.6.32-431.el6.x86_64(CentOS 65)
> Java 1.7.0_75
> Reporter: Wenzhi Wu
> Priority: Critical
> Attachments: After connecting to server successfully.PNG, Before
> connecting to server.PNG, File descriptors.PNG
>
>
> When connecting to server with NioSocketConnector,number of pipe and
> eventpoll goes up about 30.When I connect 1000 times,it will consume more
> file handles,finally exceed linux maximum limits.I think,maybe it is worser.
> Before connecting to server,number of file descriptors is 269.After it,it
> becomes 301.
> So,how did everybody solve it?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)