30
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 26 Oct 2025
30 points (100.0% liked)
Meta (slrpnk.net)
850 readers
5 users here now
Here we can discuss anything about this Lemmy instance/server itself.
Our XMPP support chat: Movim or XMPP client.
founded 3 years ago
MODERATORS
The Lemmy backend causes the Postgres database to use more and more RAM, to the point that it crashes with out of memory issues randomly and causes other processes to go down with it. I have reported the issue multiple times and I am not the only one with the problem since many years, but apparently you think this is a Postgres misconfiguration issue. I tried a lot of settings regarding the Postgres config but it doesn't change much. Different versions of Lemmy had this issue to different levels of severity though, with the newest version being quite bad again after some improvements in earlier versions. I think other instances have largely given up on fixing this as well and just regularly restart the Lemmy backend, which resets the RAM use of the database.
The idea of a centralized source of popular communities is generally bad and if you want a way to have better discoverability the source of it should be left up to instance admins to decide. I agree that lemmyverse.net also wouldn't be a good choice for that, and admitably I am not happy about Piedfed using that for similar purposes, but at least it is much easier to modify that behavior in the Piefed.
Hmm on lemmy.ml we dont have such a problem with RAM usage by Postgres. In our case total RAM usage is quite stable with 10 - 16 GB over the past month. Its also strange that restarting Lemmy would solve the problem, I would expect that you have to restart Postgres.
The list of popular communities is only loaded when a new instance is setup for the first time. For existing instances like slrpnk.net it wont be used at all.