tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cin Lung" <cinl...@gmail.com>
Subject Tomcat scalability settings
Date Thu, 08 Apr 2010 03:55:48 GMT
Dear All Dev

Can anyone help me with my problem? I have two biggest problems as follow:

1. Multi Connection Problem:
I have a web application that service to multiple users. Everytime the users
accessing the server reach 100 users at the same time, the tomcat would
slows down. I tried to set -xmx1024 and -xms1024, but it did not have any
impact at all.
I tried to set the memory cache to 2048 and above, but the tomcat won't
start.
My current server is running AMD Athlon 64 3000+ with 8GB memory running
windows server 2003 SP1.
I am running tomcat 6 for the app server.
Before upgrading to Windows 2003 SP1 I also had the same problem. I thought
by upgrading would make a difference, but it didn't.
Is there any way to improve tomcat's performance. Will there be any use of
Java NIO Framework in tomcat? I mean apache has Mina, why not combine with
tomcat?

2. User cancellation problem
Another thing that really bug me is that user would click on a web
application that perform a very extensive task. The user was not patient and
just close the browser accessing the app. This did not make that particular
job stop. In fact the job is still running until finish and then it got no
place to return the result since the user closed the browser. As the result,
my server is working really hard and takes up all the resources available,
and causes other users to lag.

Is there any way to make that particular user task/thread stop working?

Thank you in advance
Rendra


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message