You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/08/04 05:53:20 UTC
DO NOT REPLY [Bug 22099] New: -
out of memory
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=22099>.
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=22099
out of memory
Summary: out of memory
Product: Tomcat 4
Version: 4.1.18
Platform: Other
OS/Version: Other
Status: NEW
Severity: Critical
Priority: Other
Component: Connector:Coyote JK 2
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: eresha@bigpond.com
Hi,
I am having "out of memory" problems. Our configuration is like this.
webserver->firewall->tomcatserver(LAN)
The out of memory problem only occurs between the webserver/tomcatserver - ie
the coyote jk2 connector. I can still access and use tomcat internally from our
LAN using the Coyote HTTP Connector. THis error is intermittent and occurs
sometimes. However, when it does occur we cannot access tomcat via our external
(internet) users until we restart tomcat.
Refer log below:
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:497)
at org.apache.tomcat.util.threads.ThreadPool.openThreads
(ThreadPool.java:387)
at org.apache.tomcat.util.threads.ThreadPool.runIt(ThreadPool.java:226)
at org.apache.jk.common.ChannelSocket.acceptConnections
(ChannelSocket.java:565)
at org.apache.jk.common.SocketAcceptor.runIt(ChannelSocket.java:688)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:530)
at java.lang.Thread.run(Unknown Source)
[ERROR] ThreadPool - -Caught exception executing
org.apache.jk.common.SocketAcceptor@3861e6, terminating thread
<java.lang.OutOfMemoryError: unable to create new native thread>
[INFO] ChannelSocket - -server has been restarted or reset this connection
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start(Native Method)
at java.lang.Shutdown.runHooks(Unknown Source)
at java.lang.Shutdown.sequence(Unknown Source)
at java.lang.Shutdown.exit(Unknown Source)
at java.lang.Terminator$1.handle(Unknown Source)
at sun.misc.Signal$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)