limits to the harmony container
This commit is contained in:
@@ -111,6 +111,18 @@ services:
|
|||||||
|
|
||||||
harmony-mainnet:
|
harmony-mainnet:
|
||||||
build: ./harmony/build
|
build: ./harmony/build
|
||||||
|
sysctls:
|
||||||
|
net.core.somaxconn: 1024
|
||||||
|
net.core.netdev_max_backlog: 65536
|
||||||
|
net.ipv4.tcp_tw_reuse: 1
|
||||||
|
net.ipv4.tcp_rmem: 4096 65536 16777216
|
||||||
|
net.ipv4.tcp_wmem: 4096 65536 16777216
|
||||||
|
net.ipv4.tcp_mem: 65536 131072 262144
|
||||||
|
ulimits:
|
||||||
|
nproc: 65535
|
||||||
|
nofile:
|
||||||
|
soft: 65535
|
||||||
|
hard: 65535
|
||||||
expose:
|
expose:
|
||||||
- "9500"
|
- "9500"
|
||||||
- "9000"
|
- "9000"
|
||||||
|
|||||||
Reference in New Issue
Block a user