apache / apache/rocketmq-docker
Because the GC log is written to /dev/shm, the /dev/shm disk usage reaches 100% | 因gc日志写入/dev/shm,导致/dev/shm磁盘使用率达到100%
Open
- Dominant language
- Shell
- Stars
- 706
- Forks
- 246
- PR merge metrics
- No merged PRs in 30d
Description
The default /dev/shm space for containers is only 64MB, and it's used up by garbage collection (GC) logs in less than a month. It doesn't seem to be automatically deleted, and when it's full, new GC logs can't be written. Why are GC logs written to /dev/shm/? Can this be changed?
容器默认的/dev/shm空间只有64M,一个月不到就会被gc日志用完。看起来不会自动删除,满了新的gc日志就写不进去了。那gc日志为什么要写入/dev/shm/?是否可以更改?
https://github.com/apache/rocketmq-docker/blob/8792ec254364fe04b65a9938d764ce1817e822c7/image-build-ci/scripts/runbroker-customize.sh#L61
Contributor guide
Assessment
This issue has not been assessed yet.