Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-4428

Increase default max file descriptors setting

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.9, 1.9.5
    • Fix Version/s: 1.9.6
    • Security Level: Default (Default Security Scheme)
    • Labels:
    • Environment:
      Any non-Windows OpenNMS system

      Description

      I've been seeing an increasing number of instances (among both the community at large and our support customer base) where the default value passed to 'ulimit -n" (per-process max open file descriptors) in the OpenNMS start script is insufficient, resulting in wacky problems that can be very difficult to diagnose. Ultimately messages start appearing in the logs about "Too many open files". I think the primary culprit here is that Provisiond's massively parallel, asynchronous way of scanning for services eats up lots of socket FDs.

      We should bump the default setting in bin/opennms and in the package maintainer scripts where applicable (thinking Debian). Currently this is:

      MAXIMUM_FILE_DESCRIPTORS=10240

      So far I've had good luck with doubling that value to 20480.

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              jeffg Jeff Gehlbach
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: