I’m having a really strange issue with Tomcat 6(newest release, although
I’ve tried several releases from the 6 and 7 branches). I have two JRuby
on Rails apps running on a linux(CentOS) server. Every couple of days,
all Tomcat apps become unreachable. The Java process shoots to the top
of my running process list.
I have no idea which app is causing this problem, but it takes down
Tomcat completely. (I thought each app was running in its own space).
The worst part is NOTHING out of the ordinary is reported in the logs.
I’m guessing one of the apps is leaking memory, but I have no idea where
to even start looking. I’m not a java guy in the slightest, so I’m not
familiar with the ecosystem and how to look into this.
I’ve tried multiple JRuby versions/multiple Rails versions/multiple
Tomcat versions, even multiple Java versions (all 1.6.x Sun Hotspot).
How do I go about troubleshooting this?