Closed MarcelBlockchain closed 5 years ago
Running a mainnet node is indeed very resource intensive today. An SSD with high IOPS allocated is recommended. 16GB of RAM is recommended. It's entirely possible mongod crashed for lack of RAM, but consult your system logs. If the OOM Killer got it, it will be logged.
Stopping the node gracefully does not require --mongodb-wipe
to restart.
I run a non-producing node with 8GB RAM on Ubuntu 18.04 and 4 CPU cores, no Docker(yet). Overnight mongod crashed, not sure why. I just had to start mongod from the /opt folder again and it worked.
But now the sync process is super slow. It's at 20860100 of 22222260 blocks Example: time per: 562566, size: 1, time: 562566
Mongod takes ~ 150% CPU usage and 41% RAM nodeos: 20-45% CPU and ~50%
Is this normal? I'm thinking of stopping the node and upgrading the server to 16GB RAM.
Strange enough my API does not access the full mongoDB, only the parts after the restart of mongod.
1) Is it possible that mongod crashes because of lack of RAM?
2) RAM usage normal?
3) Stopping the node with best practices and restarting does not force me to --mongodb-wipe?
my config.ini: