Here is my favorite:

jstat -gc <pid> 10000 3000

Attaches to a local Java process and prints all minor and major GC's. Usually 
more detailed than VisualVM.

Andrus

---------------
Andrus Adamchik
@andrus_a | @ApacheCayenne


> On Jan 24, 2016, at 10:19 PM, Maik Musall <m...@selbstdenker.ag> wrote:
> 
> Hi,
> 
> yes, I tried, but the documented log output would never appear anywhere in my 
> logs. These are the options I'm using:
> 
> -verbose:gc
> -XX:+PrintGCDetails
> -XX:+PrintGCDateStamps
> 
> Despite these settings, I can't see ANYTHING in the logs about GC. I don't 
> know what I'm doing wrong there?
> 
> Maik
> 
>> Am 24.01.2016 um 13:27 schrieb Bogdan Zlatanov <bogdan.zlata...@gmail.com>:
>> 
>> Hi,
>> 
>> Have you tried tracing the garbage collection -> 
>> https://docs.oracle.com/cd/E19159-01/819-3681/abeig/index.html?
>> 
>> Cheers,
>> Bogdan
>> 
>>> On 24/01/2016 13:01, Musall Maik wrote:
>>> Hi,
>>> 
>>> I have an application that often becomes laggy and shows slow responses 
>>> almost every day around 5 pm. The instance has daily scheduled restarts at 
>>> 5 am, so it occurs after 12 hours of use. When I restart it preemptively at 
>>> 3 pm, the problem does not occur. When I don't, users suffer bad response 
>>> times on many requests, but not all.
>>> 
>>> Users are computing heavy statistics in this application, instance size 
>>> (mostly snapshot cache) at that time is usually about 50 GByte, while Xmx 
>>> is 84 GByte, and XX:MaxPermSize is 1024m. The biggest instance size I've 
>>> seen so far in production is 61 GByte, so 50 seems not like a limit where 
>>> something weird happens.
>>> 
>>> CPU, memory, filesystem, database and network all show nothing special 
>>> before and after 5 pm. I monitored the instance with jvisualvm to no avail. 
>>> I've been searching for the reason for quite some time now, so I'd 
>>> appreciate any suggestion you might have what else to check.
>>> 
>>> Thanks
>>> Maik



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to