Henk Hangyi wrote: > Hi, > > I have an MMBase website which runs on the following configuration. > > JDK 1.4.1_07-b02 > Tomcat 4.1.31 (making use of AJP13) > MMBase 1.7.3 > Struts > OSCache 2.1 > > The website works perfect ... untill the garbage collector starts. After > the gc starts the website hangs for a couple of minutes. When the gc runs > the load on the server remains low and there are no Java processes taking > a lot of CPU. > > Did anybody see this behavior before? Any guess about what could possibly > be the cause and how to fix it?
I have no idea, but I think ussually extremely long gc's indicate that the memory is nearly exhausted. Did you switch on gc-logging? I suppose that gc's happened earlier too, but they just weren't so slow. Do you monitor mmbase caches? Perhaps they are too big? If memory exhaustion is not the case, perhaps JDK 1.5 would do better, because I think Sun promised that such settings are automaticly optimized during runtime (gc-tuning and the like), in 1.5 Jdk's. Furthermore I'd upgrade tomcat to tomcat 5, which is quite some time now the latest stable release of theirs, and contains IIRC many improvents on performance terrain as well. In later 1.7 builds I made several improvements on taglib btw, which may decrease the memory use as well, though I would not hope too much, because I don't expect very much of it. But if you try it, and it does help, I'd like to know that, because it could be a reason for a quick new minor release on the 1.7 branch. Michiel -- Michiel Meeuwissen mihxil' Mediacentrum 140 H'sum [] () +31 (0)35 6772979 nl_NL eo_XX en_US _______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
