Hm... so turns out the occasional Internal Server Errors were because memory got tight and Linux was killing postgres... . Time to resize the machine! #downforeveryone
Aaaand we're back, now with 4GB of RAM 😅
It was this or trying to make the data update jobs more memory efficient. In the end, $4 per month more was a no-brainer.