tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22151] New: - ThreadPool OutOfMemoryException
Date Tue, 05 Aug 2003 21:02:14 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22151>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22151

ThreadPool OutOfMemoryException

           Summary: ThreadPool OutOfMemoryException
           Product: Tomcat 4
           Version: 4.1.24
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Connector:Coyote HTTP/1.1
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: mike@renegadeinternet.com


Ok, first off I'm using RedHat Linux 7.3, Sun JDK 1.4.2, Tomcat 4.1.24.  The 
server is an IBM xSeries with Dual Pentium Xeon 2 GHz DP processors and 2 GB 
RAM.

Now, I've been running Tomcat with the additional parameters "-server -Xmx768m -
Xms384m" and all has been working fine.  With the current load of about 10-15 
requests per second, the JVM uses about 500 MB of RAM and the system has about 
1.2 GB of RAM free.  The problem is that I need to put about 60 requests per 
second on this box and when I try to increase -Xmx to 1 GB of RAM or more, 
Tomcat seems to lockup while starting with this error:

Aug 5, 2003 2:29:45 PM 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run
SEVERE: Caught exception executing 
org.apache.tomcat.util.net.TcpWorkerThread@107f742, terminating thread
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start(Native Method)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.<init>
(ThreadPool.java:582)
at org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPool.java:460)
at org.apache.tomcat.util.threads.ThreadPool.runIt(ThreadPool.java:293)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:536)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:534)

Mime
View raw message