Closed david-allison closed 1 year ago
While on the server node
was using a large amount (57%) of RAM and caused ssh-keyscan
to fail (not that we should be using that long-term)
617343 david2 20 0 1380952 573708 0 R 13.7 57.1 4:41.58 node
Attempting to reduce RAM from node
:
nano ~/.profile
export NODE_OPTIONS=--max-old-space-size=512
Still happening (it does work some time, so flaky), can see the machine running out of swap via SSH.
Likely want to add more
I'll add swap on the 17th or 18th in the evening so I have time to recover from a total failure
My first time doing it. It appears to be easy, but could be catastrophic, so important to get right.
https://github.com/david-allison-1/manx-corpus-search/runs/2550569740?check_suite_focus=true
Unsure what's happening here. Works when I ssh into the machine