Often an automated process will completely fill up the main drive and I won't even be able to login over SSH to fix it. How do I prevent all the space from being used, so that I can always login to my headless server with SSH and delete something?
can't create socket: No space left on device
(There are an infinite number of things that could fill space. A good answer will not care which of them is doing it, but will prevent them from using the space that ssh needs to function.)