Skip to content

UWSGI container high memory usage on Kubernetes with 2.53.1 #13899

@goat-ssh

Description

@goat-ssh

Bug description
We've upgraded v2.50.4 -> 2.53.1. Our usage pattern have not changed and the container has quite some spikes

Expected behavior
Memory usage is stable

Deployment method (select with an X)

  • Docker Compose
  • Kubernetes
  • GoDojo

Environment information

  • DefectDojo version 2.53.1
  • k8s 1.33 AKS

Screenshots

Image

Additional context (optional)

helm values (chart 1.9.1):

celery:
  beat:
    resources:
      limits:
        cpu: 500m
      requests:
        cpu: 100m
  worker:
    resources:
      limits:
        cpu: 500m
      requests:
        cpu: 100m
createPostgresqlSecret: true
createSecret: true
createValkeySecret: true
django:
  ingress:
    annotations:
      nginx.ingress.kubernetes.io/proxy-body-size: 50M
    ingressClassName: nginx
  nginx:
    resources:
      limits:
        cpu: 200m
      requests:
        cpu: 100m
  uwsgi:
    enableDebug: true
    resources:
      limits:
        cpu: 500m
        memory: 1Gi
      requests:
        cpu: 100m
global:
  postgresql:
    auth:
      password: ddddd
host: dojo.xyz

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions