Re: JVM config for tomcat7.0.19

2011-11-11 Thread celtic man
: users-h...@tomcat.apache.org -- [key:62590808] -- View this message in context: http://old.nabble.com/JVM-config-for-tomcat7.0.19-tp32819635p32826835.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: JVM config for tomcat7.0.19

2011-11-11 Thread Tim Watts
On Thu, 2011-11-10 at 12:02 -0800, celtic man wrote: Thanks a lot for the quick response.. So i have updated the setenv.sh with -Xms2048M -Xmx2048M -XX:Permsize=512m -XX:MaxPermsize=512m and restarted tomcat.. but when i grep for tomcat process i don't see it .. ps -ef | grep tomcat

Re: JVM config for tomcat7.0.19

2011-11-11 Thread Tim Watts
On Fri, 2011-11-11 at 08:40 -0800, celtic man wrote: Is this JAVA setting below OK ? cat /proc/meminfo MemTotal: 4149124 kB MemFree:457884 kB 4Gb total memory on the linux box and have 0.4GB free memory and I think MemFree misleading. Don't quote me but I think you have to

Re: JVM config for tomcat7.0.19

2011-11-11 Thread Pid
On 11/11/2011 16:40, celtic man wrote: Is this JAVA setting below OK ? cat /proc/meminfo MemTotal: 4149124 kB MemFree:457884 kB 4Gb total memory on the linux box and have 0.4GB free memory and tomcat(6.0.18) running with below : JAVA_OPTS=-Xmx2000M so that i.e 1.9GB ??

Re: JVM config for tomcat7.0.19

2011-11-11 Thread celtic man
] -- [key:62590808] -- View this message in context: http://old.nabble.com/JVM-config-for-tomcat7.0.19-tp32819635p32827354.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: JVM config for tomcat7.0.19

2011-11-11 Thread Andrew Todd
On Fri, Nov 11, 2011 at 12:59 PM, celtic man dheerajman...@hotmail.comwrote: we have JAVA_OPTS set in catalina.sh start_tomcat - /usr/local/scripts/start_tomcat stop_tomcat - /usr/local/tomcat/bin/shutdown.sh MemTotal: 4149124 kB MemFree:381644 kB Buffers:106832 kB

Re: JVM config for tomcat7.0.19

2011-11-11 Thread Mark Eggers
- Original Message - From: celtic man dheerajman...@hotmail.com To: users@tomcat.apache.org Cc: Sent: Friday, November 11, 2011 8:40 AM Subject: Re: JVM config for tomcat7.0.19 Is this JAVA setting below OK ? cat /proc/meminfo MemTotal:      4149124 kB MemFree

Re: JVM config for tomcat7.0.19

2011-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Celtic, On 11/10/11 8:01 AM, celtic man wrote: Can i set the below parameters on the setenv.sh? Sure. application running on tomcat7.0.19 on linux 64 bit with 2GB total memory and 0.5 GB available memory on the machine. JAVA_OPTS=-Xms2048M

Re: JVM config for tomcat7.0.19

2011-11-10 Thread celtic man
...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://old.nabble.com/JVM-config-for-tomcat7.0.19-tp32819635p32821446.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: JVM config for tomcat7.0.19

2011-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Celtic, On 11/10/11 12:02 PM, celtic man wrote: So i have updated the setenv.sh with -Xms2048M -Xmx2048M -XX:Permsize=512m -XX:MaxPermsize=512m and restarted tomcat.. Where is setenv.sh located? Can you give us the full contents of that file?

Re: JVM config for tomcat7.0.19

2011-11-10 Thread Igor Cicimov
JAVA_OPTS=-Xms2048M -Xmx2048M -XX:Permsize=512m -XX:MaxPermsize=512m You are allocating here 2.5GB of memory to tomcat ... how do you expect it to start on a box with 2GB in total of which only 500MB are available? On Fri, Nov 11, 2011 at 8:25 AM, Christopher Schultz

Re: JVM config for tomcat7.0.19

2011-11-10 Thread Pid
On 10/11/2011 22:45, Igor Cicimov wrote: JAVA_OPTS=-Xms2048M -Xmx2048M -XX:Permsize=512m -XX:MaxPermsize=512m You are allocating here 2.5GB of memory to tomcat ... how do you expect it to start on a box with 2GB in total of which only 500MB are available? +1 It's the perfect way to