On 04.03.2009 14:30, Andrew Feller wrote:
QUESTION(S):
1. Are there any general philosophies to tuning Tomcat to support
a high number of maxThreads (1000+)?
64 Bit system
2. Is there any rule of thumb for determining the appropriate number
of open file descriptors?
If your application is already productive, use lsof (a *nix tools "list
of open files", that shows you all file descriptors of chosen running
processes, and what they are needed for). Or simply go to /proc/PID/fd
in the proc file system (PID= process id of the process you are
interested in) and list the entries of that directory. It is a virtual
file system and this directory conatins one entry for each used file
descritor, and in many cases usuefaul additional information (do a long
listing "ls -l").
3. What costs are associated with granting higher amounts of open
file descriptors?
Actually not sure. In case those file descriptors mostly come from
network connections, don't forget the buffers associated with each such
connection.
Regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org