are you sure tomcat is taking 100% of the cpu and not
IIS(inetinfo). I'm assuming you have IIS since you
have a c:\inetpub directory. the Code Red worm can
have this effect on IIS.

Charlie

> -----Original Message-----
> From: Joe Clem [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 03, 2001 3:19 PM
> To: [EMAIL PROTECTED]
> Subject: Re: CPU going to 100%
> 
> 
> 
> Perhaps I misunderstood about a properly configured 
> server.xml file with a root
> context.
> 
> Here is what I put in my server.xml to get what I
thought was 
> a root context.
> 
> <Context path="/"
>               docBase="c:\inetpub\wwwroot
>              crossContext="false"
>              debug="0"
>             reloadable="true"
> </Context>
> 
> I still get 100% cpu usage.
> 
> Hopefully I just misunderstood and someone can
clarify.
> 
> Thanks.
> 
> Joe
> 
> Andrew Robson wrote:
> 
> > Hi,
> >   Following is taken from the readme for 3.2 and
is probably
> > what the person was referring to
> >
> > "6.11 Misconfiguration Can Cause CPU-Bound Loop
> >
> > If you misconfigure Tomcat 3.2 in a way that there
is no 
> valid context to
> > handle a request (such as removing the root
context and 
> then attempting a
> > request that should be handled by that context),
Tomcat 
> will enter a CPU-bound
> > loop instead of responding with a 404 error.
> >
> > Workaround:  kill the offending Tomcat process and
correct 
> your server.xml
> > file such that there is a properly configured root
context."
> >
> > Haven't checked whether this is still an issue for
3.2.3 
> but at least you
> > know now where this advice is coming from even if
it 
> doesn't help ;-)
> >
> > andrew
> >
> > On Fri, 03 Aug 2001, you wrote:
> > > I know there have been some discussion a few
weeks ago.  
> That is when I
> > > was just getting started with tomcat.  A person
refered 
> to the a section
> > > in the readme file 6.11.  My readme file 6.11
deals with 
> SSL and APJ12?
> > >
> > > My problem is that 100% of my cpu is taken up
after 
> tomcat has been
> > > running for a while.
> > >
> > > tomcat v3.2.3
> > > iis
> > > nt4
> > >
> > > If the answer should be in the documentation
please point 
> me in the
> > > right direction, but it is not in the readme
file under 6.11
> > >
> > > Thanks.
> > >
> > > Joe
> > --
> 

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Reply via email to