For you xmx: i guess bad default values that are too small regarding to heap size. This is probably due to your OS ocnfiguration at some point. Did you install java using distribution provided packages or sun packages?
For you Processes, this comes from old kernel. At some point in the past, in linux, Thread where just considered special cases of Processes and tools didn't make the difference between them. So each thread had it's own pid. If that bother you, upgrade kernel version. 2.6.9 is nearly 3 years olds. En l'instant précis du 17/10/07 15:39, thebugslayer s'exprimait en ces termes: > Hi, > > This might be more of java/linux related question, but since it > happens with Tomcat server, and with a knowledgeable user list like > this one, I thought I might give a shot for a explanation. > > I have a dedicated host server running: > $ uname -a > Linux batcomputer.com 2.6.9-023stab033.7-enterprise #1 SMP Wed Nov 15 > 14:58:00 MSK 2006 i686 i686 i386 GNU/Linux > > First strange case: > I installed jdk6, but I must run with -Xmx options or else it fails. > $ java -version > Error occurred during initialization of VM > Could not reserve enough space for object heap > Could not create the Java virtual machine. > $ java -Xms32m -Xmx64m -version > java version "1.6.0_03" > Java(TM) SE Runtime Environment (build 1.6.0_03-b05) > Java HotSpot(TM) Server VM (build 1.6.0_03-b05, mixed mode) > > Second strange case: > When I start tomcat using /opt/tomcat/bin/catalina.sh start, I get 21 > processes that running the same command(different PIDs). And my tomcat > instance seems to run fine without problem. When I kill one of the > process, the rest will go down as well. > > Here are 2 out of 21 process list I got... > thebugslayer 7346 0.0 1.9 255680 121612 ? S Oct16 0:00 > /opt/java/bin/java -client -Xms32m -Xmx64m > -Djava.endorsed.dirs=/opt/tomcat/endorsed -classpath > :/opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/commons-logging-api.jar > -Dcatalina.base=/opt/tomcat -Dcatalina.home=/opt/tomcat > -Djava.io.tmpdir=/opt/tomcat/temp > org.apache.catalina.startup.Bootstrap start > thebugslayer 7347 0.0 1.9 255680 121612 ? S Oct16 0:00 > /opt/java/bin/java -client -Xms32m -Xmx64m > -Djava.endorsed.dirs=/opt/tomcat/endorsed -classpath > :/opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/commons-logging-api.jar > -Dcatalina.base=/opt/tomcat -Dcatalina.home=/opt/tomcat > -Djava.io.tmpdir=/opt/tomcat/temp > org.apache.catalina.startup.Bootstrap start > .. > > Has anyone has this happen to them before? > > -- http://www.devlog.be (a belgian developer's logs) --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]