this post was submitted on 28 May 2024
1 points (100.0% liked)

Lemmy

12395 readers
2 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
 

This is just to followup from my prior post on latencies increasing with increasing uptime (see here).

There was a recent update to lemmy.ml (to 0.19.4-rc.2) ... and everything is so much snappier. AFAICT, there isn't any obvious reason for this in the update itself(?) ... so it'd be a good bet that there's some memory leak or something that slows down some of the actions over time.

Also ... interesting update ... I didn't pick up that there'd be some web-UI additions and they seem nice!

top 9 comments
sorted by: hot top controversial new old
[–] nutomic@lemmy.ml 2 points 2 months ago

There were optimizations related to database triggers, these are probably responsible for the speedup.

https://github.com/LemmyNet/lemmy/pull/4696

[–] davel@lemmy.ml 1 points 2 months ago (2 children)

For the moment at least. Whatever problem we had before, it seemed to get worse over time, eventually requiring a restart. So we’ll have to wait and see.

[–] kate@lemmy.uhhoh.com 1 points 2 months ago (1 children)

My server seems to get slower until requiring a restart every few days, hoping this provides a fix for me too 🤞

[–] poVoq@slrpnk.net 0 points 2 months ago (1 children)

Try switching to Postresql 16.2 or later.

[–] kate@lemmy.uhhoh.com 0 points 2 months ago (1 children)
[–] poVoq@slrpnk.net 1 points 2 months ago

Nothing particular, but there was a strange bug in previous versions that in combination with Lemmy caused a small memory leak.

[–] maegul@lemmy.ml 0 points 2 months ago (1 children)

Well, I've been on this instance through a few updates now (since Jan 2023) and my impression is that it's a pretty regular pattern (IE, certain APIs like that for replying to a post/comment or even posting have increasing latencies as uptime goes up).

[–] dullbananas@lemmy.ca -1 points 2 months ago

Sounds exactly like the problem I fixed and mostly caused

https://github.com/LemmyNet/lemmy/pull/4696

[–] Blaze@reddthat.com 1 points 2 months ago

Reddthat has 0.19.4 too, feels indeed snappier