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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to