Skip to content

docker-worker-1 adn docker-worker_beat-1 healthy check is unhealthy #34546

@tankeqwe1231

Description

@tankeqwe1231

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

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

Image

, I noticed that the CPU usage of my two worker containers occasionally exceeded 100%,

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions