I am having real problems with my Xindice based application server on Debian 3.0 / jdk 1.4.1_0 . It now crashes on a daily basis with OutOfMemory errors in the Tomcat logs. The only thing this system is running is Tomcat, Apache and Xindice.
Have you tried (and monitored) the JRockit VM? Also, what memory parameters are you using for the VM (-Xms, -Xmx, etc...)?
The really wierd symptom is that Tomcat seems to create a huge number of java processes, 50+. Also, when I get a list of processes (ps ax) I see lots of strange stuff like:
This is Linux and its thread management: since each thread is actually mapped to a process, you will see a whole bunch of java processe with ps: don't worry about them
/bin/sh /var/xml-xindice-cvs/bin/xindice lc -c /db/cm
This is weird, and I've never seen it before. Will take a look in the next few days (ATM I don't have a Linux machine handy to try that out).
Ciao,
-- Gianugo Rabellino
