tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stéphane Hanser <s.han...@omegames.com>
Subject RE: A lot of CPU used
Date Wed, 18 Jul 2007 15:04:00 GMT
In fact I found why I don't have any catalina.out file. In my install, all
the logs go in /var/log/syslog 

With the logs, I was able to find a non ending loop. I just need to try it
now ;)

Thanks all

Stéphane

-----Message d'origine-----
De : Leon Rosenberg [mailto:rosenberg.leon@googlemail.com] 
Envoyé : mercredi 18 juillet 2007 10:23
À : Tomcat Users List
Objet : 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éphane Hanser <s.hanser@omegames.com> wrote:
> Thanks for your link but it deals about webapp deployment. I do not have
any
> deployment problem. It's about catalina.out.
>
> Stéphane
>
> 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é: mercredi 18 juillet 2007 00:13
> À: 'Tomcat Users List'
> Objet: RE: A lot of CPU used
>
> If you are symlinking them, maybe this will help?
> http://marc.info/?l=tomcat-user&m=105159411609623&w=2
>
>
> Timothy Wonil Lee
> -----Original Message-----
> From: Stéphane 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=/var/lib/tomcat5.5
>
> I did check and =/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é: mardi 17 juillet 2007 16:27
> À: 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éphane Hanser <s.hanser@omegames.com> wrote:
> > I did check. It seems good to me:
> >
> > elif [ "$1" = "start" ] ; then
> >
> >   shift
> >   touch "$CATALINA_BASE"/logs/catalina.out
> >   if [ "$1" = "-security" ] ; then
> >     if [ "$gcj" = "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="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH"
\
> >       -Djava.security.manager \
> >       -Djava.security.policy=="$CATALINA_BASE"/conf/catalina.policy \
> >       -Dcatalina.base="$CATALINA_BASE" \
> >       -Dcatalina.home="$CATALINA_HOME" \
> >       -Djava.io.tmpdir="$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="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH"
\
> >       -Dcatalina.base="$CATALINA_BASE" \
> >       -Dcatalina.home="$CATALINA_HOME" \
> >       -Djava.io.tmpdir="$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é: mardi 17 juillet 2007 15:37
> > À: 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éphane Hanser <s.hanser@omegames.com> 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é: mardi 17 juillet 2007 15:10
> > > À: Tomcat Users List
> > > Objet: Re: A lot of CPU used
> > >
> > > maybe because it is called catalina.out?
> > > :-)
> > >
> > > On 7/17/07, Stéphane Hanser <s.hanser@omegames.com> 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é: mardi 17 juillet 2007 15:04
> > > > À: 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éphane Hanser <s.hanser@omegames.com> 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éphane
> > > > >
> > > > > -----Message d'origine-----
> > > > > De: Leon Rosenberg [mailto:rosenberg.leon@googlemail.com]
> > > > > Envoyé: mardi 17 juillet 2007 14:12
> > > > > À: Tomcat Users List
> > > > > Objet: Re: A lot of CPU used
> > > > >
> > > > > thread dump:
> > > > > kill -QUIT tomcat_pid
> > > > >
> > > > > regards
> > > > > Leon
> > > > >
> > > > > On 7/17/07, Stéphane Hanser <s.hanser@omegames.com> 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


Mime
View raw message