this post was submitted on 22 Feb 2026
15 points (100.0% liked)

Lemmy.nz Support / Meta

385 readers
1 users here now

You can ask questions about the Lemmy.nz instance here.

This community also serves as our Meta community, with posts about updates to the Lemmy software on Lemmy.nz or other things relevant to Lemmy.nz users and not relevant to other instances.

founded 2 years ago
MODERATORS
 

Earlier in the series:

TL;DR of this post: We now have Anubis on Lemmy.nz, which helps protect against scrapers.

Hi everyone! As some have noticed, the site has been slow these past few days, which was due to a massive amount of traffic presumed to be from AI scraping bots training LLMs. I posted this elsewhere but will put it here again for good measure (7 day history): unique visitors graph showing seven days of graph, no scale but a total of 4.53 million unique visitors, with the last three days being a huge increase

Yeah so that peak of the graph is over 2 million unique requests that day, and the earlier part of the week has about 100k a day. So a 20x increase in traffic.

You may have also seen some weird stuff over this weekend as I played with how to get Anubis inserted into our Lemmy setup, which wasn't too straightforward with our multitude of frontends and our load balanced Lemmy-UI. You might have seen errors, apps might not have been able to load due to being incorrectly blocked, or you might not have been able to load the site at all. Apologies for this, but I think I have it sorted now.

Running under the assumption that the scrapers are not directly targeting Lemmy but are just scraping everything on the net and we just happen to have a significant amount of content, Anubis has been added only to the front ends (websites you see accessing in a browser), and if you are logged in then the policies are set so Anubis should just pass you straight through without any checks.

The APIs and federation and anything else happening directly with the backend do not go through Anubis. This means apps should not be affected and loading images should not be affected.

I've already noticed a big difference in CPU usage. It went from periods of time averaging over 150% (as in, the CPU couldn't keep up, and you'd see Lemmy fail to load at these times), to the last hour peaking at 47% and mostly hovering around 15-25% CPU usage.

Click for image of last 24 hours CPU usageCPU usage graph of past day showing high CPU usage, then a significant drop over the last few hours

Adding Anubis is a pretty big change that has a decent chance of breaking something so please let me know if you see anything weird!

I'm also happy to give more technical info if anyone wants to know about how it's implemented, the architecture of our Lemmy setup and how it fits in, or anything else. Just ask!

top 21 comments
sorted by: hot top controversial new old
[–] deadbeef79000@lemmy.nz 4 points 5 days ago (1 children)

I have occasionally got an Anubis 'you are not a bot' page when using the site normally.

It seems to persist for a few minutes or hours.

[–] Dave@lemmy.nz 2 points 5 days ago* (last edited 5 days ago) (1 children)

Hmm. Is that while logged in?

Edit: A screen shot of the page and URL would be a great help!

[–] deadbeef79000@lemmy.nz 3 points 5 days ago (1 children)

Yes.

It actually happened this morning while I was using Lemmy on the bus!

Which was only mildly annoying as I was only a few minutes from hopping off.

[–] Dave@lemmy.nz 2 points 5 days ago (1 children)

Sorry, just edited my other post to say: Edit: A screen shot of the page and URL would be a great help!

I am wondering if this is actually related to the Lemmy-UI not responding, and inserting Anubis in the middle may have meant the load balancer isn't working if Anubis is returning a success message.

[–] deadbeef79000@lemmy.nz 2 points 5 days ago (1 children)
[–] Dave@lemmy.nz 2 points 5 days ago (1 children)

Great, thanks! FYI, if you're on the bus and it's not working, apps don't go through Anubis so you could try one of those. Also the alternate frontend websites do go through Anubis but in a different way, so they may work as well!

[–] deadbeef79000@lemmy.nz 2 points 5 days ago (1 children)

This is the screen. It tripped this evening, and came back sometime in the last half hour.

[–] Dave@lemmy.nz 2 points 5 days ago (1 children)

Thanks, others have given me screenshots too, and it all looks the same.

I think the reason it's coming on and off is because of the load balancing. I made a change before while chatting with another user on Matrix, and it fixed it for them. But then I found it broken for me! I've made another change, I'd be interested in knowing if it fixed things for you?

[–] deadbeef79000@lemmy.nz 2 points 5 days ago (1 children)
[–] Dave@lemmy.nz 2 points 5 days ago
[–] taldennz@lemmy.nz 2 points 5 days ago* (last edited 5 days ago) (1 children)

Yeah. I can't seem to get to http://lemmy.nz/ from my fibre in normal or private tabs on Firefox or chrome, desktop or mobile.

Mobile data works... And if I connect first with mobile in Firefox (non private) and then again on fibre it works (fingerprinting or some other state perhaps).

But for now, on desktop I seem to be blocked.

[–] Dave@lemmy.nz 1 points 5 days ago (1 children)

Hmm do you see the Anubis bot checking page or does it not load at all?

If you visit another site with Anubis, say slrpnk.net, does it load ok?

[–] taldennz@lemmy.nz 2 points 5 days ago (1 children)

That one works. I see a similar screen for a bit and then it loads the posts (and I've never been there before)

For Lemmy.NZ I don't see anything except the You are not a Bot. Ironic given my profile

[–] Dave@lemmy.nz 1 points 5 days ago (1 children)

Oh are you seeing the "You are not a bot" screen but it doesn't continue from there, like others have mentioned?

Are you able to get a screen shot for me, including the URL?

[–] taldennz@lemmy.nz 2 points 5 days ago (1 children)

The url is just the url above.

[–] Dave@lemmy.nz 1 points 5 days ago (1 children)

Thanks, that helps a bunch! You're being redirected to the Anubis instance that's set up for the alternate frontends. The main Lemmy-UI is directed to two separate Anubis instances set up to be load balanced with the two Lemmy-UI instances, and they work a bit different so I can tell you've arrived at the wrong one.

Can you tell me, is it still broken now? I have been working with someone else on the Matrix chat and after some changes it seems to be fixed for them.

[–] taldennz@lemmy.nz 2 points 5 days ago (1 children)
[–] Dave@lemmy.nz 1 points 5 days ago (1 children)

What about now? It seemed it wasn't fixed, but I think different people are getting it on and off based on where the load balancer is sending us.

[–] taldennz@lemmy.nz 2 points 5 days ago (1 children)

Multiple browsers and devices, logged in or not.

All working for me now.

[–] Dave@lemmy.nz 2 points 5 days ago

Great! Let me know if things change, it's hard to know if things are broken when it's only happening for some people!

[–] Dave@lemmy.nz 3 points 1 week ago* (last edited 1 week ago)

5 hours later, here's an updated graph:

this image actually contains two graphs. They don't have numbers or scales on them. The top graph The top one is called CPU Usage and shows very spikey up and down lines reaching all the way to the top of the graph, for a little over half of the graph heading from left to right. The lines then fall to not reaching higher than about 1/6th of the height of the graph, showing a significant fall. This continues from just after half way all the way to the end, i.e. now. The second graph is labelled disk io, with a key showing purple for reads and blue for writes. The blue stays down at the bottom with any spikes not really visible at this scale. The purple (reads) shows frequent spikes all the way to the top of the graph, then a bit after halfway, the same time as the first graph, the read IO appears to almost cease, with some occasional spikes, but it's really just a tiny wiggly line compared to the first half of the graph