Re: Tomcat shutdown script initiates Heap dump collection
Hi Andre I could not execute the following in my production server echo catalina.sh : JAVA_OPTS = $JAVA_OPTS /var/log/tomcat_debug_file.log Here is how I start the tomcat services /opt/app/tomcat/public1/bin/startup.sh I was checking all the file the startup.sh uses startup.sh includes catalina.sh catalina.sh includes setenv.sh and setclasspath.sh However, I dont see any JAVA_OPTS parameter defined. I believe, this is a optional parameter and it is not defined in our environment. your views ? Could you please let me know the relation between JAVA_OPTS and the heap dump collection? Thanks -- View this message in context: http://www.nabble.com/Tomcat-shutdown-script-initiates-Heap-dump-collection-tp21421003p21612325.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
maxKeepAliveRequests attribute configuration
Hello We are planning to define the maxKeepAliveRequests attribute in Tomcat server.xml As of now, this attribute is not defined and I believe the default value is 100. What is the preferred value to configure? please advise. Here are the environment details Apache Tomcat/4.1.27 JVM/JDK: 1.4.2_06 Platform: OS Red Hat Enterprise Linux AS release 3 (Taroon Update 5) The reason for the definition of the attribute is because we encounter high socket connection issues and we suspect improper HTTP Keep alive configuration could be the root cause. Please let me know if you need more details. Thanks Prakash -- View this message in context: http://www.nabble.com/%22maxKeepAliveRequests%22-attribute-configuration-tp21532375p21532375.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Tomcat shutdown script initiates Heap dump collection
Hi Chuck In catalina.sh file, I could see that JAVA_OPTS and CATALINA_OPTS are being referenced as follows.. exec $_RUNJDB $JAVA_OPTS $CATALINA_OPTS \... However, the value for JAVA_OPTS is not defined in catalina.sh As I had already mentioned, ONLY CATALINA_OPTS are defined in setenv.sh CATALINA_OPTS='-Xms512M -Xmx1536M' Where can I find the values configured for JAVA_OPTS ? Please guide. Thanks Prakash -- View this message in context: http://www.nabble.com/Tomcat-shutdown-script-initiates-Heap-dump-collection-tp21421003p21463786.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Tomcat shutdown script initiates Heap dump collection
Thanks Chuck Here are the environment details Apache Tomcat/4.1.27 JVM/JDK: 1.4.2_06 Platform: OS Red Hat Enterprise Linux AS release 3 (Taroon Update 5) Where Can I get the JVM setting configured for running Tomcat? Are you refering to setenv.sh ? CATALINA_OPTS='-Xms512M -Xmx1536M Please let me know. Thanks -- View this message in context: http://www.nabble.com/Tomcat-shutdown-script-initiates-Heap-dump-collection-tp21421003p21444591.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Tomcat shutdown script initiates Heap dump collection
Hello It is observed that when ever we initiate tomcat shutdown script, Heap Dumps are collected in catalina.out log file. 1. Is this a normal behavior ? Will it have any impacts on performance ? 2. Could you please let us know the configuration which triggers the heap dump collection ? Thanks Prakash -- View this message in context: http://www.nabble.com/Tomcat-shutdown-script-initiates-Heap-dump-collection-tp21421003p21421003.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org