-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rodrigo,
On 3/1/2011 9:17 AM, Rodrigo Asensio wrote: > Debian 5 > Tomcat 6 with authbind as described here > http://blogs.mulesoft.org/a-better-tomcat-for-ubuntu-and-debian/ > > <http://blogs.mulesoft.org/a-better-tomcat-for-ubuntu-and-debian/>now.. I'm > starting the tomcat with Xmx700m and the /mananger/html shows only 12x as > max What does "12x max" mean? > Free memory: 33.84 MB Total memory: 81.06 MB Max memory: 125.93 MB > > But in the server, the java process (using top) shows that it consumes up to > 700m, which is OK. Top shows more than the heap size, which is what you are setting when you use the -Xm settings. > But.. the past few days it started to fail when memory > eater request run (never happened before) > > Is tomcat running really with 128mb instead my 700m ? Does anyone have an > idea about this issue ? Looks like it. Try this: $ ps aux | grep catalina This should show you the complete command-line for launching Tomcat, including all JVM settings provided on the command-line. For instance, mine looks like this: cschultz 11436 0.0 1.1 244100 83280 pts/3 Sl Feb01 16:58 /usr/bin/java -Dnop -Xmx64M - -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager - -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=true - -Djava.endorsed.dirs=/home/cschultz/projects/apache-tomcat-7.0.x/trunk/output/build/endorsed - -classpath /home/cschultz/projects/apache-tomcat-7.0.x/trunk/output/build/bin/bootstrap.jar:/home/cschultz/projects/apache-tomcat-7.0.x/trunk/output/build/bin/tomcat-juli.jar - -Dcatalina.base=/home/cschultz/.webapps/multipart/8275 - -Dcatalina.home=/home/cschultz/projects/apache-tomcat-7.0.x/trunk/output/build - -Djava.io.tmpdir=/home/cschultz/.webapps/multipart/8275/temp org.apache.catalina.startup.Bootstrap start You can see that I have specified "-Xmx64M" somewhere in my configuration. Check to see if your command-line has that type of configuration in there. If it's not there, then you have not configured Tomcat as you think you have. Are you using Debian's Tomcat 6 package, or are you running one downloaded directly from the Apache web site? If you are using Debian's package, there are a lot of config files and scripts that run that might be either overriding your settings, or you may not be editing the right file. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1tDqAACgkQ9CaO5/Lv0PAqmACeMvWUAYmrZNhkgOUqicRa/xEu +CUAn0UqG3Rw3MjOqJonrcEO/anE9PmT =qaqJ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org