Segmentation fault

That is one scary message whenever you see it in your remote server's terminal.

In my case it came down to docker taking too much memory and chocking the box. One quick solution to manage some basic cleanup before taking real actions could be to create some swap memory.

sudo dd if=/dev/zero of=/swapf bs=1024 count=524288
sudo chmod 600 /swapf
sudo mkswap /swapf
sudo swapon /swapf

Then to remove simply:

sudo swapoff /swapf