For anything important, use matrix instead of lemmy DMs.
🌉 bridged from @InEnduringGrowStrong@sh.itjust.works by Tidepool
@inenduringgrowstrong.sh.itjust.works.ap.tdpl.io
5 Posts17 Comments0 Memberships
Joined August 2026
For anything important, use matrix instead of lemmy DMs.
🌉 bridged from @InEnduringGrowStrong@sh.itjust.works by Tidepool
SJW - issue loading page 2+
Hi, Many of you have run into this issue lately where the second page of your feed loads so slow that it can even timeout and not load at all. If anyone can test again to confirm my last fix actually works for everyone and not just me. I'll explain my findings in this post once fixed.
I was initially chasing an issue in the UI, the symptoms looked like something we ran into in the past related to dead community icons timing out sequentially and making the page take forever to load. This one was probably fixed in lemmy-ui a while ago.
I noticed this morning that my "mod/new" view was taking 30s to load page 2. I spent some time messing around, but that's another issue (that is still unfixed), possibly related with how that specific query is implemented. Anyway
It turns out this specific issue was completely different, this time it was a database issue. In the default postgres settings, autovacuum's analyze trigger is 50 + 0.1 × reltuples, so a table needs ~10% of its rows inserted, updated, or deleted before it re-analyzes. On a multi-million-row table that's an enormous absolute number, and because the threshold scales with table size, the wait gets longer as the table grows. Append-heavy tables like post_read and comment_like basically sit at 2–4% of threshold forever. That degrades slowly and maybe eventually self-corrects, maybe. What made it an actual issue... I'm not 100% sure... probably it was a stats reset (pg_upgrade doesn't carry activity counters). The long-ass countdown restarted from scratch, while pg_stats still held pre-upgrade values. Basically, the psql query planner was thrown off by estimates from older table versions. Why some people's feed and not everyone's? Good damned question. I think the planner was suboptimal for everyone and everything, but that some specific sorts and filters multiplied it to a catastrophic level for some users' feeds. Active/Hot are likely more expensive than New, people with specific language filters, hide read posts, etc. I'm not exactly sure.
In the process of pulling my hair out, I eventually ran these psql queries:
ANALYZE post; ANALYZE person; ANALYZE local_user_language; ANALYZE community_block; ANALYZE instance_block; ANALYZE person_block; ANALYZE post_hide; ANALYZE post_read; ANALYZE community_follower;
1-2 seconds each, bingo, symptoms went away immediately.
Adjust autovacuum thresholds and/or just periodically analyze such tables. Go live in the woods.
Dreams are just your brain running defrag
Testing removal federation
Lorem ipsum dolor sit amet
alien.top bots
As some of you may have noticed, there's an instance with 1.1M bots reposting reddit posts and comments accross communities in several other instances. I expect there are multiple valid opinions on the subject and this thread is meant to get a feeling of everyone's opinion on the situation. You might also want to read lemmy.ca's discussion on that here which is a pretty decent thread about the subject. Things that I think need to be pointed out: • alien.top currently has 1.1M bots, only 6 of those are weekly users logging in. • together they've made 1.59M comments accross a multitude of communities in other instances. • That project claims to be trying to get reddit users to switch to lemmy. • They have a portal to allow reddit users to claim and take over their bot persona. • alien.top has a single local community, the bots all post on different instances with copies of different subreddits. I don't have an exhaustive list of such communities, I haven't found an official one. I'll post a fewfrom my personal blocklist in a comment below. And a note on the upcoming 0.19 release: • the new user-level instance block feature will block all the communities of the blocked instances, but will not block these users' posts or comments if they are done on another instance's community. My opinion isn't any more valid then anyone else's so I'll put it in a comment below. Our users' input is welcomed. What do you, dear users of sh.itjust.works, think about federation with them? Thanks ———
Comme certains d'entre vous l'ont peut-être remarqué, il y a une instance peuplée de 1,1M de bots qui copient ees posts et commentaires Reddit dans plein de communautés sur plusieurs autres instances. Il y a plusieurs opinions sur le sujet et ce fil de discussion vise à prendre le pouls de l'opinion générale sur la situation. Je vous suggères de lire la discussion chez lemmy.ca à ce sujet ici, discussion intéressante. Quelques points qui, selon moi, doivent être soulignés : • alien.top compte actuellement 1,1 million de robots, dont seulement 6 sont des utilisateurs hebdomadaires qui se login. • collectivement, ils ont déjà fait 1,59 million de commentaires dans une multitude de communautés dans différentes instances. • Ce projet proclame essayer de convertir des utilisateurs de Reddit à passer à Lemmy. • Il existe un portail pour permettre aux utilisateurs de Reddit de prendre contrôle de leur version bot. • alien.top a une seule communauté locale, les bots publient tous sur différentes instances, des copies de différents subreddits. Je n'ai pas de liste exhaustive de ces communautés, à première vue, je n'en trouve pas une liste officielle. Je mettrai dans un commentaire ci-dessous quelques communautés que j'ai bloqué au niveau personnel. Pour finir, une note sur la version 0.19 de lemmy qui s'en vient : • La nouvelle fonctionnalité pour bloquer une instance au niveau d'un uutilisateur bloquera toutes les communautés d'une instance bloquée, mais ne bloquera pas les publications ou les commentaires de ces utilisateurs s'ils sont publiés dans une communauté d'une autre instance. Mon opinion n'est pas meilleur qu'une autre et je mettrai plutôt dans un commentaire ci-bas. Les commentaires de nos utilisateurs sont les bienvenus. Que pensez-vous, cher utilisateurs de sh.itjust.works de la fédération avec eux? Merci
Karl Tremblay (1976-2023) | Les Cowboys Fringants en deuil
Triste nouvelle aujourd'hui. Je m'en va ecouter une ptite toune d'automne...