Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-65738

File handle leak in timestamper plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • timestamper-plugin
    • None
    • Jenkins LTS 2.263.4
      timestamper-plugin 1.13
      OpenJDK 1.8.0_282
      CentOS 7.9.2009

      Since updating timestamper-plugin to version 1.13, Jenkins throws IOExceptions for "Too many open files" after some hours and Jenkins gets unresponsive.

      Checked with Linux's "lsof -u jenkins" command we see a lot of open files with pattern

      /var/lib/jenkins/jobs/*/builds/*/timestamper/timestamps

      The number of open files of this pattern increases over time until the limit is reached.

      A Jenkins restart frees the file handles and makes Jenkins responsive again - until open file limits are reached again.

      A downgrade of timestamper-plugin to version 1.12 solved the issue for us.

       

            Unassigned Unassigned
            lenslord Michael Meissner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: