1925747950 commented on issue #7738:
URL: https://github.com/apache/rocketmq/issues/7738#issuecomment-1891525319

   > df和du统计对于已删除句柄但是还没有真正删除的有差异。当df统计到很大的时候。可以 lsof -n|grep deleted 看一下,参考 
https://www.cnblogs.com/heyonggang/p/3644736.html HGQ ***@***.***> 于 
2024年1月11日周四 下午10:50写道:
   > […](#)
   > 可以看一下 1. 这个监控中的指标,是怎么获取的 2. 在上涨期间,可以观察一下第一个那个指标在机器上的那个对应的信息。 
监控指标是基础磁盘指标,告警时登录服务器使用df命令查看/data占用接近500G,使用率也接近100%,但是使用du命令查看又只占用20G左右,等待磁盘达到100%后就立刻恢复成正常的4%使用率。。。
 — Reply to this email directly, view it on GitHub <[#7738 
(comment)](https://github.com/apache/rocketmq/issues/7738#issuecomment-1887345872)>,
 or unsubscribe 
<https://github.com/notifications/unsubscribe-auth/AAUPLYBFB63KJGPLGM6DQP3YN733FAVCNFSM6AAAAABBUQS3T6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBXGM2DKOBXGI>
 . You are receiving this because you commented.Message ID: ***@***.***>
   
   感谢,使用lsof能找到占用比较大的文件:/data/logs/rocketmqlogs/remoting.log 
(deleted),但是为什么会是delete状态呢,是mq自动进行的删除吗?(是否与集群的两个实例写同一个日志文件有关系?)
   
![image](https://github.com/apache/rocketmq/assets/41810884/92a72686-55f7-4762-a67c-52d3e69f3760)
   
![lsof](https://github.com/apache/rocketmq/assets/41810884/ad526a5f-7b24-4803-aa90-a32392c49c6f)
   
![broker](https://github.com/apache/rocketmq/assets/41810884/78e7bed4-8945-40f7-8bd9-04c35c0bbc2c)


-- 
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: commits-unsubscr...@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to