traefik: Increase memory limits for tor container
Apparently 32mb are a bit too little for the DHT. In case a node has no swap configured, it'll never be able to sue the `memswap_limit`, resulting in the OOM death of the container on startup. This patch will fix this problem by doubling the low memory limit for the container.
This commit is contained in:
parent
ab6570dc9e
commit
36e5ccffbc
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ services:
|
||||||
{% if traefik_tor_enabled %}
|
{% if traefik_tor_enabled %}
|
||||||
tor:
|
tor:
|
||||||
image: quay.io/sheogorath/tor:{{ traefik_tor_version }}
|
image: quay.io/sheogorath/tor:{{ traefik_tor_version }}
|
||||||
mem_limit: 32mb
|
mem_limit: 64mb
|
||||||
memswap_limit: 64mb
|
memswap_limit: 128mb
|
||||||
read_only: true
|
read_only: true
|
||||||
depends_on:
|
depends_on:
|
||||||
- proxy
|
- proxy
|
||||||
|
|
Loading…
Add table
Reference in a new issue