Leon Rosenberg <[EMAIL PROTECTED]> wrote:
>
> 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.

I've not noticed more then 400-500 java threads, but I'll monitor
that. I've set different ulimits form differnt users, BUT user
that runs java/tomcat has no limits but one: -s 2048 (stacksize).

AFAIK that one was recommended by RELEASE-NOTES.txt

-- 
T.



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

Reply via email to