Files
geedge-jira/md/OMPUB-541.md

48 lines
1.1 KiB
Markdown
Raw Normal View History

2025-09-14 21:52:36 +00:00
# 【E21-nezha】国家中心服务器10.224.11.3 Nezha Server-1 根目录硬盘使用率超过80%
| ID | Creation Date | Assignee | Status |
|----|----------------|----------|--------|
| OMPUB-541 | 2022-06-28T15:18:39.000+0800 | 方顺健 | 已关闭 |
---
根目录总共318G现已使用255G查看发现其中仅仅/var/log/messages单文件就写了102G现暂时messages日志压缩备份处理。
10.224.11.3 messages日志写入内容见附件可看到包含nezha java组件日志。**fangshunjian** commented on *2022-06-29T10:04:10.723+0800*:
操作步骤:
#  journalctl --disk-usage 检查当前 日志实际占用磁盘大小
#  修改 /etc/systemd/journald.conf 配置文件
##  SystemMaxUse=10G
# 重启 systemctl restart systemd-journald.service
---
**liuju** commented on *2022-06-29T14:40:07.833+0800*:
[~fangshunjian] 1、执行结果4.0G
                  !微信图片_20220629093904.png!
             已按步骤2、3完成配置更新和服务重启。
---
## Attachments
**29138/messages**
---
**29177/微信图片_20220629093904.png**
---