Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.0 M4
-
6.2.x
-
Committed
-
2
-
4
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.