0

使用的数据库是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

提前致谢

4

1 回答 1

2

显然,该状态是 STATUS_NO_MEMORY,因此请查看您的服务器内存设置(shared_buffers、work_mem 等)并监控机器在崩溃时的内存使用情况(如果它是正常的)。它总是与某种预定任务相吻合吗?

于 2012-01-05T16:03:15.427 回答