Skip to content

chore: increase worker startup timeout #14474

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

miketheman
Copy link
Member

@miketheman miketheman commented Sep 1, 2023

With the latest Celery release 5.3.2, the default startup time of 4.0 seconds is no longer fast enough for some of our worker bootups.

This is not a full solution, rather a stopgap to allow workers to thrash less.

Refs: https://python-software-foundation.sentry.io/share/issue/fc01ee336e3045199ea9918e41c0a05e/
Fixes WAREHOUSE-PRODUCTION-1FX
Fixes WAREHOUSE-PRODUCTION-1M4
Fixes WAREHOUSE-PRODUCTION-1M5
Fixes WAREHOUSE-STAGING-MK
Fixes WAREHOUSE-STAGING-MM
Fixes WAREHOUSE-STAGING-N8

With the latest Celery release 5.3.2, the default startup time of 4.0
seconds is no longer fast enough for some of our worker bootups.

This is not a full solution, rather a stopgap to allow workers to thrash
less.

Fixes WAREHOUSE-PRODUCTION-1FX
Fixes WAREHOUSE-PRODUCTION-1M4
Fixes WAREHOUSE-PRODUCTION-1M5
Fixes WAREHOUSE-STAGING-MK
Fixes WAREHOUSE-STAGING-MM
Fixes WAREHOUSE-STAGING-N8

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
@miketheman miketheman requested a review from a team as a code owner September 1, 2023 19:38
@miketheman miketheman enabled auto-merge (squash) September 1, 2023 19:40
@miketheman miketheman merged commit a29912c into pypi:main Sep 1, 2023
@miketheman miketheman deleted the miketheman/increate-worker-startup-time branch September 1, 2023 19:45
miketheman added a commit to miketheman/warehouse that referenced this pull request Sep 1, 2023
ewdurbin pushed a commit that referenced this pull request Sep 3, 2023
* Revert "chore: increase worker startup timeout (#14474)"

This reverts commit a29912c.

* chore: revert celery and kombu upgrade

We're seeing some slowdowns and startup time alerts with the latest
versions.

Signed-off-by: Mike Fiedler <miketheman@gmail.com>

---------

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants