admin管理员组文章数量:1122832
We have a several containers that comprise our app. One of the containers is a Python process that reads some data from a database container (Postgres) and writes data back to it.
I have had this setup for a while and it has worked well on Ubuntu. We replicated this on Windows and using the WSL backend for docker and we see the Postgres container crash intermittently. I have looked at the container logs and the only statement indicative of failure or unusual are like so:
FATAL: terminating background worker "parallel worker" due to administrator command FATAL: terminating connection due to administrator command
I concluded that this might be due to increased number of connections or excessive memory consumption. So, I added pgBouncer in front of it. But the crashes are still persistent.
I am using a AMD Ryzen 7 5700G with Radeon Graphics 3.80 GHz
with 64GB RAM. I also do not have a wslconfig file setup, so this means that WSL should be able to expand as much as needed and the same applies per container. I am using Docker Desktop 4.32 and the latest Windows 11 build (22631.4460).
Any suggestions about how I should debug this further are appreciated.
本文标签: postgresqlPostgres container on Windows 11 (WSL) crashes periodicallyStack Overflow
版权声明:本文标题:postgresql - Postgres container on Windows 11 (WSL) crashes periodically - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736306217a1932877.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论