misago_docker icon indicating copy to clipboard operation
misago_docker copied to clipboard

Mute write errors in uWSGI

Open rafalp opened this issue 1 year ago • 1 comments

When a HTTP connection is closed by client before server completes generating a response to it, a write error is emitted which then gets logged as OSError write error.

During traffic spikes on site those errors also spike up, and can clog up 3rd party services, like they currently did clogging misago-project.org's Sentry.

This PR mutes those errors in uwsgi config

rafalp avatar Jan 14 '24 00:01 rafalp

Zrzut ekranu 2024-01-29 o 19 36 01

I will first implement this change on m-p.org and see how that changes things.

rafalp avatar Jan 29 '24 18:01 rafalp