Thanks. I noticed and reset the server a few minutes ago.
Something has been off recently. The CPU is spiking and the RAM gets used up, which crashes the pict-rs container. The pict-rs won’t reconnect until I reset the lemmy Docker container.
I doubled the RAM and added one core, but that was not enough to stop this problem, which means that whatever is causing these spikes is unconstrained. I need to look more deeply into Docker memory management to see if I can limit RAM usage such that the crash can be avoided while remaining functional.
Thanks. I have looked into it a bit more and I think that it is the postgres database grabbing all the memory it can. I have set a hard limit for the postgres container. Hopefully this resolves the problem!
@Sal@Sal@mander.xyz Another whack-a-mole.
Thanks. I noticed and reset the server a few minutes ago.
Something has been off recently. The CPU is spiking and the RAM gets used up, which crashes the pict-rs container. The pict-rs won’t reconnect until I reset the lemmy Docker container.
I doubled the RAM and added one core, but that was not enough to stop this problem, which means that whatever is causing these spikes is unconstrained. I need to look more deeply into Docker memory management to see if I can limit RAM usage such that the crash can be avoided while remaining functional.
Goodluck, comrade.
Thanks. I have looked into it a bit more and I think that it is the postgres database grabbing all the memory it can. I have set a hard limit for the postgres container. Hopefully this resolves the problem!