tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Pabst <>
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" 

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:

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?
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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

View raw message