Uploaded image for project: 'REEF'
  1. REEF
  2. REEF-1231

Too many open files in NetworkConnectionServiceTest

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14
    • Component/s: None
    • Labels:
      None
    • Environment:

      OS: Ubuntu 12.04 (VirtualBox VM)
      OS: Ubuntu 14.04
      JDK: HotSpot 1.7.0_80

      Description

      While making NameLookupClient injectable in REEF-703, and removing the deprecated Constructor in REEF-1124, replyLookupQueue has become NOT shared between NameClient and NameLookupClient. A question regarding this was actually raised by Mariia Mykhailova at REEF-703, but the JIRA was resolved without a clear answer.

      This change has not caused any problem in OSX, Windows, and Travis CI's Ubuntu. In other Ubuntu machines, however, reef-io tests fail due to “too many open files” exception. Tests passed on my Ubuntu VM by increasing the maximum number of open files with “ulimit -n 9999” command.

      But increasing the maximum number is just a workaround; I think a cleaner solution will be to share replyLookupQueue as we used to. Any thought?

        Attachments

        1. reef-0.14.0-rc1-java-ubuntu.log
          68 kB
          Yunseong Lee

          Issue Links

            Activity

              People

              • Assignee:
                taegeonum Tae-Geon Um
                Reporter:
                yunseong Yunseong Lee
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: