- When the process that generates the log under Linux is not closed, delete the log file, and the space will not be released
- Although restarting the process is enough, it may cause service interruption
The file can be emptied by the following methods
echo '' > foo.log # 或 echo > foo.log
Find open deleted files
sudo lsof | grep deleted
This article is from qbit snap
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。