For about a month I had no issues running a bp+2 relays on testnet 2 cpu 4GB ram, part of that time on 1.27.0. I’ve now set up a node (passive for now) to run against mainnet. Using the 1.27.0 version of cardano-node. First I noticed that while synching, the memory usage would increase to the point that the OS oom facility would kill cardano-node and I had to start over. I was running on 2 dedicated cpu’s and 4gb ram, so I upped the RAM to 8GB. Process then was not killed by oom and I was able to make it to the Mary era according to the tip command (epoch 260). I decided to shutdown the process so I could change the logging settings with the command “killall -s SIGKILL cardano-node”, thinking that might be a graceful termination of the node. After restarting, it doesn’t work, no loggng and when running the tip command I get the error about the socket doesn’t exist (db/node.socket disappeared and is not created when I tried to restart). So, a couple of questions:
I did see Relay node syncing issue - 1.27.0 - #6 by laplasz which talked about memory when it comes to version 1.27.0. Will it be normal for cardano-node to run over 40% memory (of 8GB ram) while it catches up on the syncing, and will that memory usage go down after it has caught up with the epoch?
Is there a way to cleanly shutdown cardano-node without causing problems for the restart? I’m wondering if my killall SIGKILL method corrupted the db