From 31cda87d2994da459b6c7db852f8cde46f7f2fe6 Mon Sep 17 00:00:00 2001 From: cventastic Date: Wed, 5 Oct 2022 09:37:40 +0200 Subject: [PATCH] ulimit for rpc-base.yml and erigon.yml --- erigon.yml | 8 ++++++++ rpc-base.yml | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/erigon.yml b/erigon.yml index 6cb654ba..78f66f56 100644 --- a/erigon.yml +++ b/erigon.yml @@ -7,6 +7,10 @@ services: - "30303" - "30304" - "9090" + ulimits: + nofile: + soft: "40000" + hard: "50000" volumes: - erigon-trace:/home/erigon/.local/share/erigon - .jwtsecret:/jwtsecret @@ -48,6 +52,10 @@ services: - chains expose: - "8545" + ulimits: + nofile: + soft: "40000" + hard: "50000" restart: unless-stopped depends_on: - "erigon-trace" diff --git a/rpc-base.yml b/rpc-base.yml index b0fc4d07..12948322 100644 --- a/rpc-base.yml +++ b/rpc-base.yml @@ -11,6 +11,10 @@ services: ports: - "443:443" - "127.0.0.1:8080:8080" + ulimits: + nofile: + soft: "40000" + hard: "50000" command: - "--api=true" - "--api.insecure=true"