User Details
- User Since
- Jul 26 2022, 2:11 PM (215 w, 4 d)
- Availability
- Available
- IRC Nick
- claime
- LDAP User
- Clément Goubert
- MediaWiki User
- CGoubert-WMF [ Global Accounts ]
Fri, Sep 11
I think that would be I/F now.
This is a stopgap measure until T436223: Add backend information to webrequests in data lake can be implemented to avoid crumbling Druid through Turnilo when we need to separate requests that go to mw-web or rest-gateway
Thu, Sep 10
As far as complex queries go, T436223: Add backend information to webrequests in data lake would help, I also asked @JAllemandou to create a derived column for is_api_call in the meantime for
URI Host != 'thumb.wikimedia.org' URI Path !~ (?i)^/(|w/api.php|w/rest.php|api/|core|service|feed) Webrequest source = text
I'm gonna be bold and close this task. Invalid is the closest status I can think of, but it is not a reflection on the information or discussion that happened in this task.
Wed, Sep 9
Agreed but I think an exception should be carved out for staging, as it would simplify the testing loop for developers by cutting out patching deployment-charts to bump the image version.
Tue, Sep 8
I ran debmonitor manually and it's gone.
Updated, this should now be cleared but I'll check after the next debmonitor run
On it, this is mw-debug in staging which hasn't been updated since April because it's mostly sitting unused.
Mon, Sep 7
commonswiki Error: 2006 MySQL server has gone away
Fri, Sep 4
Thu, Sep 3
Deployed, but I can't seem to find the metric being exported by mw-debug's statsd exporters after triggering errors with curl -k -H 'Host: en.wikipedia.org' 'https://mwdebug.discovery.wmnet:4444/w/fatal-error.php?action=oom&password=XXXXXXX'
Wed, Sep 2
I'll try to sneak it in after T436781: Live-Test - September 2nd 2026
Tue, Sep 1
I'll be your scroll bearer, you can set up a meeting so we can go through the prologue detail.
The outbound calls to the LoC are made through url-downloader right?
Traffic I'm not too familiar with squid (the http proxy used by url-downloader) but would there be a way to add rate limits for some domains there?
Another possible solution would be something like:
- Add url-downloader to the service mesh
- Add redis-backed rate limiting to the service mesh
- Set custom policies for the different external URLs used by citoid
However this would be costly in engineering time, adding a lot of complexity to the request path, and probably low-value for reuse.
Additional parameters for a new run:
- Correlate with KAPOW scores to see if interesting information pops up
- Correlate with known_client to see if we need to implement known_client ratelimit bypass
- Estimate bandwidth savings avg(response_size)*blocked_requests, possibly estimate over X-Is-Browser and top clients
From analysis of requests done in T434179: Data analysis request for media rate limiting, current limit of 600MB/min would:
- Block 0.0088% of clients, 0.0335% of requests
- Mostly in the low-medium X-Is-Browser
Mon, Aug 31
In conclusion, error-params.php is used to configure php7-fatal-error.php to bubble up a counter of uncaught exceptions that are not rendered by mediawiki. I think if only to avoid a broken counter and confusion about what is in use, merging https://gerrit.wikimedia.org/r/c/operations/puppet/+/1049625 to close T356814 is the best course of action.
I didn't delete the failed job properly, my bad.
Transient issue, the following run completed correctly.
cleanup-upload-stash-29800860 Failed 0/1 32h 32h cleanup-upload-stash-29802300 Complete 1/1 35m 8h
Thu, Aug 27
I don't have a particularly strong opinion on the pull-side access, because IMO the idea is that the images don't show up on the public registry but not necessarily to gate pull access from production in general.
On the push side, maybe gitlab trusted runners can have access to restricted, but I'd be in favour of maybe testing that out in a separate namespace at first?
Wed, Aug 26
Just merged, we'll reopen if it doesn't help.
Tue, Aug 25
Thu, Aug 20
It seems to have lasted for about 24 hours then stopped. I've tried to match with operations or alerts in production but can't find a smoking gun.
This is done, we can investigate adding a fourth machine for load spreading and turning up the replication factor in MediaWiki to tolerate two down servers at the same time (currently one) if needed, but that would be the subject of a new task.
I think setting it to send to the exporter should be fine then.
@jasmine_ Can you take care of adding the servers to site.pp and preseed.yml please?
@Joe @Krinkle I'm trying to remember two things:
- Is this file used in "normal operations", meaning called by MediaWiki to handle fatal errors in production, or is it only used to trigger errors at-will during testing/debugging?
- Is sending these errors to statsd an integral part of that flow, and can it be changed to what MediaWiki already does in its normal operation: sending to statsd-prometheus-exporter ?
Wed, Aug 19
I'm rerunning the couple jobs that failed and didn't have a subsequent successful run.
Tue, Aug 18
That particular instance of the job did fail, but there's one running right now that seems fine
Mon, Aug 17
Looks like something is wrong with the prometheus export, I can't find the new hosts in the redis_up metric, will dig further.
All jobs should now be re-running or completed.
List of failed jobs left to rerun:
I'm rerunning the failed jobs I can find btw.
Caused by an error in global runner script, should be fixed now, so re-running manually.