我在 fedora core 2 linux box 上使用 Postgres-8.3.7。 Postgres 服务崩溃了。 当我重新启动系统时,它可以正常工作一段时间。在某个随机时间它再次崩溃。
这种随机段错误的可能原因是什么?
FATAL: the database system is in recovery mode
LOG: autovacuum launcher started
LOG: database system is ready to accept connections
LOG: server process (PID 11748) was terminated by signal 11: Segmentation fault
LOG: terminating any other active server processes
FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode
LOG: all server processes terminated; reinitializing
LOG: database system was interrupted; last known up at 2010-05-24 13:28:06 PDT
LOG: database system was not properly shut down; automatic recovery in progress
最佳答案
有点太具体,细节很少 - 也许更适合 serverfault.com 或 postgresql 邮件列表。
一些随机的建议:
- VACUUM 分析冗长 ?
- 不能升级到最新版本吗?
- 发生这种情况时的一些特殊情况?磁盘快满了?高负载?操作系统日志 (/var/log/message ) 中没有任何可疑之处?
- 能否提高 postgresql 的日志级别来记录查询并查看这是否与某些特定查询(例如函数)相关?
Postgresql 有一个非常敏感的开发人员 community .
关于postgresql - 日志 : server process (PID 11748) was terminated by signal 11: Segmentation fault,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2927867/