diff --git a/helm/defectdojo/Chart.yaml b/helm/defectdojo/Chart.yaml index 09b0c3050bb..c1983033270 100644 --- a/helm/defectdojo/Chart.yaml +++ b/helm/defectdojo/Chart.yaml @@ -34,4 +34,6 @@ dependencies: # description: Critical bug annotations: artifacthub.io/prerelease: "true" - artifacthub.io/changes: "" + artifacthub.io/changes: | + - kind: fixed + description: Raise the default uwsgi memory limit from 512Mi to 1Gi so the first login is not OOM-killed diff --git a/helm/defectdojo/README.md b/helm/defectdojo/README.md index 1aa8815944d..2c438f41fd7 100644 --- a/helm/defectdojo/README.md +++ b/helm/defectdojo/README.md @@ -684,7 +684,7 @@ A Helm chart for Kubernetes to install DefectDojo | django.uwsgi.readinessProbe.successThreshold | int | `1` | | | django.uwsgi.readinessProbe.timeoutSeconds | int | `5` | | | django.uwsgi.resources.limits.cpu | string | `"2000m"` | | -| django.uwsgi.resources.limits.memory | string | `"512Mi"` | | +| django.uwsgi.resources.limits.memory | string | `"1Gi"` | Four warm uwsgi processes use about 500Mi, and each concurrent password check (Argon2) adds about 100Mi. Raise this further when raising appSettings.processes or appSettings.threads. | | django.uwsgi.resources.requests.cpu | string | `"100m"` | | | django.uwsgi.resources.requests.memory | string | `"256Mi"` | | | django.uwsgi.startupProbe.enabled | bool | `true` | Enable startup checks on uwsgi container. | diff --git a/helm/defectdojo/values.schema.json b/helm/defectdojo/values.schema.json index 54120f850bf..5ea944070b6 100644 --- a/helm/defectdojo/values.schema.json +++ b/helm/defectdojo/values.schema.json @@ -838,6 +838,7 @@ "type": "string" }, "memory": { + "description": "Four warm uwsgi processes use about 500Mi, and each concurrent password check (Argon2) adds about 100Mi. Raise this further when raising appSettings.processes or appSettings.threads.", "type": "string" } } diff --git a/helm/defectdojo/values.yaml b/helm/defectdojo/values.yaml index 29f8f900db5..f9bc04de94b 100644 --- a/helm/defectdojo/values.yaml +++ b/helm/defectdojo/values.yaml @@ -465,7 +465,9 @@ django: memory: 256Mi limits: cpu: 2000m - memory: 512Mi + # -- Four warm uwsgi processes use about 500Mi, and each concurrent password check (Argon2) adds about 100Mi. + # Raise this further when raising appSettings.processes or appSettings.threads. + memory: 1Gi appSettings: processes: 4 threads: 4