From 8b699a7f6e7a9c0ce9798ea967a1b8caeb058f67 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Mon, 24 Dec 2018 14:42:17 -0800 Subject: [PATCH] Add a link to Docker's IPVS connection timeout docs for postgres --- postgres/content.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/postgres/content.md b/postgres/content.md index e88628005..57ce9fd54 100644 --- a/postgres/content.md +++ b/postgres/content.md @@ -201,6 +201,8 @@ If there is no database when `postgres` starts in a container, then `postgres` w Also note that the default `/dev/shm` size for containers is 64MB. If the shared memory is exhausted you will encounter `ERROR: could not resize shared memory segment . . . : No space left on device`. You will want to pass [`--shm-size=256MB`](https://docs.docker.com/engine/reference/run/#runtime-constraints-on-resources) for example to `docker run`, or alternatively in [`docker-compose`](https://docs.docker.com/compose/compose-file/#shm_size) +See ["IPVS connection timeout issue" in the Docker Success Center](https://success.docker.com/article/ipvs-connection-timeout-issue) for details about IPVS connection timeouts which will affect long-running idle connections to PostgreSQL in Swarm Mode using overlay networks. + ## Where to Store Data Important note: There are several ways to store data used by applications that run in Docker containers. We encourage users of the `%%IMAGE%%` images to familiarize themselves with the options available, including: