Skip to content

gunicorn control-server errors #2882

Description

@escattone

Since upgrading gunicorn from 22.0.0 to 25.1.0, we occasionally get Control server error: [Errno 13] Permission denied errors.

https://mozilla.sentry.io/share/issue/64e08910fb3e441e9e4223c6da979892/

Version 25 introduced a control socket (Unix socket at /run/gunicorn.ctl by default) that is enabled by default. Our Docker container runs as an unprivileged user, which cannot write to /run/. The control socket allows runtime management of gunicorn via the gunicornc command-line tool. Commands include viewing worker status, adjusting worker count, and graceful reload/shutdown.

We don't use this new feature, so we can disable it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

Status
✔ done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions