Chris, I agree that it looks weird. I sometimes can se the perl process running but not at this moment. When we start tomcat then we get the 19966 process owned by root and the child process 19967. The others turns up later as childs to 19967. I don't see any process run by java!
Thanks /Gunnar > -----Ursprungligt meddelande----- > Från: Christopher Schultz [mailto:ch...@christopherschultz.net] > Skickat: den 20 februari 2009 14:24 > Till: Tomcat Users List > Ämne: Re: SV: SV: SV: When will tomcat 5.5.25 spawn a new process > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Gunnar, > > On 2/20/2009 2:49 AM, gunnar.bost...@tieto.com wrote: > > But I don't get any output from the "daemon" processes, but > I do get > > it from the tomcat process that consumes cpu > > > > I think that the "daemon" processes runs java. > > ps -ef | grep tomcat > > serfapp 15158 19967 0 09:38:19 ? 0:00 > /usr/local/tomcat/bin/jsvc -jvm server -user serfapp -home > /usr/local/java -Dca > > root 19966 1 0 22:23:39 ? 0:00 > /usr/local/tomcat/bin/jsvc -jvm server -user serfapp -home > /usr/local/java -Dca > > serfapp 16888 19967 0 10:19:37 ? 0:00 > /usr/local/tomcat/bin/jsvc -jvm server -user serfapp -home > /usr/local/java -Dca > > serfapp 18086 19967 0 10:50:36 ? 0:00 > /usr/local/tomcat/bin/jsvc -jvm server -user serfapp -home > /usr/local/java -Dca > > serfapp 18690 18518 0 11:05:18 pts/1 0:00 grep tomcat > > serfapp 14746 19967 0 09:25:56 ? 0:00 > /usr/local/tomcat/bin/jsvc -jvm server -user serfapp -home > /usr/local/java -Dca > > serfapp 14741 19967 0 09:24:54 ? 0:00 > /usr/local/tomcat/bin/jsvc -jvm server -user serfapp -home > /usr/local/java -Dca > > serfapp 19967 19966 0 22:23:39 ? 67:14 > /usr/local/tomcat/bin/jsvc -jvm server -user serfapp -home > /usr/local/java -Dca > > serfapp 15917 19967 0 09:55:52 ? 0:00 > /usr/local/tomcat/bin/jsvc -jvm server -user serfapp -home > /usr/local/java -Dca > > serfapp 17357 19967 0 10:34:05 ? 0:00 > /usr/local/tomcat/bin/jsvc -jvm server -user serfapp -home > /usr/local/java -Dca > > This is a weird-looking 'ps' output. I would expect to see a > /single/ process named 'jsvc', a bunch of processes running > 'java' and then maybe some processes running your external > CGI (perl, bash, etc.). > > Obviously, you've run "grep tomcat" to filter the ps listing > so it might not be showing those other things. > > jsvc should be claiming port numbers, then calling fork/exec > exactly once, replacing the child jsvc process with the java > process... there shouldn't be that many jsvc processes lying > around. <shrug> > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkmertkACgkQ9CaO5/Lv0PAZlwCgkKi0vaQZibSo1oO0RGfzyb68 > I60AoLCTzmS/xgyZ10B/M/05Up2qUxhM > =j0Xb > -----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