Self Checks
Dify version
1.13.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
i use the portainer dashboard ,i find the worker service state is unhealthy
, I noticed that the CPU usage of my two worker containers occasionally exceeded 100%,
But when I entered the worker container to check the logs, they showed that everything was normal. I found that there is a health check code in the main version of the work service as follows:
healthcheck:
test: ["CMD-SHELL", "celery -A celery_entrypoint.celery inspect ping"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
Could it be this that caused it?
✔️ Expected Behavior
worker service state is healthy
❌ Actual Behavior
No response
Self Checks
Dify version
1.13.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
i use the portainer dashboard ,i find the worker service state is unhealthy
, I noticed that the CPU usage of my two worker containers occasionally exceeded 100%,
But when I entered the worker container to check the logs, they showed that everything was normal. I found that there is a health check code in the main version of the work service as follows:
healthcheck:
test: ["CMD-SHELL", "celery -A celery_entrypoint.celery inspect ping"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
Could it be this that caused it?
✔️ Expected Behavior
worker service state is healthy
❌ Actual Behavior
No response