ICEpdf
  1. ICEpdf
  2. PDF-1164

Max file descriptor size in font engine is too small for some server configurations.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.4
    • Fix Version/s: 6.2.5
    • Component/s: Font Engine
    • Labels:
      None
    • Environment:
      PRO

      Description

      A customer has reported a stuck wait lock on our RandomAccessMultiplex class. This is most likely due to the relatively small size of a max of 8 open file descriptors.

      They are running ICEpdf using a 8 threaded pool which could easily exhaust the mulitplexer. I think we can safely bump the default value 512 and add a system property to make it configurable as well. Most Linux JVMs have a limit of 1024.

        Activity

        Hide
        Patrick Corless added a comment -

        I've added a new system property org.icepdf.core.nfont.maxFileDescriptor=512 as the default value. The max file descriptor size is quite a bit larger now but can be easily configured for a specific setup.

        Show
        Patrick Corless added a comment - I've added a new system property org.icepdf.core.nfont.maxFileDescriptor=512 as the default value. The max file descriptor size is quite a bit larger now but can be easily configured for a specific setup.
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: