You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/10/23 18:57:38 UTC

DO NOT REPLY [Bug 4361] - SsiServlet potentially leaks files

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4361>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4361

SsiServlet potentially leaks files

bip@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



------- Additional Comments From bip@apache.org  2001-10-23 09:57 -------
Hmm, the SsiPackage doesn't open any FileStreams explicity, only indirect
through RequestDispatcher.include(). Could it be that your "lengthly data 
import operation that accesses thousands of HTML documents" exceeds the number 
of open files currently allowed on your system?

You could try to raise proc/sys/kernel/file-max AND /proc/sys/kernel/inode-max
and see if things work better, you could also look at how many files currently
open with 'lsof'.

Could you try that out and report back if it works or not.

       Bip Thelin