Page MenuHomeMiraheze

Varnish Rate Limit
Closed, DeclinedPublic

Description

I occasionally get this Varnish code on famepedia, I first observed it 2 days ago and yesterday too, though it'll stop but naah.

Error 429 Varnish Rate Limit Exceeded
Varnish Rate Limit Exceeded

Guru Meditation:
XID: 23008093

Varnish cache server

Related Objects

Event Timeline

Unknown Object (User) lowered the priority of this task from High to Normal.Jul 17 2021, 21:13
Unknown Object (User) changed the visibility from "Custom Policy" to "Public (No Login Required)".
Unknown Object (User) changed the edit policy from "Custom Policy" to "All Users".
Unknown Object (User) added projects: Varnish, Infrastructure (SRE), MediaWiki (SRE).
Unknown Object (User) moved this task from Incoming to Short Term on the Infrastructure (SRE) board.

You really shouldn't hit the rate limit.

What were you doing?

Unknown Object (User) moved this task from Backlog to Short Term on the MediaWiki (SRE) board.Jul 17 2021, 21:13
Unknown Object (User) closed this task as Declined.EditedJul 17 2021, 21:16
Unknown Object (User) claimed this task.

T7470#151209

Hitting this rate limit depends on how many API requests you make, the amount of JS and CSS individual files used (via @import, etc...)

Unknown Object (User) moved this task from Unsorted to Short Term on the Universal Omega board.Jul 17 2021, 21:16

You really shouldn't hit the rate limit.

What were you doing?

Creating templates i think

I'll note that loading in a large number of scripts at once (such as listing multiple scripts in your common.js) can cause this to happen. Particularly if those scrips create additional requests to the server.

T7470#151209

Hitting this rate limit depends on how many API requests you make, the amount of JS and CSS individual files used (via @import, etc...)

Oh, I see

In T7655#153833, @Void wrote:

I'll note that loading in a large number of scripts at once (such as listing multiple scripts in your common.js) can cause this to happen. Particularly if those scrips create additional requests to the server.

I'm not sure they are too much scripts (if any) in my common.js though