Peter,
Thanks!  This is a very good idea.  I know that there are some virus scans
and other processes running at night.  I will do some monitoring to
determine if paging is the problem.  If it turns out to be so, is there
anything I can do to force it to not page out the JVM heap?

Thanks again,
-Bill


Peter Crowther wrote:
> 
>> From: Bill Clarke-Fields [mailto:[EMAIL PROTECTED] 
>> We are running an application on Tomcat 5.0.28 with Java 
>> 1.4.2.  The usage
>> of the application is very cyclical.  It is used heavily 
>> during the day, and
>> lightly at night.  During peak daytime hours, a full garbage 
>> collection
>> takes less than 2 seconds, which is fine.  However, after a 
>> long period of
>> inactivity in the evening, a full garbage collection will be 
>> triggered and
>> take a very long time.  Sometimes over a minute!
> 
> I suspect the app is being paged out overnight by other jobs.  Overnight
> virus scans will do this on Windows, for example, as the disk cache
> expands to fill available memory.
> 
> You could test this by running Performance Monitor (Windows) or your
> preferred logging tool (UNIX) overnight in log mode and looking for high
> page-in and disk I/O values around the time of the full GC.  For
> preference, use the Process counters on Windows, as they'll tell you for
> sure whether it's the Java process that's causing the paging traffic.
> 
>               - Peter
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Very-Long-Full-GC-after-Inactivity-tf4589459.html#a13118297
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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