>That should be CATALINA_OPTS, not Catalina_Opts ..
Ok, wrote it wrong in the Email. For sure it is CATALINA_OPTS.
> Also tell us the exact Tomcat level you're using, along with the JRE/JDK
> version, and the platform you're running on.
The System for the testing is a Windows XP Pro SP 2 in a Virtual Maschine.
1,53GB RAM, only Tomcat is running.
Tomcat is using SDK 1.5.0_07.
JAVA_OPTS are
jmxremote.authenticate=false
jmxremote.ssl=false
jmxremote.port=777
for JMX-Interface (Virtual GC).
Everything else should be default.
(Dont`t know exactly, what you mean by "Tomcat Level")
>Post your server.xml and let's see what your <Connector> attributes are.
Here is the Connector Part..rest is attached at the end of the Email for better
reading:
..
<Connector port="8009" enableLookups="false" redirectPort="8443"
protocol="AJP/1.3"></Connector>
<Connector port="8081" maxHttpHeaderSize="8192" maxThreads="150"
minSpareThreads="25" maxSpareThreads="75" enableLookups="false"
redirectPort="8443" acceptCount="100" connectionTimeout="20000"
disableUploadTimeout="true"></Connector>
...
Hope this is all information you need.
>The ThreadWithAttributes class is Tomcat's extension to the standard Thread
>for use in thread pools.
Hm, ok...you may have some Information about it? Or do you think, the class it
self isn`t the Problem?
Iam focused on ThreadWithAttributes, because i see it everytime i review a
ErrorHeapDump.
So, thanks for reading and helping,
Patrick
<<<<<<<<<<<<<<<<< server.xml >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<Server port="8005" shutdown="SHUTDOWN">
<Listener
className="org.apache.catalina.core.AprLifecycleListener"></Listener>
<Listener
className="org.apache.catalina.mbeans.ServerLifecycleListener"></Listener>
<Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"></Listener>
<Listener
className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"></Listener>
<GlobalNamingResources>
<Environment name="simpleValue" type="java.lang.Integer"
value="30"></Environment>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and
saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml">
</Resource>
</GlobalNamingResources>
<Service name="Catalina">
<Connector port="8009" enableLookups="false"
redirectPort="8443" protocol="AJP/1.3"></Connector>
<Connector port="8081" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443"
acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true">
</Connector>
<Engine name="Catalina" defaultHost="localhost">
<Realm className="org.apache.catalina.realm.JDBCRealm"
driverName="com.mysql.jdbc.Driver"
connectionURL="jdbc:mysql://127.0.0.1:3306/myApplication" connectionName="demo"
connectionPassword="demopw"
userTable="security_principal"
userNameCol="principal" userCredCol="credential"
userRoleTable="security_principal_role" roleNameCol="role" digest="MD5">
</Realm>
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true" xmlValidation="false"
xmlNamespaceAware="false"></Host>
</Engine>
</Service>
</Server>
<<<<<<<<<<<<<<<<< server.xml >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
-----Original Message-----
From: Caldarale, Charles R [mailto:[email protected]]
Sent: Tuesday, March 10, 2009 4:04 PM
To: Tomcat Users List
Subject: RE: MemoryLeak Problem with ThreadWithAttributes
> From: Hennig, Patrick [mailto:[email protected]]
> Subject: MemoryLeak Problem with ThreadWithAttributes
>
> Catalina_Opts is setted to:
> -Xms512m -Xmx768m.
That should be CATALINA_OPTS, not Catalina_Opts, in case you're running on a
system where the case of environment variable names matters.
> Does anyone know, what ThreadWithAttributes is for and why it can
> become that large ?
The ThreadWithAttributes class is Tomcat's extension to the standard Thread for
use in thread pools.
Post your server.xml and let's see what your <Connector> attributes are.
Also tell us the exact Tomcat level you're using, along with the JRE/JDK
version, and the platform you're running on.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]