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.

相关推荐
文牧之2 分钟前
PostgreSQL 的 pg_current_logfile 函数
运维·数据库·postgresql
牧羊狼的狼40 分钟前
阿里云服务器-宝塔面板安装【保姆级教程】
运维·服务器·阿里云·宝塔
高峰聚焦1 小时前
【Ubuntu】Netplan静态网络配置
linux·运维·ubuntu
冯一川1 小时前
Arm核的Ubuntu系统上安装Wireshark
linux·ubuntu·wireshark
原小明1 小时前
Ubuntu 22.04 出现 ‘Temporary failure resolving‘ 解决方案
linux·运维
Jerry&Louis1 小时前
【Ubuntu】fcitx5 + Rime(中州韵)好用的Linux中文输入法
linux·ubuntu
o0o_-_1 小时前
【瞎折腾/mi50 32G/ubuntu】mi50显卡ubuntu运行大模型开坑(二)使用llama.cpp部署Qwen3系列
linux·ubuntu·llama
文牧之1 小时前
PostgreSQL 的 pg_start_backup 函数
运维·数据库·postgresql
敲上瘾1 小时前
数据库(MySQL)基础
linux·数据库·mysql
XY.散人1 小时前
初识Linux · 传输层协议TCP · 上
linux·网络·tcp/ip