Closed stringang closed 9 months ago
The default shm-size
of docker is ~64MB, but the broker can generate at most 5 GC logs, each consumes 30MB.
Workaround may be one of the following:
NumberOfGCLogFiles
and GCLOGFileSize
;-Xloggc
as a path of broker logs.thanks @caigy
Please describe the issue you observed:
After the
broker
has been running for a while, theshm
on the host sends out a space-filling alarm.the mount point for
shm
is/data/containerd/state/io.containerd.grpc.v1.cri/sandboxes/4da84135c521f12560742f0739783dea5687503667f81f32a56d9f0f52b0784f/shm
.going into the
shm
directory, I found the directory to be the gc log.Please tell us about your environment:
Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):