Comment on Quick video demonstrating that lemmy.world sends every activity out twice
MichaelTen@lemmy.world 7 months ago
Is it a misconfiguration or a software bug?
Comment on Quick video demonstrating that lemmy.world sends every activity out twice
MichaelTen@lemmy.world 7 months ago
Is it a misconfiguration or a software bug?
freamon@lemmy.world 7 months ago
When I’ve mentioned this issue to admins at lemmy.ca and endlesstalk.org (relevant posts here and here), they’ve suggested it’s a misconfiguration. When I said the same to lemmy.world admins (relevant comment here), they also suggested it was misconfig. I mentioned it again recently on the LW channel, and it was only then was Lemmy itself proposed as a problem. It happens on plenty of servers, but not all of them, so I don’t know where the fault lies.
SorteKanin@feddit.dk 7 months ago
Could it be something to do with an instance running multiple servers, i.e. for horizontal scaling? Maybe there’s some configuration problem where two servers are sending out the federation rather than just one.
Obviously if you only run one lemmy process (which I think most smaller instances do) then it’s not a problem. But if you run more (which I’d assume lemmy.world does) then it could perhaps be the reason.
freamon@lemmy.world 7 months ago
Perhaps. The lemmy.ca post has a comment in from the mander.xyz admin who’s only running one, and there’s a new comment in this thread saying mander.xyx is one of the instances they see the most duplicates from.
nutomic@lemmy.ml 7 months ago
Sounds like there might be a bug in Lemmy then. Can you open an issue please?
freamon@lemmy.world 7 months ago
Yeah, that’s the conclusion I came away with from the lemmy.ca and endlesstalk.org chats. That’s it due to multiple docker containers. In the LW Matrix room though, an admin said he saw one container send the same activity out 3 times. Also, LW were presumably running multiple containers with 0.18.5, when it didn’t happen, so it maybe that multiple containers is only part of the problem.
SorteKanin@feddit.dk 7 months ago
I’m not surprised that it changed from 0.18.5 as the way that you spread the federation queue out changed significantly from that version to 0.19.
All the information is here but if you just run the same configuration and before 0.19, then you will have trouble.