Hi All, I facing a problem. My application sharing different application in different db respectively but in one Tomcat.
Sometime the application run until causing other application slow or login page cannot login ( cannot login mean the login page logging take a lot time ) I not sure where to troubleshoot it. Possible: 1. Tomcat setting problem 2. DB structure problem. Let's me trouble shoot at the tomcat level by increasing the RAM. My machine running Linux RED HAT 64 bit in uname -a Linux 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux RAM information total used free shared buffers cached Mem: 7977 7929 47 0 44 3461 -/+ buffers/cache: 4422 3554 Swap: 9983 0 9983 Question : 1. How to figure out that I running 32 bit or 64 bit JVM? Which file to look at? 2. When the system down, I ps aux | grep tomcat root 6393 9.3 33.0 3997772 2697592 ? Sl 09:28 8:23 /usr/java/jdk1.6.0_18/bin/java -Djava.util.logging.config.file=/var/lib/tomcat/conf/logging.properties -Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms2G -Xmx2G -XX:NewSize=512m -XX:MaxNewSize=512m -XX:PermSize=512m -XX:MaxPermSize=512m -XX:+DisableExplicitGC -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms512M -Xmx512M -XX:MaxPermSize=256M -Xms2G -Xmx2G -XX:MaxPermSize=1G -Djava .endorsed.dirs=/var/lib/tomcat/endorsed -classpath /var/lib/tomcat/bin/bootstrap.jar -Dcatalina.base=/var/lib/tomcat -Dcatalina.home=/var/lib/tomcat -Djava.io.tmpdir=/var/lib/tomcat/temp org.apache.catalina.startup.Bootstrap start I a bit confuse in this statement: -server -Xms2G -Xmx2G -XX:NewSize=512m -XX:MaxNewSize=512m -XX:PermSize=512m -XX:MaxPermSize=512m Is it the machine will run in 2G or 512m? Is it configure wrongly? -fsloke -- View this message in context: http://old.nabble.com/Tomcat-configuration.-tp30969135p30969135.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