Luis Torres wrote:
Hi there,
What do you have on maxThreads and what error do you get when tomcat
fails to respond?
Just a thought... if you have 1GB of memory maybe is not a good idea
to let tomcat use that same number since your OS and other processes
need memory also. I don't know what can happen if your JVM actually
attempts to get 1GB, maybe you'll start using the swap fs and that's
not good.
Regards,
Luis
Li Ma wrote:
We are deploying a web-based project to Tomcat 5.5. We are doing some
load
testing now. But the load testing failed after concurrent connection
reaches
about 80 to 100. I think it is not a big number at all.Our server(a
linux
box) where Tomcat is running has 1G memory and set maxheap of Tomcat
to 1G
too.
I want to ask what is yor experience using Tomcat to host a large web
project? How many concurrent user are supported in your case? Is there
anyway(guideline) to configure Tomcat to allow it support more
concurrent
user?
Thanks!
--
Li Ma
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On another note, you shouldn't be setting to 1GB if thats all the memory
in the machine, a good rule is to set the Xms? and Xmx to the same, I
would suggest starting @ Xms256m Xmx256m and work you way up from there
to see what is required, if the Xmx is set too high the VM will never
get to full GC because the vm is trying to allocate more memory but the
OS has none available. Out of Memory!!!
Don
Don
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]