When your server runs out of memory, one of two things generally happens: The out of memory killer comes along and kills processes. Your system uses swap as a form of slower memory. Swap is simply putting pages of memory from your RAM into a file / partition to increase the capacity of it. You can find the amount of swap you have free by running: free -h To change it, you need to disable your existing swap and resize it:
I recently had the good fortune of being asked to work on a project with Finnian Anderson and Ben James, the idea was rather a simple one, just requiring a blog to setup. One of our concerns though was that all of us had done devops before and weren’t particuarly keen to do it again, thus we needed a blog that had as little overhead as possible in terms of setup and maintenance time but still was fast to load and easy to use.
I admit it, yesterday, I built yet another URL shortener with some friends of mine from Subject Refresh. Despite most URL shorteners being detrimental to society, with them disappearing and taking massive sections of the internet with them, we thought we’d add yet another one to see how well our team worked together. We managed to buy the domain, setup the server and host our website in under an hour. This shocked us as we had never done anything in such a short timeframe before.