garbagecat
garbagecat copied to clipboard
Parses Java garbage collection logging and analyzes collectors, safepoint triggers, JVM version, JVM options, and OS information and reports error/warn/info level analysis and recommendations to suppo...
Create smaller image (e.g. JDK11 build with jlink).
Hi, I was wondering how possible it would be for me to use garbagecat as a solution to monitor GC statistics in real-time. I have a web server running, which...
[89.242s][info][gc,stats ] Total Pauses (G) = 4.28 s (a = 511 us) (n = 8373) (lvls, us = 54, 156, 336, 510, 53832) [89.242s][info][gc,stats ] Total Pauses (N) = 2.38...
Other is part of the safepoint, but the time is not included in the "gc,cpu" end time block. [2022-10-09T13:16:39.707+0000][3783.195s][debug][gc,heap ] GC(9) Heap before GC invocations=9 (full 0): garbage-first heap total...
Track G1 external root scanning time for analysis. For example: https://access.redhat.com/solutions/6976511
There were more that 1000, mostly 'debug', but also 'info' level. `[2024-02-01T11:09:50.737+0000][0.011s][debug][gc ] ConcGCThreads: 3 offset 29 [2024-02-01T11:09:50.737+0000][0.011s][debug][gc ] ParallelGCThreads: 13 [2024-02-01T11:09:50.737+0000][0.011s][debug][gc ] Initialize mark stack with 4096 chunks, maximum...
Garbagecat cannot handle hostname decorator: `-Xlog:gc*=debug,safepoint,age*:file=/somepath/gclog.log:hostname,utctime,uptime,level,tags:filecount=10,filesize=1G` Run with: `docker run -v "$PWD":/home/garbagecat/files:z garbagecat:latest --console -p -j "-Xms18432m -Xmx18432m -XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError -XX:+ParallelRefProcEnabled -XX:+PreserveFramePointer -XX:+UseG1GC -XX:+UseNUMA -XX:+UseStringDeduplication -XX:-AlwaysPreTouch -XX:CodeCacheExpansionSize=1048576 -XX:CompileThreshold=3000 -XX:ErrorFile=/somepath/hs_err_pid%p.log -XX:HeapDumpPath=/somepath...
*The number of compiler threads is set with -XX:CICompilerCount=N. Unless multiple JVMs and/or processes are collocated and competing for resources, it's generally best to remove this option and let JVM...