you should seriously consider upgrading to 2.6.x linux. 2.4.s thread support simply sucks! If your tomcat spawns more than allowed threads it will get an outofmemoryerror and simply die... And I don't mean your 200 tomcat httpworker threads only, but all threads in the jvm, including database connection pools and so on. You should be able to count currently running threads on a 2.4.x system with ps, I think the proper switch was -H. Something like ps auxH | wc -l.
You can calculate your systems thread limitation by this, very simple test program, which just creates and starts new Threads until an OOME is thrown. regards Leon On 3/1/06, Tomasz Nowak <[EMAIL PROTECTED]> wrote: > Leon Rosenberg <[EMAIL PROTECTED]> wrote: > > > > We had some serious problems with tomcat, which are solved now, > > however, we are on 5.0.25 (with session patch) and not on 5.5.x yet. > > However, when tomcat dies, what your cpu usage is looking like? 100%? > > I've noticed that when tomcat hangs - load avarage increases > from 0.2-0.4 (normal) to about 1.0. But I'll take a close look > at the cpu usage next time 5.5.x hangs. > > -- > T. > > > --------------------------------------------------------------------- > 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]