I had a similar sounding problem (although I experienced it with all
versions of Tomcat).
(Forgive me if I repeat information you're already familiar with)
I was running into a concurrent users issue. Tomcat keeps one thread
open for each user
when you have HTTP keep alive enabled. So the system basically can not
handle more than
"maxThreads" users. BUt more interestingly, I found bumping up
maxThreads beyond about 130
didn't really seem to help (I was noticing this in 5.0, not just 5.5); I
chalked this up to a thread
pooling issue in Tomcat (and keeping hundreds of threads alive didn't
seem reasonable
anyway).
Instead, I disabled keep alive (*maxKeepAliveRequests*=1), and now I've
got a thousand concurrent
users operating nice and fast. This works well for me, because most of
my users are just
requesting a single xml doc every 20 seconds, so keeping alive a
connection doesn't give me much.
I'm thinking you may be in a similar situation. By default, tomcat has
keepalive on. BUt maybe your
old installation had it turned off at some point.
Andreas Daab wrote:
Hi,
yesterday I switched our web app from Tomcat 5.0.28 with Java 1.4.2 to
Tomcat 5.5.12 with Java 1.5. We have two applications, each with 250
users. Tomcat 5.0.28 is a little slow, but has no problem to handle 500
users. With Tomcat 5.5.12/JVM 1.5 the limit is 100 - 130 users. Any
additional user gets an error. Even tomcat manager doesn't work anymore.
Both Tomcat versions share the same configuration:
connectionTimeout="20000"
compression="on"
maxThreads="150"
minSpareThreads="25"
maxSpareThreads="75"
JvmMx = 1536
With more maxThreads (250, 450, 500) Tomcat has the same problem.
Avarage used threads is 20. Tomcat eats 15 - 25% cpu, it's not the
limit. We have 4 GB RAM and 4 Xeon-HAT, should be enough for 500 users.
The server runs under Windows 2003 Enterprise.
I (temporarily) switched back to 5.0.28. How to get Tomcat 5.5.12
working?
Tanks in advance
Andreas
---------------------------------------------------------------------
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]