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

C2 Server Error - Too Many Open Files

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Blocker
    • Resolution: Unresolved
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            mikenac Michael

            Dates

              Created:
              Updated:

              Slack

                Issue deployment