plane claude 3

This commit is contained in:
titver968
2025-10-24 11:56:19 +02:00
parent 8aa41ae7cd
commit b44fe606f5

View File

@@ -59,8 +59,8 @@ spec:
# Celery Worker - Aggressive Memory-Begrenzung # Celery Worker - Aggressive Memory-Begrenzung
CELERY_WORKER_CONCURRENCY: "1" CELERY_WORKER_CONCURRENCY: "1"
CELERY_WORKER_MAX_TASKS_PER_CHILD: "10" CELERY_WORKER_MAX_TASKS_PER_CHILD: "5"
CELERY_WORKER_MAX_MEMORY_PER_CHILD: "500000" CELERY_WORKER_MAX_MEMORY_PER_CHILD: "400000"
CELERY_WORKER_PREFETCH_MULTIPLIER: "1" CELERY_WORKER_PREFETCH_MULTIPLIER: "1"
# Task Limits - Sehr restriktiv # Task Limits - Sehr restriktiv
@@ -69,23 +69,29 @@ spec:
CELERY_TASK_ACKS_LATE: "true" CELERY_TASK_ACKS_LATE: "true"
CELERY_TASK_REJECT_ON_WORKER_LOST: "true" CELERY_TASK_REJECT_ON_WORKER_LOST: "true"
# Task-Routing um problematische Tasks zu isolieren
CELERY_TASK_DEFAULT_QUEUE: "default"
CELERY_TASK_CREATE_MISSING_QUEUES: "true"
# Python Memory Management # Python Memory Management
PYTHONMALLOC: "malloc" PYTHONMALLOC: "malloc"
MALLOC_TRIM_THRESHOLD_: "65536" MALLOC_TRIM_THRESHOLD_: "65536"
MALLOC_MMAP_THRESHOLD_: "65536"
# Logging reduzieren # Logging erhöhen um Problem-Tasks zu identifizieren
CELERY_WORKER_LOG_LEVEL: "WARNING" CELERY_WORKER_LOG_LEVEL: "INFO"
CELERY_TASK_LOG_FORMAT: "[%(asctime)s: %(levelname)s/%(processName)s] %(task_name)s[%(task_id)s]: %(message)s - Memory: %(process)s"
worker: worker:
replicas: 3 replicas: 2
concurrency: 1 concurrency: 1
resources: resources:
requests: requests:
memory: "4096Mi" memory: "2Gi"
cpu: "500m" cpu: "500m"
limits: limits:
memory: "8192Mi" memory: "6Gi"
cpu: "1500m" cpu: "1500m"
# Health Checks komplett deaktiviert für Debugging # Health Checks komplett deaktiviert für Debugging