[jboss-jira] [JBoss JIRA] (WFLY-3337) Server should limit number of workers based on available FD's

Stuart Douglas (JIRA) issues at jboss.org
Mon May 12 15:28:56 EDT 2014


Stuart Douglas created WFLY-3337:
------------------------------------

             Summary: Server should limit number of workers based on available FD's
                 Key: WFLY-3337
                 URL: https://issues.jboss.org/browse/WFLY-3337
             Project: WildFly
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Web (Undertow)
            Reporter: Stuart Douglas
            Assignee: Tomaz Cerar


Each worker consumes at least 2 FD's for the temp selector, plus one for the active connection. If the FD limit is two low our auto scaling code should account for this and create less workers. 

This should also print INFO messages for the auto turned values, and a WARN if the number had to be reduced due to the FD limit.

The FD limit can be accessed through JMX:

ManagementFactory.getOperatingSystemMXBean()
attribute is called "MaxFileDescriptorCount"



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jboss-jira mailing list