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

Attachment on-disk file cache leaks open file descriptor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 4.4.1
    • 4.4
    • Old Core
    • None
    • Unknown
    • N/A
    • n/a

    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

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

              Dates

                Created:
                Updated:
                Resolved: