Now all of a sudden, disk usage became 100 MB/s!!! Why? Is this flock related? Why is the nodes constantly writing so much data?
(The gaps in between are me stopping and starting the nodes)
Edit 1: using iotop I see that it’s the prometheus that keeps writing the ~90-100 MB/s to disk. Not sure why though…
Edit 2: running `watch -n 2 “df -h”’ to constantly watch my overall storage, I see that the storage decreases by 2 GB then increases by 2 GB constantly, so I’m guessing that data isn’t actually just being written but also being deleted which is a big relief.
This could be the consequence of you trying to start those heavy jobs once every it seems that’s set as a disk bandwidth limit in your docker container.
Current best practice is to start the node & background jobs as a systemd service instead, so that the OS will detect when they have stopped and restart them automatically, under all conditions when the process fails, system reboots, etc.; e.g. the systemd service scripts here (modify to suit your system):
topologyUpdater.sh is not a background service, just a run-through script, so it’s fine as you’ve listed it… but other Cardano utilities that run continuously have been made to run more efficiently as services, e.g.:
Unfortunately systemd is not enabled or used in my ubuntu docker container (running ps aux it shows that /bin/bash is pid 1) so my work around has been to set cron job to just be on repeat basically