Tagged with “Devops” (1)

While uploading the picture of the bread I noticed that somewhere in the upload process the page would just turn blank and the upload would fail without any error message.

When I checked the server process in journalctl, I realized that the elixir process gets killed because it’s exhausting the memory of my (admittedly undersized) VPS. Since I do some processing (mostly dithering and resizing) of all uploaded images, it takes up to 400MB at one point.

Sometimes that’s less than is available so the OOM Killer (badass name) steps in and kills the process.