How to make "/run" partition bigger?

Posted July 21, 2015 3k views
UbuntuServer OptimizationLEMP

Every once in a while, my /run partition gets full of space, as it is only 100M. This is how i got it from the image on digitalocean. How can i resize this partition and make it a little bigger?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

What is going into /run that is taking up so much space? Generally /run consists of things like pid files and sockets. If it’s filling up, there’s likely a bigger problem going on somewhere.

  • i think that HHVM stores sort of a cache there, i’ll see if i can move it elsewhere.

  • @filipac /run is a tmpfs partition, which means that all its data is stored in RAM (it might be swapped out to disk if you have swap enabled, but usually it’s in RAM). I recommend not moving it somewhere else because that means that the data would be on a regular partition so accessing it would be much slower.