Hi All,
We've been running Tomcat for over 6 months on several farmed servers
(linux) without any major problems. We serve out hundreds of thousands of
JSPs a day and some days it crosses millions. We normally do monthly
reboots of the server, but we do restart Apache every hour and only restart
Tomcat when releasing new builds.
I have seen the servers come to a halt, but this is usually caused by our
db connections being held up. When that happens the Tomcat processes
escalate > 400, and then the Apache processes escalate > 500. This brings
the machine to its knees. Fixing db bottlenecks and taking all static
content off the application servers fixed those problems.
Maybe we've just been lucky.......
- dave
At 04:12 PM 4/11/2001, Brandon Cruz wrote:
>So the only success story we have is someone that reboots their server every
>5-6 days anyway. Could this problem be related to the previous message sent
>by George?
>
>
>
><paste>
>hi,
>
>i'm using tomcat with apache on RedHat 7.0
>
>i'm using a WebPerformance software to test my webpage with multiple users
>(100 users)
>
>in the beginning it all works good but after about 15 minutes of stress test
>i start getting this error with tomcat .
>***************************************************
>HANDLER THREAD PROBLEM: java.lang.NullPointerException
>java.lang.NullPointerException
> at
>org.apache.tomcat.service.connector.AJP12ResponseAdapter.sendStatus(Ajp12Con
>nectionHandler.java:439)
> at
>org.apache.tomcat.service.http.HttpResponseAdapter.endHeaders(HttpResponseAd
>apter.java(Compiled Code))
> at
>org.apache.tomcat.core.BufferedServletOutputStream.sendHeaders(BufferedServl
>etOutputStream.java:127)
> at
>org.apache.tomcat.core.BufferedServletOutputStream.reallyFlush(BufferedServl
>etOutputStream.java(Compiled Code))
> at
>org.apache.tomcat.core.ResponseImpl.finish(ResponseImpl.java(Compiled Code))
> at
>org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
>(Ajp12ConnectionHandler.java:158)
> at
>org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java(Com
>piled Code))
>***************************************************
>
>Does anyone know what may have caused this error and is there anyway to fix
>it ?
>
>thanks
>Georges
>
></paste>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> > -----Original Message-----
> > From: Andy C [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 11, 2001 3:12 PM
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: Fed up to the back teeth with tomcat !!!
> >
> >
> > I am fed up to the back teeth with Tomcat under Apache. I'm
> > trying to run
> > a 24/7 web page servinbg around 20,000 .jsp pages a day and I'v ehad
> > to reset the damn server 3 times today already.
> >
> > It keeps falling over
> > ****with absolutly no error *** log messages at all. I am
> > at my wits end,
> > not
> > to mention my poor users who have had to put up with this
> > service for the
> > past month. I am totaly lost now as to where to look for solutions
> >
> > So can someone please recomend a good webserver that will run .jsp and
> > servlets pages and integrates well with a SQL server ? I used to
> > run Java Webserver 2.0 would going back to that help ?
> >
> > Andy C
> > Editor R2 Project
> > http://www.r2-dvd.org
> > (lets hopr you don't see a 500 internal error message.)
> >