tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: SESSIONS.ser (Too many open files)
Date Wed, 26 Sep 2007 19:19:22 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

RB,

Ranjan Kumar Baisak wrote:
> 
>> To see your current settings use 'ulimit -a'. If you want to make
>> permanent changes edit /etc/security/limits.conf
>> Everything in a system is a file, not just a single webpage, the
>> default are not enough for your requirements.
>>
> Ok now I got it. default value for open files is 1024 and I think I need
> to increase open file descriptor limit.

Just as I would caution anyone who is running out of memory to check to
see /why/ they were running out of memory before they blindly increase
the heap size, I have to caution you to investigate /why/ you are
running out of file handles before you blindly increase your file handle
limit.

Yes, increasing the file handle limit is likely to fix your problem, but
probably only temporarily. You may have a resource leak that is merely
going to take longer to hit if you increase your file handle limit.

- -chris

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

iD8DBQFG+rC69CaO5/Lv0PARAtdeAJ92mqHMFuWJnnvyDMqDczqCakD/HQCfVYk+
jwiT6uobpvPic99cR82c4j0=
=u9dr
-----END PGP SIGNATURE-----

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


Mime
View raw message