500 trying to view a particular user profile
Thanks as always for all you do here. When I click on "bot"'s profile pic, it seems to always 500. Changing to another name, it will 404 or work as expected. Not sure why this might be exactly. https://fedia.io/u/@[email protected] is the link it points at. If you might know why, that's be great since I want to block them, heh. Thanks!
I've had the same experience in the past. And going to the user profile in the original instance was also giving problems which makes it weird to say the least.
I could block it through a different way because opening a post made by it, you can see in the sidebar of the desktop site a summary of actions for the profile, and one of them is the block button.
I totally forgot that's a thing. My brain just ignores the sidebar except if I'm reading rules or a description of a new community. I was able to press that block button. Thanks!
ow this is really bad.
We might found it.. we seems to load all posts into memory.. stupid of course: https://github.com/MbinOrg/mbin/blob/58910f41f11cb969479692965182efbd8796a2a6/src/Repository/UserRepository.php#L120C24-L120C43
Thanks so much for checking. Yeah, if it's doing 20k posts at a time that might not be great.
It seems that this bot account ([email protected]) has a total of 2.5M posts (on fedia.io) 🤯