Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3337

Server should limit number of workers based on available FD's

    XMLWordPrintable

    Details

      Description

      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"

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ctomc Toma┼ż Cerar
                  Reporter:
                  swd847 Stuart Douglas
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: