murthy gandikota wrote:
Peter Crowther <[EMAIL PROTECTED]> wrote:    > From: murthy gandikota 
[mailto:[EMAIL PROTECTED]
We have a website based on embedded Tomcat with Jboss 4.0.2.
We noticed that every weekend the Tomcat becomes sluggish.

Backups? Congestion on the network due to a site that's only accessed heavily 
at weekends?
There are no backups. The website uses DB2 which is backed up infrequently. And all of our users use the site during business hours on weekdays.
We theorized that JVM is busy with garbage collection.
Is that realistic?

No. The JVM collects garbage at intervals measured in seconds or minutes, and 
takes milliseconds or seconds. It also doesn't know about weekends :-).

I forgot to mention that there is an apache/mod-jk load balancer in the front end. On weekends we end up restarting everything including apache and jboss.
Does anyone have any other suggestions?

I'd guess system maintenance of some kind. Is this on a physical server or a 
virtual one?

  There is no other system maintenance more than what I have mentioned. The 
Tomcat runs on a physical server. Heard a virtual server will be even slower.
- Peter

  Thanks
  Murthy
Just a SWAG: Maybe the traffic slows down so much that the database (if there is one) is timing out connections and dumping stuff from its cache, so that when people do hit it, the db has to create a new connection and read lots of stuff from disk, which was in RAM cache during the week?

D



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to