Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-53521

Server crashes with "Too Many Files Opened" error after few minutes

Details

    Description

      After some time receiving requests, Liferay Portal crashes with Weblogic because there are too many files opened by the application. It is due to the file handlers not being correctly managed so that the underlying file system exhausts its resources. More precisely there are many calls to URLConnection.openConnection(), which leads to a plethora of InputStream objects not properly closed.

      Increasing the maximum number of file descriptors of the operating system only alleviates the problem for a while.

      The solution applied here will be very similar to shuyang.zhou's, which can be seen at LPS-44052.

      Attachments

        Issue Links

          Activity

            People

              beck.liu Beck Liu
              cleydyr.albuquerque Cleydyr Albuquerque (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8 years, 6 weeks, 6 days ago

                Packages

                  Version Package
                  6.2.X EE
                  7.0.0 M5