postgres检查指针进程退出,退出代码为0

时间:2019-03-16 08:22:26

标签: postgresql

我有一个在vps上使用postgresql的网站。连续2天同时出现错误,并且postgres服务器重新启动

1天:

2019-03-15 05:58:53.305 UTC [1329] LOG:  shutting down
2019-03-15 05:58:53.313 UTC [1311] LOG:  checkpointer process (PID 1329) exited with exit code 0
2019-03-15 05:58:53.313 UTC [1311] LOG:  terminating any other active server processes
2019-03-15 05:58:53.314 UTC [6441] retouch@retouch_db WARNING:  terminating connection because of crash of another server process
2019-03-15 05:58:53.314 UTC [6441] retouch@retouch_db 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.

2天:

2019-03-16 05:53:10.368 UTC [16248] LOG:  shutting down
2019-03-16 05:53:10.375 UTC [16245] LOG:  checkpointer process (PID 16248) exited with exit code 0
2019-03-16 05:53:10.375 UTC [16245] LOG:  terminating any other active server processes
2019-03-16 05:53:10.376 UTC [25344] retouch@retouch_db WARNING:  terminating connection because of crash of another server process
2019-03-16 05:53:10.376 UTC [25344] retouch@retouch_db DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because anothe
r server process exited abnormally and possibly corrupted shared memory.

我对站点进行负载测试,并将请求流直接发送到数据库,并且效果很好。但是在特定时间连续两天,我在重新启动服务器时遇到错误

服务器有足够的内存来启动服务器。图表显示内存没有用完,并且在dmesg中没有postgres的记录

0 个答案:

没有答案