Hello list, I have been using tomcat on a site for some time now
I recently upgraded to tomcat 3.2.1 from 3.0, because I heard it was faster
and easier to configure...
Previously, the site was starting to lag a bit under the load, although I
had never configured pool connectors or set up apache to serve static
content directly...
Now, though, I'm getting bitten by the "too many open files" thing... In a
netsearch I ran across the ulimit command, although it was apparently used
on solaris...
My machine is a linux machine, with fd limit 1024... I set it to the
highest settings, 1048576, and it still gives me that problem after roughly
the same amount of time has passed...
I suspect that the limit is not properly being set...
I have a shell script which I use to restart the server... first it stops
apache, then is stops tomcat, then it deletes the work and webapp
directories for the webapp, then I restart tomcat, then apache... I put
"ulimit -n 1048576" at the top of the script, and "ulimit -a" at the bottom,
and at the bottom when it prints the values, the value looks properly set...
I am using sun java2 sdk 1.2.2
does this set its own ulimit maybe?
has anyone else had similiar problems?