https://defect.opensolaris.org/bz/show_bug.cgi?id=17130
Summary: SpellChecker instance in search.jsp not closed:
IOException: Too many open files
Classification: Development
Product: opengrok
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Severity: critical
Priority: P3
Component: webapp
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created attachment 4314
--> https://defect.opensolaris.org/bz/attachment.cgi?id=4314
Delta to 0.9 - correct SpellChecker close()
In 0.9, the SpellChecker instance in search.jsp is not being closed.
Consequently, a file descriptor representing the underlying index files read by
the instance remains open until object finalization. Dependening on the usage
pattern, this missing close() may cause a denial of service of the running
instance after hitting the file descriptor limit (1024 on Linux).
The attached search.jsp modification adds the missing close. Please apply!
--
Configure bugmail: https://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev