java - JVM/App just pauses indefinitely -
java - JVM/App just pauses indefinitely -
i having weird problem application pauses. have looked @ cpu consumption, eden & tenured heap way under max limit.
sudo /usr/java/jdk1.7.0_60/bin/jstat -gc 19656 10000 s0c s1c s0u s1u ec european union oc ou pc pu ygc ygct fgc fgct gct 273024.0 273024.0 0.0 47919.3 2184576.0 457104.3 5461376.0 2920470.4 39932.0 23950.2 1094 926.334 348 338.201 1264.535 273024.0 273024.0 0.0 47919.3 2184576.0 457172.3 5461376.0 2920470.4 39932.0 23950.2 1094 926.334 348 338.201 1264.535 but observe series of parnew collections (the below log messages) in gc outputs before when app gets stuck:
24676.082: [gc24676.082: [parnew desired survivor size 139788288 bytes, new threshold 1 (max 6) - age 1: 178588280 bytes, 178588280 total : 2184576k->273024k(2457600k), 0.2795420 secs] 4892724k->2981179k(7918976k), 0.2797780 secs] [times: user=1.11 sys=0.00, real=0.28 secs] cms: abort preclean due time 24679.377: [cms-concurrent-abortable-preclean: 5.784/6.654 secs] [times: user=12.64 sys=3.47, real=6.65 secs] 24679.378: [gc[yg occupancy: 487069 k (2457600 k)]24679.378: [rescan (parallel) , 0.2062950 secs]24679.584: [weak refs processing, 0.0008070 secs]24679.585: [scrub string table, 0.0002830 secs] [1 cms-remark: 2708155k(5461376k)] 3195224k(7918976k), 0.2075960 secs] [times: user=0.82 sys=0.00, real=0.21 secs] 24679.585: [cms-concurrent-sweep-start] 24680.597: [cms-concurrent-sweep: 1.006/1.012 secs] [times: user=1.81 sys=0.00, real=1.01 secs] 24680.597: [cms-concurrent-reset-start] 24680.617: [cms-concurrent-reset: 0.020/0.020 secs] [times: user=0.03 sys=0.00, real=0.02 secs] 24734.856: [gc24734.856: [parnew desired survivor size 139788288 bytes, new threshold 6 (max 6) - age 1: 7286744 bytes, 7286744 total : 2457600k->198236k(2457600k), 0.4687370 secs] 5165750k->3118706k(7918976k), 0.4689730 secs] [times: user=1.78 sys=0.00, real=0.47 secs] 24793.336: [gc24793.336: [parnew desired survivor size 139788288 bytes, new threshold 6 (max 6) - age 1: 7275368 bytes, 7275368 total - age 2: 6778992 bytes, 14054360 total : 2382812k->50896k(2457600k), 0.1408800 secs] 5303282k->2971366k(7918976k), 0.1411080 secs] [times: user=0.56 sys=0.00, real=0.14 secs] 24859.251: [gc24859.251: [parnew desired survivor size 139788288 bytes, new threshold 6 (max 6) - age 1: 6916184 bytes, 6916184 total - age 2: 6789648 bytes, 13705832 total - age 3: 6773040 bytes, 20478872 total : 2235472k->32310k(2457600k), 0.1847690 secs] 5155942k->2952781k(7918976k), 0.1850020 secs] [times: user=0.71 sys=0.00, real=0.18 secs] 24932.033: [gc24932.033: [parnew desired survivor size 139788288 bytes, new threshold 6 (max 6) - age 1: 6150464 bytes, 6150464 total - age 2: 6514336 bytes, 12664800 total - age 3: 6783960 bytes, 19448760 total - age 4: 6769808 bytes, 26218568 total : 2216886k->38073k(2457600k), 0.2244340 secs] 5137357k->2958543k(7918976k), 0.2246640 secs] [times: user=0.89 sys=0.00, real=0.22 secs] 24994.753: [gc24994.754: [parnew desired survivor size 139788288 bytes, new threshold 6 (max 6) - age 1: 5031544 bytes, 5031544 total - age 2: 5847368 bytes, 10878912 total - age 3: 6509216 bytes, 17388128 total - age 4: 6781200 bytes, 24169328 total - age 5: 6768376 bytes, 30937704 total : 2222649k->47919k(2457600k), 0.2667860 secs] 5143119k->2968389k(7918976k), 0.2669990 secs] [times: user=1.06 sys=0.00, real=0.27 secs]
have checked permgen? notice using cms. don't think cms scans perm space default.
java garbage-collection jvm
Comments
Post a Comment