production settings for Tomcat

2004-01-29 Thread Pete Stokes
Hi.

I've had differing comments about certain setting for Tomcat in 
production, namely:

server.xml,
(under default connector port 8080),
how can I guestimate good settings for the maxThreads, 
min/maxSpareThreads looking at a reasonable size app but thinking about 
the RAM etc on the box so that the box gives it all but doesn't give too 
much!

and for JVM options,
-server
-Xss (thread stack size)
Any comments would be useful.

Thanks,
Pete.


***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: production settings for Tomcat

2004-01-29 Thread Tim Funk
Oddly enough, I usually ignore all those settings until I run into a problem. 
(With the exception of maxThreads since I run apache in from of tomcat.)

Since 1.4 - I think the -server option has been ok to use. (YMMV)

As for memory settings - you should at least pick a default -Xmx(...) so you 
have a base to start from when doing your tweaks than guessing what the 
defaults are.

My opinion on options are that each option was added because someone had a 
problem. Ignore them until you have that problem. (Benchmarking notes those 
problems quickly instead of a 'wait and see' approach when the box is sitting 
in production)

-Tim

Pete Stokes wrote:

Hi.

I've had differing comments about certain setting for Tomcat in 
production, namely:

server.xml,
(under default connector port 8080),
how can I guestimate good settings for the maxThreads, 
min/maxSpareThreads looking at a reasonable size app but thinking about 
the RAM etc on the box so that the box gives it all but doesn't give too 
much!

and for JVM options,
-server
-Xss (thread stack size)
Any comments would be useful.

Thanks,
Pete.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]