Skip to content
This repository was archived by the owner on Nov 29, 2022. It is now read-only.

Commit 15328de

Browse files
committed
Temporary disabled netstats monitoring for reducing CPU load
1 parent 0f89106 commit 15328de

File tree

2 files changed

+21
-22
lines changed

2 files changed

+21
-22
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ TBD
2727

2828
## Known issues
2929

30-
- When netstats monitoring enabled, it causes Golang errors on Ethermint nodes. Not critical for the functionality, but litters log output with errors.
30+
- When netstats monitoring enabled, it causes Golang errors on Ethermint nodes. Not critical for the functionality, but litters log output with errors.
31+
- When netstats monitoring enabled, it increases CPU load dramatically (but very little comparing to classic Ethereum mining), which could cause significantly smaller battery time for laptops running Tenderloin.

docker-compose.yml

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -86,26 +86,24 @@ services:
8686
depends_on:
8787
- ethermaster
8888

89-
netstats:
90-
build: netstats
91-
restart: on-failure
92-
environment:
93-
- WS_SECRET=eth-net-stats-secret
94-
# volumes:
95-
# - /etc/localtime:/etc/localtime:ro
96-
ports:
97-
- "3001:3000"
89+
# netstats:
90+
# build: netstats
91+
# restart: on-failure
92+
# environment:
93+
# - WS_SECRET=eth-net-stats-secret
94+
# ports:
95+
# - "3001:3000"
9896

99-
master_monitor:
100-
image: buythewhale/ethstats_monitor
101-
volumes:
102-
- ${PWD-.}/netstats/master.app.json:/home/ethnetintel/eth-net-intelligence-api/app.json:ro
103-
depends_on:
104-
- ethermaster
97+
# master_monitor:
98+
# image: buythewhale/ethstats_monitor
99+
# volumes:
100+
# - ${PWD-.}/netstats/master.app.json:/home/ethnetintel/eth-net-intelligence-api/app.json:ro
101+
# depends_on:
102+
# - ethermaster
105103

106-
slave_monitor:
107-
image: buythewhale/ethstats_monitor
108-
volumes:
109-
- ${PWD-.}/netstats/slave.app.json:/home/ethnetintel/eth-net-intelligence-api/app.json:ro
110-
depends_on:
111-
- ethermaster
104+
# slave_monitor:
105+
# image: buythewhale/ethstats_monitor
106+
# volumes:
107+
# - ${PWD-.}/netstats/slave.app.json:/home/ethnetintel/eth-net-intelligence-api/app.json:ro
108+
# depends_on:
109+
# - ethermaster

0 commit comments

Comments
 (0)