the question is if you're ulimit really is unlimited. there are a few
settings, linux has 1024 for open files.
[EMAIL PROTECTED] tomcat]$ ulimit
unlimited
[EMAIL PROTECTED] tomcat]$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 7168
virtual memory (kbytes, -v) unlimited
Filip
Corey Kaiser wrote:
Hi,
I have a server.xml with 37 virtual hosts defined, each with 1 root context
also defined in the same file (yes, not recommended, but not explicitly
disallowed either, right?).
Tomcat starts up fine and is solid with this config on 5.5.15, but not on
5.5.16.
After 14 loaded contexts on 5.5.16, I get "Too many open files" errors, and
exceptions like:
Apr 10, 2006 5:56:23 PM org.apache.catalina.startup.ContextConfig
processContextConfig
SEVERE: Missing default web.xml, using application web.xml only
conf/context.xml /usr/local/tomcat/conf/context.xml
java.io.FileNotFoundException: /usr/local/tomcat/conf/context.xml (Too many
open files)
That context.xml is in place and contains default values.
I did notice that a change was made between 5.5.15 and 5.5.16 that may have
something to do with this (from the ChangeLog):
Deploy folders which don't have a WEB-INF, and return an error when a
context file does not contain a Context element (remm)
Not sure why folders without a WEB-INF are being deployed now, as I have
many folders that contain static content that I certainly don't want
deployed as webapps.
Also, I'm on Linux, and my ulimit is set to unlimited.
Any help greatly appreciated.
-corey
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]