Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8555

C2 Server Error - Too Many Open Files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Cannot Reproduce
    • 0.5.0
    • None
    • MiNiFi
    • None

    Description

      After several days of running C2 the errors are being logged about having "Too Many Open Files". At this point, C2 is not responsive to clients trying to check for new configurations.

      33e79e: Too many open files
      Apr 29 14:33:22 ********ec2.internal c2.sh[20851]: Caused by: java.nio.file.FileSystemException: /opt/minifi-c2/./files/5233730D-AC58-4853-9C0E-273D0E

       

      Running lsof shows an increasingly larger number of open files. Our MiNiFi instances are checking for new files every few seconds (probably too short), but it seems like maybe some file handles are not being cleaned up.

      Restarting C2 clears up this condition and C2 becomes responsive again.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mikenac Michael
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: