JVM出现频繁GC (Allocation Failure)及young gc时间过长分析

本文主要分析一个频繁GC (Allocation Failure)及young gc时间过长的case。

症状

  • gc throughput percent逐步下降,从一般的99.96%逐步下降,跌破99%,进入98%,最低点能到94%
  • young gc time逐步增加,从一般的十几毫秒逐步上升,突破50,再突破100,150,200,250
  • 在8.5天的时间内,发生了9000多次gc,其中full gc为4次,平均将近8秒,大部分是young gc(
    allocation failure为主
    ),平均270多毫秒,最大值将近7秒
  • 平均对象创建速率为10.63 mb/sec,平均的晋升速率为2 kb/sec,cpu使用率正常,没有明显的飙升

    jvm参数

    https://my.oschina.net/go4it/blog/1628795
本文结束啦感谢您的阅读

本文标题:JVM出现频繁GC (Allocation Failure)及young gc时间过长分析

文章作者:Smartfoot

原始链接:http://blog.bestsmartfoot.top/2018/08/20/a7/

许可协议: 署名-非商业性使用-禁止演绎 4.0 国际 转载请保留原文链接及作者。

公众号