tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter lin <>
Subject Re: Concurrency Problems
Date Tue, 01 Oct 2002 15:05:41 GMT

it all depends on the hardware, webapp and a whole bunch of other

the best way to find out is to stress test it with varying level of
threads, preferably increased in regular increments.

once you get a baseline, you can then try increasing the max processors
in server.xml and repeat the same set of tests.

Do this as many times as needed to figure out what settings work best
for you.  Depending on your webapplication and the response time, you
may also want to try increasing the acceptCount.

Performance tuning takes time and consistent methodology.  It's also
beneficial to set a thresh-hold for what you consider to be reasonable
response time under heavy loads vs light loads.  hope that helps.


Tomcat Forum wrote:
> Hi Everybody,
>      Iam having some problems with simutaneous users on the Tomcat 4.0
> server. I have made a java client for testing Tomcat with multiple users.
> This client makes multiple threads with each requesting login and then some
> page from the tomcat server. But if I send more than 25 threads I start
> getting exceptions from the server like
> Connection refused: connect.
>      Can somebody please tell me what is the maximum number of simultaneous
> users Tomcat can support and is there any way to configure this?
> I'll appericiate ur help.
> Mandeep
> _________________________________________________________________
> Chat with friends online, try MSN Messenger:
> --
> To unsubscribe, e-mail:   <>
> For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message