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"