Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8705

Attachment on-disk file cache leaks open file descriptor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.4
    • Fix Version/s: 4.4.1
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      n/a
    • Similar issues:

      Description

      Monitoring the opened file descriptors related to the attachement-cache, with the following command

      while :; do F=`lsof | grep attachment-cache | wc -l`; if [[ "$F" != "$OF" ]]; then echo `date` $F; OF=$F; fi; sleep 1; done
      

      the number of opened attachement keep slowly growing while our production wiki farm is in use. I currently got an increase of about 70 FD on the first hour.

      Most of the leaked FD are read-write or write-only descriptors. These does not seems to be duplicates, names and sizes varies.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                softec Denis Gervalle
                Reporter:
                softec Denis Gervalle
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: