You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/04/10 05:04:13 UTC

[GitHub] [skywalking] wangdafang commented on issue #4630: [Significant BUG]Spring Annotation Plugins Makes FULLGC Without Stop

wangdafang commented on issue #4630: [Significant BUG]Spring Annotation Plugins Makes FULLGC Without Stop
URL: https://github.com/apache/skywalking/issues/4630#issuecomment-611879275
 
 
   > For agent, the description is not clear. Please do some research about which objects cause the memory usage increase. One guess, as you are using annotation plugin, more classes will be generated, Please make sure you have even perm size.
   > 
   > For backend, Id is generated in the register process, if that never successes, It must be something else wrong.
   
   [Supplement]
   Agent version is 6.6.2
   When the jvm-OLD is 100%,execute 'jmap -histo pid',and receive
    num     #instances         #bytes  class name
   ----------------------------------------------
      1:      48297953     5118173992  [C
      2:      38587050     2160874800  org.apache.skywalking.apm.network.register.v2.Endpoint
      3:      44771449     1074514776  java.lang.String
      4:       3246315      761023720  [B
      5:        972883      334963928  [Ljava.lang.Object;
      6:        622864      236176640  [I
      7:       5788779      231551160  sun.nio.cs.UTF_8$Decoder
      8:        942953      114192712  [Ljava.util.HashMap$Node;
      9:       1904315       91407120  org.apache.skywalking.apm.network.register.v2.EndpointMappingElement
     10:       2546854       81499328  java.util.HashMap$Node
   
   execute 'jstat -gcutil pid'
   S0     S1     E      O      M     CCS    YGC     YGCT    FGC    FGCT     GCT   
     0.00 100.00 100.00 100.00  97.17  93.43     14    5.029    37  128.189  133.219
     0.00  26.51 100.00 100.00  97.17  93.43     14    5.029    37  143.384  148.413
     0.00  34.17 100.00 100.00  97.17  93.43     14    5.029    37  143.384  148.413
     0.00  35.71 100.00 100.00  97.17  93.43     14    5.029    38  143.384  148.413
   
   execute jps -lmvV
   pid org.apache.skywalking.oap.server.starter.OAPServerStartUp -Xms12g -Xmn6g -Xmx12g -XX:SurvivorRatio=8 -XX:MetaspaceSize=1024M -XX:MaxMetaspaceSize=1024M -XX:+UseConcMarkSweepGC -XX:CMSMaxAbortablePrecleanTime=5000 -XX:+CMSClassUnloadingEnabled -XX:CMSInitiatingOccupancyFraction=80 -XX:+UseCMSInitiatingOccupancyOnly -XX:+ExplicitGCInvokesConcurrent -Xloggc:/logs/oap/gc.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Doap.logDir=/sw/apache-skywalking-apm-bin/logs

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services