This happens anywhere between a few hours and a few days after a restart of
Tomcat. On quiet days as well as on busy days.

I have set -Xincgc (despite the performance decrease that this is likely to
cause) but need more time to know if that helps. I have also found a few
places where I can improve my code (in particular, database connections were
sometimes not closed); perhaps that will also have a positive effect.

-----Original Message-----
From: Jim D. Results [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 2:39 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Tomcat stability problem


Could be the VM garbage collecting ?
How often does this happen ?
Jim D.

----- Original Message -----
From: "Ben Glorie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 27, 2002 12:59 PM
Subject: Tomcat stability problem


> We're running Tomcat 4.1.12 on a dual-proc PIII with 512MB RAM. The
> application consists of 100,000+ HTML pages and approx. 100 jsp pages. We
> get approx. 60,000 page views per day. Performance is fine, but
occasionally
> the system runs into the following problem:
>
> - when you request a jsp page in the browser, there is a delay of 5-10
> seconds, then the page is loaded into the browser
> - even though the HTML code is complete and all images are visible, the
> browser still appears to be loading something ("load" bar is creeping)
> - then after approx. 30 seconds the loading stops (because of a page
> timeout?)
> - static HTML pages are not affected, they load as quickly as usual
>
> Although the problem seems to happen more frequently on busy days, it does
> not seem to be related to peak traffic: it has also happened at quiet
times,
> and sometimes within an hour after a Tomcat restart (up to 4 days after a
> restart). Does anybody have any ideas on what is happening and how we can
> solve it? Some configuration details:
>
> - catalina.sh:
> CATALINA_OPTS="-Xmx128M"
> (we've ordered more RAM, as soon as it has arrived we're planning to
change
> this to -Xmx512M
>
> - server.xml:
>     <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
>                port="80" minProcessors="10" maxProcessors="110"
>                enableLookups="true" redirectPort="8443"
>                acceptCount="10" debug="0" connectionTimeout="10000"
>                useURIValidationHack="false" />
>
> - web.xml (on public site):
>     <session-config>
>      <session-timeout>10</session-timeout>
>     </session-config>
>
> Thanks a lot for your help.
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to