小编Jos*_*aia的帖子

Azure Postgresql 达到 100% 内存使用率,无需简单的重启服务器的方法

我最近在使用 Azure Database for PostgreSQL 时注意到一个问题,我的内存使用量不断增长,达到 100% 时,服务器将停止响应。

这个数据库服务器专门用于开发,所以它有很多短期连接,经常被强行关闭(因为人们重新启动他们的应用程序来修复这里或那里的错误。)

在日志中,在发生这种情况之前,我可以看到两种模式,即自动清理错误:

2018-05-22 11:16:13 UTC-5ae5085b.20-LOG:  CreateProcess call failed: No error (error code 1455)
2018-05-22 11:16:13 UTC-5ae5085b.20-LOG:  could not fork autovacuum worker process: No error
2018-05-22 11:16:14 UTC-5ae5085b.20-LOG:  CreateProcess call failed: A blocking operation was interrupted by a call to WSACancelBlockingCall.

 (error code 1455)
Run Code Online (Sandbox Code Playgroud)

似乎是内存使用转储,然后是请求失败的警告:

TopMemoryContext: 143584 total in 6 blocks; 68072 free (43 chunks); 75512 used
  TopTransactionContext: 8192 total in 1 blocks; 7960 free (0 chunks); 232 used
  CFuncHash: 8192 total in …
Run Code Online (Sandbox Code Playgroud)

postgresql azure

5
推荐指数
1
解决办法
1626
查看次数

标签 统计

azure ×1

postgresql ×1