zhxjdwh opened a new issue #3252:
URL: https://github.com/apache/rocketmq/issues/3252
**BUG REPORT**
the rocketmq_client.log file spent to mush cache/buffer !!!!!!!!!
These log files really consume too much cache/buffer. The jvm memory usage
of my container is only 500M, but the log buffer/cache of Rocketmq consumes 2G
of memory.
这几个日志文件实在消耗了太多cache/buffer了,我容器的jvm内存使用才500M,但是rocketmq的日志buffer/cache就消耗了2G的内存
```
[root@node135
f914151fc9ae5ce5f477a8d0d69ed9b0ebbb2ea45be3aec0f0acbde859d3e3b1]#
/usr/local/bin/vmtouch ./diff/root/logs/rocketmqlogs/**rocketmq_client.log**
Files: 1
Directories: 0
**Resident Pages: 198301/198301 774M/774M 100%**
Elapsed: 0.03113 seconds
[root@node135
f914151fc9ae5ce5f477a8d0d69ed9b0ebbb2ea45be3aec0f0acbde859d3e3b1]#
/usr/local/bin/vmtouch ./diff/root/logs/rocketmqlogs/**rocketmq_client.log.1**
Files: 1
Directories: 0
**Resident Pages: 262145/262145 1G/1G 100%**
Elapsed: 0.042067 seconds
[root@node135
f914151fc9ae5ce5f477a8d0d69ed9b0ebbb2ea45be3aec0f0acbde859d3e3b1]#
/usr/local/bin/vmtouch **./diff/root/logs/rocketmqlogs/rocketmq_client.log.2**
Files: 1
Directories: 0
**Resident Pages: 120207/262145 469M/1G 45.9%**
Elapsed: 0.020819 seconds
```
**FEATURE REQUEST**
Reduce the buffer/cache memory usage of log files
减少log文件的buffer/cache内存占用
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]