Garbage log file taking too much space

Sajin

New Member
gc-core-* File is taking too much space on the device. It increases to 3-5 GB in single file few weeks time.
Which settings needs to set to false or reduce log level for preventing it?
 

Max

Administrator
Staff member
Please clarify what WCS version do you use? In latest versions, hourly gc-core-* log rotation is enabled.
It increases to 3-5 GB in single file few weeks time
This can mean a server perfomance problem and may require some tuning. Please show us the tail of this big file, we will check.
 

Sajin

New Member
2018-12-18T05:35:32.751+0000: 4562285.820: [GC (CMS Final Remark) [YG occupancy: 695856 K (943680 K)]2018-12-18T05:35:32.752+0000: 4562285.820: [Rescan (parallel) , 0.1680778 secs]2018-12-18T05:35:32.920+0000: 4562285.989: [weak refs processing, 0.0000233 secs]2018-12-18T05:35:32.920+0000: 4562285.989: [class unloading, 0.0098865 secs]2018-12-18T05:35:32.930+0000: 4562285.998: [scrub symbol table, 0.0027325 secs]2018-12-18T05:35:32.932+0000: 4562286.001: [scrub string table, 0.0005597 secs][1 CMS-remark: 63K(64K)] 695920K(943744K), 0.1847955 secs] [Times: user=0.69 sys=0.00, real=0.19 secs]
2018-12-18T05:35:32.936+0000: 4562286.005: [CMS-concurrent-sweep-start]
2018-12-18T05:35:32.936+0000: 4562286.005: [CMS-concurrent-sweep: 0.000/0.000 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2018-12-18T05:35:32.936+0000: 4562286.005: [CMS-concurrent-reset-start]
2018-12-18T05:35:32.936+0000: 4562286.005: [CMS-concurrent-reset: 0.000/0.000 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2018-12-18T05:35:34.936+0000: 4562288.005: [GC (CMS Initial Mark) [1 CMS-initial-mark: 63K(64K)] 695920K(943744K), 0.1373560 secs] [Times: user=0.55 sys=0.00, real=0.13 secs]
2018-12-18T05:35:35.073+0000: 4562288.142: [CMS-concurrent-mark-start]
2018-12-18T05:35:35.074+0000: 4562288.142: [CMS-concurrent-mark: 0.000/0.000 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2018-12-18T05:35:35.074+0000: 4562288.142: [CMS-concurrent-preclean-start]
2018-12-18T05:35:35.074+0000: 4562288.143: [CMS-concurrent-preclean: 0.000/0.000 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2018-12-18T05:35:35.074+0000: 4562288.143: [CMS-concurrent-abortable-preclean-start]
2018-12-18T05:35:35.074+0000: 4562288.143: [CMS-concurrent-abortable-preclean: 0.000/0.000 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]


These get repeated every second
 

Max

Administrator
Staff member
Good day.
It seems like the memory is not enough for your server load. Try to allocate at least 1/2 of server physical memory for JVM heap memory as described here.
 
Top