Skip to content

Commit a50c90c

Browse files
authored
fix: high uwsgi memory usage caused by uwsgi allocating memory based on (#1974)
max-fd
1 parent b70306c commit a50c90c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

charts/sentry/templates/sentry/web/deployment-sentry-web.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ spec:
101101
ports:
102102
- containerPort: {{ template "sentry.port" }}
103103
env:
104+
- name: UWSGI_MAX_FD
105+
value: {{ .Values.sentry.web.uwsgiMaxFd|quote }}
104106
{{ include "sentry.env" . | indent 8 }}
105107
{{ include "sentry.env.nodestore-s3" . | indent 8 }}
106108
{{ if .Values.sentry.web.customCA }}

charts/sentry/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ sentry:
307307
volumes: []
308308
volumeMounts: []
309309
# workers: 3
310+
uwsgiMaxFd: 8192
310311

311312
features:
312313
orgSubdomains: false

0 commit comments

Comments
 (0)