修复服务器自动关机错误 - Postgresql 8.4

时间:2012-01-05 11:22:32

标签: postgresql logging postgis postgresql-8.4

正在使用的数据库是Postgres数据库V8.每隔一小时就会出现服务器连接错误。服务器断开连接,需要重新连接。    请在下面找到错误日志,并了解解决此错误的解决方案

  2012-01-05 13:28:52 CEST LOG: server process (PID 6128) was terminated by exception    0xC0000017
  2012-01-05 13:28:52 CEST HINT: See C include file "ntstatus.h" for a description of the hexadecimal value.
  2012-01-05 13:28:52 CEST LOG: terminating any other active server processes
  2012-01-05 13:28:52 CEST WARNING: terminating connection because of crash of another server process
  2012-01-05 13:28:52 CEST DETAIL:The postmaster has commanded this server process to roll  back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
  2012-01-05 13:28:52 CEST HINT:In a moment you should be able to reconnect to the database and repeat your command.
  2012-01-05 13:28:52 CEST WARNING:terminating connection because of crash of another server process
  2012-01-05 13:28:52 CEST DETAIL:The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory

先谢谢

1 个答案:

答案 0 :(得分:2)

显然状态为STATUS_NO_MEMORY,因此请查看您的服务器内存设置(shared_buffers,work_mem等),并在崩溃时监视机器上的内存使用情况(如果是常规的)。它是否总是与某种计划任务相吻合?