Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

No more threads

David Teruel

2004-11-29

Replies:

Hello everyone.

I'm having one little problem with the memory of my Tomcat 5.5.4.

I'm doing a little test for knowing how many concurrent sessions of my
application can I have. When 50 (more or less) sessions are opened, I
get the following error in the server.

java.lang.OutOfMemoryError: unable to create new native thread

The server is running under a HP-UX machine, and jre1.4.
I've also tried the same test for the same application in a
Windows-based computer (256 Mb RAM, much more worst then the HP) with a
Tomcat 5.0.19 and jre1.3 too; and it could run 1500 sessions without
many problems.

Does any one know the reason of this problem? An the proper solution?

Thanks.

--
**************************************************
        David Teruel Vioque
     GFI-Inform��tica. Telef��nica I+D
     Tfl: 91.312.99.85 (29985)
     email: davidt62@(protected)
          dteruel@(protected)
**************************************************
Ojal�� se te acabe la mirada constante, la palabra
precisa la sonrisa perfecta ... Silvio Rodr��guez.
**************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.