tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Pabst <simon.pa...@web.de>
Subject Re: Tomcat stops serving jsp under load
Date Wed, 23 Jul 2003 17:45:21 GMT
Propably you have a memory leak or a too small Java Heap (Sun's default is 
128m i think),
so the old generation in your Java Heap hasn't any free memory anymore 
under load
and does a lot of Full Garbage Collections which lead to "Stop-the-world" 
behaviour.

Use the following Java Options to increase the Java Heap (example with 256 MB):
-Xmx256m -Xms256m
(setting maximum (Xmx) and initial (Xms) heapsize to same size is recommended)

Use the following Java options to have GC/Heap logging (goes to catalina.out):
-XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC

For more Details on Garbage Collection see:
http://java.sun.com/docs/hotspot/gc1.4.2/
http://wireless.java.sun.com/midp/articles/garbagecollection2/


At 09:15 23.07.2003 +0100, you wrote:
>Tomcat slows then eventually stops serving jsps under load (100+ concurrent
>users), html is always fine. The behaviour is sporadic and not easily
>reproducable but only occurs under load.
>
>Standalone (Coyote) 1.1.24, J2SDK1.4.1_03, Linux RH9.
>
>
>Anyone else experiencing this?
>
>Thanks
>Euan
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


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


Mime
View raw message