tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Strange OutOfMemory Error in TcpWorkerThread
Date Fri, 30 Jul 2004 13:08:10 GMT

Hi,
It's not likely a memory problem, but a resources problem for creating threads.  If you're
running on unix, look at the ulimit command.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Francois JEANMOUGIN [mailto:Francois.JEANMOUGIN@123multimedia.com]
>Sent: Friday, July 30, 2004 4:00 AM
>To: Tomcat Users List
>Subject: Strange OutOfMemory Error in TcpWorkerThread
>
>Hi all, I have this strange error :
>SEVERE: Caught exception (java.lang.OutOfMemoryError: unable to create new
>native thread) executing
>org.apache.tomcat.util.net.TcpWorkerThread@1a04d30,
>terminating thread
>
>I use those parameters :
>
>-verbose:gc -Xms756m -Xmx1024m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC
>
>And the ParNew before and after the error gives me :
>Before : [ParNew 299307K->285970K(774080K), 0.0632930 secs]
>After :  [ParNew 302226K->290481K(774080K), 0.0777970 secs]
>
>So, there is a LOT of memory available. I probably have to change some Jvm
>parameters. Note that the dev is out for holidays, so it will be difficult
>for me to look for a memory leak somewhere. Note that if I give more memory
>(say -Xms=1024m -Xmx=1536m, for example), the error arrives sooner. There
>are
>800 connectors configured. I was also unable to increase the number of
>tomcat5.CoyoteConnector threads.
>
>Any help appreciated,
>
>Fran├žois.
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
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