2010-05-28 54 views
1

我在Fedora core 2 linux盒子上使用Postgres-8.3.7。 Postgres的服务正在崩溃。 当我重新启动系统时,它在一段时间内工作正常。在一些随机的时间它再​​次崩溃。日志:服务器进程(PID 11748)被信号11终止:分段错误

什么可能是这种segfaults是随机的原因?

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 
+1

我相信你会意识到,如果你使用适当的Postgres [支持列表](http://archives.postgresql.org/),你会得到更好的服务。我的建议是从[“general”](http://archives.postgresql.org/pgsql-general/)列表开始,最后是[“bugs”](http://archives.postgresql.org/pgsql-错误/)列表。 – 2010-05-28 14:01:10

回答

1

有点过于具体,很少的细节 - 也许更适合于serverfault.com或postgresql邮件列表。

一些随机的建议:

  • VACUUM ANALYZE VERBOSE?
  • 你不能升级到最新版本吗?
  • 发生这种情况时的一些特殊情况?磁盘快满了?高负荷?操作系统日志(/ var/log/message)中没有可疑内容?
  • 难道你不能提高postgresql的日志级别以记录查询并查看它是否与某个特定查询(例如函数)相关吗?

Postgresql有一个非常敏感的开发人员community

+0

嗨Leonbloy, 感谢您的回复, 正如你所说我在postgres论坛试过,发现可能的原因可能是硬件/内存故障。在这种情况下,安装系统时会出现一些问题。 – Niranjan 2010-06-14 05:24:28

相关问题