Skip to content

feat(config): introduce new parameters for uWSGI worker recyling#642

Open
Alputer wants to merge 1 commit into
reanahub:maint-0.9from
Alputer:add-worker-recycling-params
Open

feat(config): introduce new parameters for uWSGI worker recyling#642
Alputer wants to merge 1 commit into
reanahub:maint-0.9from
Alputer:add-worker-recycling-params

Conversation

@Alputer
Copy link
Copy Markdown
Member

@Alputer Alputer commented Mar 26, 2025

Upgrade uwsgi version and add new parameters for worker recycling.

  • idle: Restarts the worker after it has been idle for the specified number of seconds.
  • max-requests: Restarts the worker after serving the specified number of requests.
  • max-worker-lifetime: Restarts the worker after running for the specified number of seconds.
  • reload-on-rss: Restarts the worker when its resident memory exceeds the specified threshold.

Closes #641

@Alputer Alputer requested a review from tiborsimko March 26, 2025 11:59
@Alputer Alputer self-assigned this Mar 26, 2025
Alputer added a commit to Alputer/reana-workflow-controller that referenced this pull request Mar 26, 2025
…nahub#642)

Upgrade `uwsgi` version and add new parameters for worker recycling.

- `idle`: Restarts the worker after it has been idle for the specified
   number of seconds.
- `max-requests`: Restarts the worker after serving the specified number
   of requests.
- `max-worker-lifetime`: Restarts the worker after running for the
   specified number of seconds.
- `reload-on-rss`: Restarts the worker when its resident memory exceeds
   the specified threshold.

Closes reanahub#641
@Alputer Alputer force-pushed the add-worker-recycling-params branch from 6be55b0 to 4628b2a Compare March 26, 2025 13:10
Alputer added a commit to Alputer/reana-workflow-controller that referenced this pull request Mar 26, 2025
…nahub#642)

Upgrade `uwsgi` version and add new parameters for worker recycling.

- `idle`: Restarts the worker after it has been idle for the specified
   number of seconds.
- `max-requests`: Restarts the worker after serving the specified number
   of requests.
- `max-worker-lifetime`: Restarts the worker after running for the
   specified number of seconds.
- `reload-on-rss`: Restarts the worker when its resident memory exceeds
   the specified threshold.

Closes reanahub#641
@Alputer Alputer force-pushed the add-worker-recycling-params branch from 4628b2a to 5258b7b Compare March 26, 2025 13:17
…nahub#642)

Upgrade `uwsgi` version and add new parameters for worker recycling.

- `idle`: Restarts the worker after it has been idle for the specified
   number of seconds.
- `max-requests`: Restarts the worker after serving the specified number
   of requests.
- `max-worker-lifetime`: Restarts the worker after running for the
   specified number of seconds.
- `reload-on-rss`: Restarts the worker when its resident memory exceeds
   the specified threshold.

Closes reanahub#641
@Alputer Alputer force-pushed the add-worker-recycling-params branch from 5258b7b to 2c087a3 Compare March 26, 2025 13:27
@tiborsimko tiborsimko moved this to In review in 0.95.0 May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

2 participants