Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 49430 invoked from network); 18 Jul 2007 15:02:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jul 2007 15:02:26 -0000 Received: (qmail 75825 invoked by uid 500); 18 Jul 2007 15:02:00 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 75799 invoked by uid 500); 18 Jul 2007 15:01:59 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 75783 invoked by uid 99); 18 Jul 2007 15:01:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jul 2007 08:01:59 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=INFO_TLD X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [80.12.242.96] (HELO smtp27.orange.fr) (80.12.242.96) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jul 2007 08:01:54 -0700 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2719.orange.fr (SMTP Server) with ESMTP id D79EA1C000B7 for ; Wed, 18 Jul 2007 17:01:31 +0200 (CEST) Received: from pc08 (LPuteaux-151-42-21-52.w193-252.abo.wanadoo.fr [193.252.108.52]) by mwinf2719.orange.fr (SMTP Server) with ESMTP id BB2271C00093 for ; Wed, 18 Jul 2007 17:01:29 +0200 (CEST) X-ME-UUID: 20070718150129766.BB2271C00093@mwinf2719.orange.fr From: =?iso-8859-1?Q?St=E9phane_Hanser?= To: "'Tomcat Users List'" References: <001101c7c86a$2396c340$0f00a8c0@siege.omegames.com> <002b01c7c873$c3c80b90$0f00a8c0@siege.omegames.com> <327858f40707170609u69f90386s312bf8341a5686a4@mail.gmail.com> <003101c7c874$68fc1160$0f00a8c0@siege.omegames.com> <327858f40707170636u47d0bf12w7dbd20f29be95ef0@mail.gmail.com> <003801c7c87e$668e6130$0f00a8c0@siege.omegames.com> <327858f40707170726r206285abscf2197b0ab98a39a@mail.gmail.com> <003901c7c880$a3d17210$0f00a8c0@siege.omegames.com> <008601c7c8bf$946feba0$cf0810ac@pcnet.koorong.com.au> <004d01c7c914$7f6e1c40$0f00a8c0@siege.omegames.com> <327858f40707180123i391ab715m7beed3beb5f38fe0@mail.gmail.com> Subject: RE: A lot of CPU used Date: Wed, 18 Jul 2007 17:04:00 +0200 Message-ID: <000301c7c94c$e1652c30$0f00a8c0@siege.omegames.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <327858f40707180123i391ab715m7beed3beb5f38fe0@mail.gmail.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Thread-Index: AcfJFZJWs3wS8bUZTUeieWgSzLF9tgANxcwg X-Virus-Checked: Checked by ClamAV on apache.org In fact I found why I don't have any catalina.out file. In my install, = all the logs go in /var/log/syslog=20 With the logs, I was able to find a non ending loop. I just need to try = it now ;) Thanks all St=E9phane -----Message d'origine----- De=A0: Leon Rosenberg [mailto:rosenberg.leon@googlemail.com]=20 Envoy=E9=A0: mercredi 18 juillet 2007 10:23 =C0=A0: Tomcat Users List Objet=A0: Re: A lot of CPU used well, again, go to http://tomcat.apache.org/download-55.cgi and download a working binary copy :-) regards Leon On 7/18/07, St=E9phane Hanser wrote: > Thanks for your link but it deals about webapp deployment. I do not = have any > deployment problem. It's about catalina.out. > > St=E9phane > > P.S. Leon, Sorry I didn't see your PS. Thanks for your proposal but = I'm not > able to give the access of our server. > > -----Message d'origine----- > De: Timothy Wonil Lee [mailto:timothyl@koorong.com.au] > Envoy=E9: mercredi 18 juillet 2007 00:13 > =C0: 'Tomcat Users List' > Objet: RE: A lot of CPU used > > If you are symlinking them, maybe this will help? > http://marc.info/?l=3Dtomcat-user&m=3D105159411609623&w=3D2 > > > Timothy Wonil Lee > -----Original Message----- > From: St=E9phane Hanser [mailto:s.hanser@omegames.com] > Sent: Wednesday, 18 July 2007 12:42 AM > To: 'Tomcat Users List' > Subject: RE: A lot of CPU used > > When I type "echo $CATALINA_BASE" nothing appears but in > /etc/default/tomcat5.5 it reads > > CATALINA_BASE=3D/var/lib/tomcat5.5 > > I did check and =3D/var/lib/tomcat5.5/logs is pointing to my > /var/log/tomcat5.5 directory > > -----Message d'origine----- > De: Leon Rosenberg [mailto:rosenberg.leon@googlemail.com] > Envoy=E9: mardi 17 juillet 2007 16:27 > =C0: Tomcat Users List > Objet: Re: A lot of CPU used > > have you checked where the $CATALINA_BASE is pointing to? > regards > Leon > > P.S. you can contact me off-list if you want me to login to your box > and play on it a bit :-) > > On 7/17/07, St=E9phane Hanser wrote: > > I did check. It seems good to me: > > > > elif [ "$1" =3D "start" ] ; then > > > > shift > > touch "$CATALINA_BASE"/logs/catalina.out > > if [ "$1" =3D "-security" ] ; then > > if [ "$gcj" =3D "yes" ]; then > > echo "The java-gcj-compat-dev environment currently doesn't support" > > echo "a security manager. Please check the TOMCAT5_SECURITY > variable" > > echo "in /etc/default/tomcat5.5." > > exit 1 > > fi > > echo "Using Security Manager" > > shift > > "$_RUNJAVA" $JAVA_OPTS $CATALINA_OPTS \ > > -Djava.endorsed.dirs=3D"$JAVA_ENDORSED_DIRS" -classpath = "$CLASSPATH" \ > > -Djava.security.manager \ > > = -Djava.security.policy=3D=3D"$CATALINA_BASE"/conf/catalina.policy \ > > -Dcatalina.base=3D"$CATALINA_BASE" \ > > -Dcatalina.home=3D"$CATALINA_HOME" \ > > -Djava.io.tmpdir=3D"$CATALINA_TMPDIR" \ > > org.apache.catalina.startup.Bootstrap "$@" start \ > > >> "$CATALINA_BASE"/logs/catalina.out 2>&1 & > > > > if [ ! -z "$CATALINA_PID" ]; then > > echo $! > $CATALINA_PID > > fi > > else > > "$_RUNJAVA" $JAVA_OPTS $CATALINA_OPTS \ > > -Djava.endorsed.dirs=3D"$JAVA_ENDORSED_DIRS" -classpath = "$CLASSPATH" \ > > -Dcatalina.base=3D"$CATALINA_BASE" \ > > -Dcatalina.home=3D"$CATALINA_HOME" \ > > -Djava.io.tmpdir=3D"$CATALINA_TMPDIR" \ > > org.apache.catalina.startup.Bootstrap "$@" start \ > > >> "$CATALINA_BASE"/logs/catalina.out 2>&1 & > > > > if [ ! -z "$CATALINA_PID" ]; then > > echo $! > $CATALINA_PID > > fi > > fi > > > > > > > > -----Message d'origine----- > > De: Leon Rosenberg [mailto:rosenberg.leon@googlemail.com] > > Envoy=E9: mardi 17 juillet 2007 15:37 > > =C0: Tomcat Users List > > Objet: Re: A lot of CPU used > > > > you may want to check your catalina.sh (i hope you have one) where = the > > output goes. > > > > On 7/17/07, St=E9phane Hanser wrote: > > > Lol. No I typed the right word. There is no file ended by .out on = the > > > machine. > > > > > > -----Message d'origine----- > > > De: Leon Rosenberg [mailto:rosenberg.leon@googlemail.com] > > > Envoy=E9: mardi 17 juillet 2007 15:10 > > > =C0: Tomcat Users List > > > Objet: Re: A lot of CPU used > > > > > > maybe because it is called catalina.out? > > > :-) > > > > > > On 7/17/07, St=E9phane Hanser wrote: > > > > I didn't install it myself. We hired a system admin for one day = to set > > up > > > > our server. But I'm quite positive that it was installed from = the > debian > > > > package. It isn't one the server: when I "locate Catalina.out" I don't > > get > > > > any result. > > > > > > > > -----Message d'origine----- > > > > De: Leon Rosenberg [mailto:rosenberg.leon@googlemail.com] > > > > Envoy=E9: mardi 17 juillet 2007 15:04 > > > > =C0: Tomcat Users List > > > > Objet: Re: A lot of CPU used > > > > > > > > have you installed tomcat from debian package or from the binary > > > > distribution from tomcat.apache.org > > > > > > > > if first is the case your log file is probably somewhere under > /var/log. > > > > > > > > regards > > > > Leon > > > > > > > > > > > > P.S. take the distribution from tomcat.apache.org for safety. > > > > > > > > On 7/17/07, St=E9phane Hanser wrote: > > > > > Thanks, that seemes great. However I don't know why but there = is no > > > > > catalina.out on my server. How should I configure tomcat in = order to > > log > > > > in > > > > > this file? > > > > > > > > > > St=E9phane > > > > > > > > > > -----Message d'origine----- > > > > > De: Leon Rosenberg [mailto:rosenberg.leon@googlemail.com] > > > > > Envoy=E9: mardi 17 juillet 2007 14:12 > > > > > =C0: Tomcat Users List > > > > > Objet: Re: A lot of CPU used > > > > > > > > > > thread dump: > > > > > kill -QUIT tomcat_pid > > > > > > > > > > regards > > > > > Leon > > > > > > > > > > On 7/17/07, St=E9phane Hanser wrote: > > > > > > Hello all, > > > > > > > > > > > > > > > > > > > > > > > > I'm running a web application on a tomcat 5.5 server (jvm = 1.5, > > debian > > > 4) > > > > > and > > > > > > it uses a lot of CPU resources. It seems that the charge = keeps > > > growing, > > > > > > regardless the number of users. So I suspect a non-ending routing > > > > running > > > > > > but I don't know how to locate it. So here is my question: = is > tomcat > > > > able > > > > > to > > > > > > tell me which instructions are running? Otherwise, how may I find > > the > > > > > reason > > > > > > of this charge? > > > > > > > > > > > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > > > > > > > > > S. Hanser > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To start a new topic, e-mail: users@tomcat.apache.org > > > > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > > > > > For additional commands, e-mail: users-help@tomcat.apache.org > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To start a new topic, e-mail: users@tomcat.apache.org > > > > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > > > > > For additional commands, e-mail: users-help@tomcat.apache.org > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To start a new topic, e-mail: users@tomcat.apache.org > > > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > > > > For additional commands, e-mail: users-help@tomcat.apache.org > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To start a new topic, e-mail: users@tomcat.apache.org > > > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > > > > For additional commands, e-mail: users-help@tomcat.apache.org > > > > > > > > > > > > > > = --------------------------------------------------------------------- > > > To start a new topic, e-mail: users@tomcat.apache.org > > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > > > For additional commands, e-mail: users-help@tomcat.apache.org > > > > > > > > > > > > > > > = --------------------------------------------------------------------- > > > To start a new topic, e-mail: users@tomcat.apache.org > > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > > > For additional commands, e-mail: users-help@tomcat.apache.org > > > > > > > > > > = --------------------------------------------------------------------- > > To start a new topic, e-mail: users@tomcat.apache.org > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > > For additional commands, e-mail: users-help@tomcat.apache.org > > > > > > > > > > = --------------------------------------------------------------------- > > To start a new topic, e-mail: users@tomcat.apache.org > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > > For additional commands, e-mail: users-help@tomcat.apache.org > > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > > !DSPAM:469cd4fc314541804284693! > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org