-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chuck,

Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
>> Subject: Re: SESSIONS.ser (Too many open files)
>>
>> Most of the files opened are JAR files (not sure why they
>> stay open; the JVM must assume that an opened JAR file will
>> eventually be used again)
> 
> Typical classloaders only load classes or resources actually requested,
> so the .jar file remains open for the lifetime of the classloader, in
> case another entry is needed.

I wonder if there's any interest in a ClassLoader that will close JAR
files once they haven't been used in quite some time (like a day or so).
If you have a bunch of libraries in your webapp and they all get nearly
fully-loaded on startup, or after a few requests, then you could save a
bunch of file descriptors by closing those files.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG+ts39CaO5/Lv0PARAs5+AKClHUaluSQWkjpCuwwv+hPoDrLTxwCggIEj
u7VmQESTLS5BpjZ5L3Dv/wA=
=eJhj
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to