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
> root     10959     1 19 14:57 pts/4    00:00:29 /appl/java/bin/java -Dnop
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> -Djava.endorsed.dirs=/appl/tomcat/endorsed -classpath
> /appl/tomcat/bin/bootstrap.jar:/appl/tomcat/bin/tomcat-juli.jar
> -Dcatalina.base=/appl/tomcat -Dcatalina.home=/appl/tomcat
> -Djava.io.tmpdir=/appl/tomcat/temp org.apache.catalina.startup.Bootstrap
> start
> 

If that's the output of grep after starting tomcat then you are in fact
seeing it.  Tomcat is a *java* application.  Hence it runs under java.

> do you know why ??
> 
> 
> Christopher Schultz-2 wrote:
> > 
> > -----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 -Xmx2048M -XX:Permsize=512m
> >> -XX:MaxPermsize=512m
> > 
> > If you only have 0.5GiB available, perhaps requesting a 2GiB heap
> > isn't wise.
> > 
> >> The current setting on the setenv.sh file is :
> >> CATALINA_OPTS=-Xmx4000M
> > 
> > Well, lowering it from 4GiB to 2 GiB will certainly help free up some
> > of your RAM.
> > 
> > If you only have a 2GiB machine, why bother running 64-bit?
> > 
> > - -chris
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> > Comment: GPGTools - http://gpgtools.org
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> > 
> > iEYEARECAAYFAk68AJEACgkQ9CaO5/Lv0PBL6wCfR7KU0u5uYtX57GBJOZd6oI49
> > hzYAoLOjPtnLyZjQ7bSoOVI/ti+LO9rC
> > =qUbu
> > -----END PGP SIGNATURE-----
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> > 
> > 
> > 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to