Tobias Schulz-Hess schrieb:
For Linux, this can be done dynamically by launching (fron the OS

prompt):


 echo "16384" >/proc/sys/fs/file-max
When I do
~# cat /proc/sys/fs/file-max
203065

This setting is a kernel limit.

This tells me, that (at least this specific setting) is already
sufficient...

You most likely hit shell limits.

What user runs your tomcat server?

When you have found out, go to
/etc/security/limits.conf
and adjust parameters like this (or according to your needs):

tomcat           soft    nofile          90000
tomcat           hard    nofile          90000

tomcat           soft    nproc           8192
tomcat           hard    nproc           8192


You can check these limits after relogin with your tomcat user with 'ulimit -a'.

Rainer

---------------------------------------------------------------------
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