diff --git a/argocd/apps/plane/values-plane.yaml b/argocd/apps/plane/values-plane.yaml index 2f80a5c..a286f89 100644 --- a/argocd/apps/plane/values-plane.yaml +++ b/argocd/apps/plane/values-plane.yaml @@ -59,8 +59,8 @@ spec: # Celery Worker - Aggressive Memory-Begrenzung CELERY_WORKER_CONCURRENCY: "1" - CELERY_WORKER_MAX_TASKS_PER_CHILD: "10" - CELERY_WORKER_MAX_MEMORY_PER_CHILD: "500000" + CELERY_WORKER_MAX_TASKS_PER_CHILD: "5" + CELERY_WORKER_MAX_MEMORY_PER_CHILD: "400000" CELERY_WORKER_PREFETCH_MULTIPLIER: "1" # Task Limits - Sehr restriktiv @@ -69,23 +69,29 @@ spec: CELERY_TASK_ACKS_LATE: "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 PYTHONMALLOC: "malloc" MALLOC_TRIM_THRESHOLD_: "65536" + MALLOC_MMAP_THRESHOLD_: "65536" - # Logging reduzieren - CELERY_WORKER_LOG_LEVEL: "WARNING" + # Logging erhöhen um Problem-Tasks zu identifizieren + 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: - replicas: 3 + replicas: 2 concurrency: 1 resources: requests: - memory: "4096Mi" + memory: "2Gi" cpu: "500m" limits: - memory: "8192Mi" + memory: "6Gi" cpu: "1500m" # Health Checks komplett deaktiviert für Debugging