fix
This commit is contained in:
@@ -119,7 +119,60 @@ services:
|
|||||||
- ./op/celo/alfajores:/config
|
- ./op/celo/alfajores:/config
|
||||||
- .jwtsecret:/jwtsecret:ro
|
- .jwtsecret:/jwtsecret:ro
|
||||||
|
|
||||||
|
celo-alfajores-archive-classic:
|
||||||
|
image: ${CELO_GETH_IMAGE:-us.gcr.io/celo-org/geth}:${CELO_ALFAJORES_GETH_VERSION:-1.8.9}
|
||||||
|
sysctls:
|
||||||
|
# TCP Performance
|
||||||
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
|
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
|
||||||
|
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
|
||||||
|
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
|
||||||
|
net.core.somaxconn: 32768 # Higher connection queue
|
||||||
|
# Memory/Connection Management
|
||||||
|
# net.core.netdev_max_backlog: 50000 # Increase network buffer
|
||||||
|
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
|
||||||
|
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
|
||||||
|
ulimits:
|
||||||
|
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||||
|
user: root
|
||||||
|
ports:
|
||||||
|
- 13307:13307
|
||||||
|
- 13307:13307/udp
|
||||||
|
expose:
|
||||||
|
- 8545
|
||||||
|
command:
|
||||||
|
- --datadir=/root/.celo
|
||||||
|
- --db.engine=leveldb
|
||||||
|
- --gcmode=archive
|
||||||
|
- --http
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,debug,admin,txpool,engine
|
||||||
|
- --http.port=8545
|
||||||
|
- --http.vhosts=*
|
||||||
|
- --maxpeers=50
|
||||||
|
- --nat=extip:${IP}
|
||||||
|
- --port=13307
|
||||||
|
- --rpc.gascap=600000000
|
||||||
|
- --rpc.txfeecap=0
|
||||||
|
- --state.scheme=hash
|
||||||
|
- --syncmode=full
|
||||||
|
- --ws
|
||||||
|
- --ws.addr=0.0.0.0
|
||||||
|
- --ws.api=eth,net,web3,debug,admin,txpool,engine
|
||||||
|
- --ws.origins=*
|
||||||
|
- --ws.port=8545
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${CELO_ALFAJORES_GETH_ARCHIVE_LEVELDB_HASH_DATA:-celo-alfajores-geth-archive-leveldb-hash}:/root/.celo
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
labels: []
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
celo-alfajores-geth-archive-leveldb-hash:
|
||||||
|
celo-alfajores-geth-archive-leveldb-hash_prysm:
|
||||||
celo-alfajores-op-geth-archive-leveldb-hash:
|
celo-alfajores-op-geth-archive-leveldb-hash:
|
||||||
celo-alfajores-op-geth-archive-leveldb-hash_eigenda:
|
celo-alfajores-op-geth-archive-leveldb-hash_eigenda:
|
||||||
|
|
||||||
|
|||||||
@@ -119,7 +119,60 @@ services:
|
|||||||
- ./op/celo/alfajores:/config
|
- ./op/celo/alfajores:/config
|
||||||
- .jwtsecret:/jwtsecret:ro
|
- .jwtsecret:/jwtsecret:ro
|
||||||
|
|
||||||
|
celo-alfajores-classic:
|
||||||
|
image: ${CELO_GETH_IMAGE:-us.gcr.io/celo-org/geth}:${CELO_ALFAJORES_GETH_VERSION:-1.8.9}
|
||||||
|
sysctls:
|
||||||
|
# TCP Performance
|
||||||
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
|
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
|
||||||
|
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
|
||||||
|
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
|
||||||
|
net.core.somaxconn: 32768 # Higher connection queue
|
||||||
|
# Memory/Connection Management
|
||||||
|
# net.core.netdev_max_backlog: 50000 # Increase network buffer
|
||||||
|
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
|
||||||
|
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
|
||||||
|
ulimits:
|
||||||
|
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||||
|
user: root
|
||||||
|
ports:
|
||||||
|
- 13307:13307
|
||||||
|
- 13307:13307/udp
|
||||||
|
expose:
|
||||||
|
- 8545
|
||||||
|
command:
|
||||||
|
- --datadir=/root/.celo
|
||||||
|
- --db.engine=leveldb
|
||||||
|
- --gcmode=full
|
||||||
|
- --http
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,debug,admin,txpool,engine
|
||||||
|
- --http.port=8545
|
||||||
|
- --http.vhosts=*
|
||||||
|
- --maxpeers=50
|
||||||
|
- --nat=extip:${IP}
|
||||||
|
- --port=13307
|
||||||
|
- --rpc.gascap=600000000
|
||||||
|
- --rpc.txfeecap=0
|
||||||
|
- --state.scheme=hash
|
||||||
|
- --syncmode=snap
|
||||||
|
- --ws
|
||||||
|
- --ws.addr=0.0.0.0
|
||||||
|
- --ws.api=eth,net,web3,debug,admin,txpool,engine
|
||||||
|
- --ws.origins=*
|
||||||
|
- --ws.port=8545
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${CELO_ALFAJORES_GETH_PRUNED_LEVELDB_HASH_DATA:-celo-alfajores-geth-pruned-leveldb-hash}:/root/.celo
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
labels: []
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
celo-alfajores-geth-pruned-leveldb-hash:
|
||||||
|
celo-alfajores-geth-pruned-leveldb-hash_prysm:
|
||||||
celo-alfajores-op-geth-pruned-leveldb-hash:
|
celo-alfajores-op-geth-pruned-leveldb-hash:
|
||||||
celo-alfajores-op-geth-pruned-leveldb-hash_eigenda:
|
celo-alfajores-op-geth-pruned-leveldb-hash_eigenda:
|
||||||
|
|
||||||
|
|||||||
@@ -120,7 +120,60 @@ services:
|
|||||||
- ./op/celo/mainnet:/config
|
- ./op/celo/mainnet:/config
|
||||||
- .jwtsecret:/jwtsecret:ro
|
- .jwtsecret:/jwtsecret:ro
|
||||||
|
|
||||||
|
celo-mainnet-archive-classic:
|
||||||
|
image: ${CELO_GETH_IMAGE:-us.gcr.io/celo-org/geth}:${CELO_MAINNET_GETH_VERSION:-1.8.9}
|
||||||
|
sysctls:
|
||||||
|
# TCP Performance
|
||||||
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
|
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
|
||||||
|
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
|
||||||
|
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
|
||||||
|
net.core.somaxconn: 32768 # Higher connection queue
|
||||||
|
# Memory/Connection Management
|
||||||
|
# net.core.netdev_max_backlog: 50000 # Increase network buffer
|
||||||
|
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
|
||||||
|
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
|
||||||
|
ulimits:
|
||||||
|
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||||
|
user: root
|
||||||
|
ports:
|
||||||
|
- 11882:11882
|
||||||
|
- 11882:11882/udp
|
||||||
|
expose:
|
||||||
|
- 8545
|
||||||
|
command:
|
||||||
|
- --datadir=/root/.celo
|
||||||
|
- --db.engine=leveldb
|
||||||
|
- --gcmode=archive
|
||||||
|
- --http
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,debug,admin,txpool,engine
|
||||||
|
- --http.port=8545
|
||||||
|
- --http.vhosts=*
|
||||||
|
- --maxpeers=50
|
||||||
|
- --nat=extip:${IP}
|
||||||
|
- --port=11882
|
||||||
|
- --rpc.gascap=600000000
|
||||||
|
- --rpc.txfeecap=0
|
||||||
|
- --state.scheme=hash
|
||||||
|
- --syncmode=full
|
||||||
|
- --ws
|
||||||
|
- --ws.addr=0.0.0.0
|
||||||
|
- --ws.api=eth,net,web3,debug,admin,txpool,engine
|
||||||
|
- --ws.origins=*
|
||||||
|
- --ws.port=8545
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${CELO_MAINNET_GETH_ARCHIVE_LEVELDB_HASH_DATA:-celo-mainnet-geth-archive-leveldb-hash}:/root/.celo
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
labels: []
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
celo-mainnet-geth-archive-leveldb-hash:
|
||||||
|
celo-mainnet-geth-archive-leveldb-hash_prysm:
|
||||||
celo-mainnet-op-geth-archive-leveldb-hash:
|
celo-mainnet-op-geth-archive-leveldb-hash:
|
||||||
celo-mainnet-op-geth-archive-leveldb-hash_eigenda:
|
celo-mainnet-op-geth-archive-leveldb-hash_eigenda:
|
||||||
|
|
||||||
|
|||||||
@@ -120,7 +120,60 @@ services:
|
|||||||
- ./op/celo/mainnet:/config
|
- ./op/celo/mainnet:/config
|
||||||
- .jwtsecret:/jwtsecret:ro
|
- .jwtsecret:/jwtsecret:ro
|
||||||
|
|
||||||
|
celo-mainnet-classic:
|
||||||
|
image: ${CELO_GETH_IMAGE:-us.gcr.io/celo-org/geth}:${CELO_MAINNET_GETH_VERSION:-1.8.9}
|
||||||
|
sysctls:
|
||||||
|
# TCP Performance
|
||||||
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
|
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
|
||||||
|
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
|
||||||
|
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
|
||||||
|
net.core.somaxconn: 32768 # Higher connection queue
|
||||||
|
# Memory/Connection Management
|
||||||
|
# net.core.netdev_max_backlog: 50000 # Increase network buffer
|
||||||
|
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
|
||||||
|
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
|
||||||
|
ulimits:
|
||||||
|
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||||
|
user: root
|
||||||
|
ports:
|
||||||
|
- 11882:11882
|
||||||
|
- 11882:11882/udp
|
||||||
|
expose:
|
||||||
|
- 8545
|
||||||
|
command:
|
||||||
|
- --datadir=/root/.celo
|
||||||
|
- --db.engine=leveldb
|
||||||
|
- --gcmode=full
|
||||||
|
- --http
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,debug,admin,txpool,engine
|
||||||
|
- --http.port=8545
|
||||||
|
- --http.vhosts=*
|
||||||
|
- --maxpeers=50
|
||||||
|
- --nat=extip:${IP}
|
||||||
|
- --port=11882
|
||||||
|
- --rpc.gascap=600000000
|
||||||
|
- --rpc.txfeecap=0
|
||||||
|
- --state.scheme=hash
|
||||||
|
- --syncmode=snap
|
||||||
|
- --ws
|
||||||
|
- --ws.addr=0.0.0.0
|
||||||
|
- --ws.api=eth,net,web3,debug,admin,txpool,engine
|
||||||
|
- --ws.origins=*
|
||||||
|
- --ws.port=8545
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${CELO_MAINNET_GETH_PRUNED_LEVELDB_HASH_DATA:-celo-mainnet-geth-pruned-leveldb-hash}:/root/.celo
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
labels: []
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
celo-mainnet-geth-pruned-leveldb-hash:
|
||||||
|
celo-mainnet-geth-pruned-leveldb-hash_prysm:
|
||||||
celo-mainnet-op-geth-pruned-leveldb-hash:
|
celo-mainnet-op-geth-pruned-leveldb-hash:
|
||||||
celo-mainnet-op-geth-pruned-leveldb-hash_eigenda:
|
celo-mainnet-op-geth-pruned-leveldb-hash_eigenda:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user