Oraclelinux问题-/var/log/pcp/pmlogger/目录超大

有套19c rac环境,操作系统是oracle linux 8.10,日常巡检时发现/var/log/pcp/pmlogger/目录超大,如下

root@db1 \~\]# du -sh /var/log/pcp/pmlogger/\* 468G /var/log/pcp/pmlogger/db 1.3G /var/log/pcp/pmlogger/oracle06-106 754M /var/log/pcp/pmlogger/oracle06-66 4.0K /var/log/pcp/pmlogger/pmlogger_check.log 4.0K /var/log/pcp/pmlogger/pmlogger_check.log.prev 4.0K /var/log/pcp/pmlogger/pmlogger_daily-K.log.prev 4.0K /var/log/pcp/pmlogger/pmlogger_daily.log.prev 4.0K /var/log/pcp/pmlogger/pmlogger_daily.stamp 4.0K /var/log/pcp/pmlogger/pmlogger_daily.stamp.prev 7.3M /var/log/pcp/pmlogger/xykdg 对pmlogger.service服务相对陌生, ![](https://i-blog.csdnimg.cn/direct/6061b47ed78246beb488cff781528bea.png) \[root@db1 \~\]# systemctl status pmlogger.service ● pmlogger.service - Performance Metrics Archive Logger Loaded: loaded (/usr/lib/systemd/system/pmlogger.service; enabled; vendor preset: disabled) Active: active (running) since Fri 2024-07-26 19:00:25 CST; 7 months 17 days ago Docs: man:pmlogger(1) Main PID: 225471 (pmlogger) Tasks: 1 (limit: 1644855) Memory: 3.1G CGroup: /system.slice/pmlogger.service └─225471 /usr/libexec/pcp/bin/pmlogger -N -P -r -T24h10m -c config.default -v 100mb -mreexec %Y%m%d.%H.%M Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable. 服务有问题,查看节点二,服务正常,无告警,手动重启服务,持续观察,/var/log/pcp/pmlogger/问题解决 \[root@db1 \~\]# systemctl stop pmlogger.service \&\& systemctl start pmlogger.service ![](https://i-blog.csdnimg.cn/direct/7c3779851e374551bb01ab1086606ea5.png) \[root@db2 \~\]# systemctl status pmlogger.service ● pmlogger.service - Performance Metrics Archive Logger Loaded: loaded (/usr/lib/systemd/system/pmlogger.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2025-03-12 00:10:31 CST; 2 days ago Docs: man:pmlogger(1) Main PID: 143760 (pmlogger) Tasks: 1 (limit: 1643795) Memory: 306.8M CGroup: /system.slice/pmlogger.service └─143760 /usr/libexec/pcp/bin/pmlogger -N -P -r -T24h10m -c config.default -v 100mb -mreexec %Y%m%d.%H.%M Mar 12 00:10:10 db1 systemd\[1\]: Starting Performance Metrics Archive Logger... Mar 12 00:10:31 db1 systemd\[1\]: Started Performance Metrics Archive Logger.

相关推荐
..空空的人17 小时前
C++基于websocket的多用户网页五子棋 ---- 整合封装服务器模块设计实现
运维·服务器
愚戏师17 小时前
Python3 多线程
linux·运维·服务器·python
n***333517 小时前
linux redis简单操作
linux·运维·redis
h***593317 小时前
使用Canal将MySQL数据同步到ES(Linux)
linux·mysql·elasticsearch
xu_yule18 小时前
网络和Linux网络-5(应用层)HTTP协议(方法+报头+状态码)
linux·网络·网络协议·http
lhyzws18 小时前
CENTOS上的网络安全工具(三十二) Portainer Kafka-Clickhouse部署(1)
linux·kafka·centos
xuchaoxin137519 小时前
cdn节点代理的副作用@fail2ban对接cdn封锁恶意请求ip@fail2ban封锁ip有效性问题
运维·网络·cdn·cloudflare
q***046320 小时前
Linux环境下Tomcat的安装与配置详细指南
linux·运维·tomcat
好奇的菜鸟20 小时前
在 WSL 中安装 Docker
运维·docker·容器
BD_Marathon20 小时前
【Zookeeper】监听器原理
linux·分布式·zookeeper