garbage collection - Java CMS GC, GC threads taking CPU when system is idle - Stack Overflow
And we see that the following GC threads take up CPU (around 15% overall) even though:
- there is no activity in the system,
- no other threads are active except these and this continues for 48 hours and the system at this time was under 0 load.
- the system was under 0 load also for the previous 24 hours and then these threads became active
- when these threads were active and taking up CPU, the preceding lines were printed in the gc.log
- this continued for 2 days and when we finally put load by invoking the web application in this JVM for 5 minutes and then it all stopped. We noticed that these threads are no longer taking CPU (they are taking <1 %) now. The problem seems to have resolved itself once a FULL GC happens. The FULL GC happened after the system was put under load.
- In short, the GC threads continued taking 15% CPU when the system was under 0 load for 48 hours.
Read full article from garbage collection - Java CMS GC, GC threads taking CPU when system is idle - Stack Overflow
No comments:
Post a Comment