不知道是不是系统依赖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.
不知道有没有人出现同样的情况,运行一段时间后就无法访问