收起左侧

疑似pgsql发生oom导致无法进入系统

0
回复
37
查看
[ 复制链接 ]

2

主题

1

回帖

0

牛值

江湖小虾

2025-6-26 10:46:28 显示全部楼层 阅读模式

不知道是不是系统依赖pgsql,运行一夜后访问就没有反应了,执行ps命令返回

bash: /usr/bin/ps: Input/output error

在1panel中看到错误提示是数据库发生了oom,问了deepseek,然后从日志里面找到些信息,推测是pgsql反复重启失败导致了内存耗尽

日志中出现多次的报错信息:

Jun 26 10:05:55 Thinkcentre systemd[1]: Failed to start trim-docs-pgsql.service - PostgreSQL service for TRIM Docs.
░░ Subject: A start ** for unit trim-docs-pgsql.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start ** for unit trim-docs-pgsql.service has finished with a failure.
░░
░░ The ** identifier is 7017 and the ** result is failed.

不知道有没有人出现同样的情况,运行一段时间后就无法访问

收藏
送赞
分享
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则