Skip to content

Commit

Permalink
uwsgi: improve configuration
Browse files Browse the repository at this point in the history
Changes uWSGI configuration to add vacuuming of generated files and
sockets, similarly to what we did for the CERN Open Data service.

See <https://github.com/cernopendata/opendata.cern.ch/pull/3334/files>
and
<https://www.bloomberg.com/company/stories/configuring-uwsgi-production-deployment/>.
  • Loading branch information
tiborsimko committed Mar 9, 2023
1 parent 4bffd0a commit cc1b3a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Version 0.9.1 (UNRELEASED)
- Adds support for Kubernetes clusters 1.26.
- Adds new configuration option ``ingress.extra`` to define extra Ingress resources, in order to support redirecting HTTP requests to HTTPS with traefik v2 version.
- Adds new configuration option ``ingress.tls.hosts`` to define hosts that are present in the TLS certificate, in order to support cert-manager's automatic creation of certificates.
- Changes uWSGI configuration to add vacuuming of generated files and sockets.
- Fixes uWSGI memory consumption on systems with very high allowed number of open files.

Version 0.9.0 (2023-01-26)
Expand Down
2 changes: 2 additions & 0 deletions helm/reana/templates/uwsgi-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ data:
master = true
processes = {{ .Values.components.reana_server.uwsgi.processes }}
threads = {{ .Values.components.reana_server.uwsgi.threads }}
enable-threads = true
single-interpreter = true
need-app = true
vacuum = true
wsgi-disable-file-wrapper = true
auto-procname = true
Expand Down

0 comments on commit cc1b3a5

Please sign in to comment.