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

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 5 weeks, 5 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 M5