tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Olivier <c...@zero-one.co.za>
Subject OutOfMemoryError: unable to create new native thread
Date Thu, 28 Oct 2004 10:07:01 GMT
Greetings.

I am periodically having to restart a normally very stable tomcat 5 instance
due to:

OutOfMemoryError:  unable to create new native thread

Now, as far as I understand the following are the reasons for this:

- Actually ran out of memory
- Hit max # of threads allowed to run (OS dependant?)
- Ran out of file handles - File handles include open files AND sockets
- (?) Your JVM is bigger than the max process size allowed
- Other things I don't know

Does anyone have any tips on how to track this sucker down?

The OS is Windows 2000 Server
Jdk1.4.2_01
Tomcat 5.0.27

How do you increase the max thread count at an OS level?

Tomcat seems fine as the heap is never huge at the time of the memory (in
fact only 40% MAX utilisation)?

Thanks in advance!

Carl

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message