RE: Tomcat stability problem
nevermind. i didn't RTFM close enough. -Original Message- From: Torsten Fohrer [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 1:23 PM To: Tomcat Users List Subject: Re: Tomcat stability problem a simply performance switche for tomcat/jsp pages is the development init-param of jasper. cu Torsten Fohrer On Friday 27 December 2002 18:59, you wrote: 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=1 useURIValidationHack=false / - web.xml (on public site): session-config session-timeout10/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]
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=1 useURIValidationHack=false / - web.xml (on public site): session-config session-timeout10/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]
RE: Tomcat stability problem
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=1 useURIValidationHack=false / - web.xml (on public site): session-config session-timeout10/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]
Re: Tomcat stability problem
As much as I respect Remy's opinions, this looks very much like a typical GC delay. You might want to experiment with the 'incremental-gc' option on your JVM (the actual syntax varies by vendor: try 'java -help' to see which option to use). Remy Maucherat [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Ben Glorie wrote: 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 Before trying to look into this further, I would upgrade to Tomcat 4.1.18, and see if there are still problems. Remy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat stability problem
GC delay certainly sounds plausible, I'll try to set the -Xinccg option as suggested by Bill. We're running Linux 7.3 and Java 1.4.1_01. Is this combination also sensitive to SMP problems? If that would be the problem, what would I have to do? Thanks to you all for the suggestions so far, which have all been very helpful. -Original Message- From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 28, 2002 5:38 AM To: Tomcat Users List Subject: RE: Tomcat stability problem We're running Tomcat 4.1.12 on a dual-proc PIII with 512MB RAM. Which JVM and OS? You are running an SMP box. Sun JVM 1.4.0, for example, was notorious for SMP issues on linux. --- Noel -- 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]
Re: Tomcat stability problem
Hi, I'm using jdk 1.4.1 on redHat Linux, and -Xincgc didn't do that well. I was experimenting with java gc settings and -Xincgc dropped my overall performance about 75%. Maybe it works better with other JVM/OS combinations but it seems that when using linux one is best of with the -client VM and no fancy gc settings ( I also think that the incremental garbage collector would be enabled by default if it were any good) Beside incrementig -Xmx and -Xms I had great succcess with -XX:PermSize and -XX:MaxPermSize to resolve several memory issues I had when using to many distinct JSP-pages. llap, julian - Original Message - From: Ben Glorie [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, December 28, 2002 6:33 PM Subject: RE: Tomcat stability problem GC delay certainly sounds plausible, I'll try to set the -Xinccg option as suggested by Bill. We're running Linux 7.3 and Java 1.4.1_01. Is this combination also sensitive to SMP problems? If that would be the problem, what would I have to do? Thanks to you all for the suggestions so far, which have all been very helpful. -Original Message- From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 28, 2002 5:38 AM To: Tomcat Users List Subject: RE: Tomcat stability problem We're running Tomcat 4.1.12 on a dual-proc PIII with 512MB RAM. Which JVM and OS? You are running an SMP box. Sun JVM 1.4.0, for example, was notorious for SMP issues on linux. --- Noel -- 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]
Re: Tomcat stability problem
a simply performance switche for tomcat/jsp pages is the development init-param of jasper. cu Torsten Fohrer On Friday 27 December 2002 18:59, you wrote: 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=1 useURIValidationHack=false / - web.xml (on public site): session-config session-timeout10/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]
Re: Tomcat stability problem
Ben Glorie wrote: 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 Before trying to look into this further, I would upgrade to Tomcat 4.1.18, and see if there are still problems. Remy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat stability problem
We're running Tomcat 4.1.12 on a dual-proc PIII with 512MB RAM. Which JVM and OS? You are running an SMP box. Sun JVM 1.4.0, for example, was notorious for SMP issues on linux. --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]