Open sinbumu opened 2 weeks ago
Hi @sinbumu there's a few things at play here re your setup that we'd be speculating at best. 10mins though is definitely long and we don't see this behaviour so can't reproduce this.
That being said, this is where we set it https://github.com/hyperledger/besu/blob/main/docker/Dockerfile#L59
so you could try switching to perhaps a curl readiness check and that should tell you whether its the OS or similar?
cc: @siladu
I'm experiencing an issue with running Besu in a Docker/Podman container on Rocky Linux 8.6. The container stays in an unhealthy state for an extended period (approximately 9-10 minutes) before eventually switching to healthy. The delay appears to be related to the /tmp/pid file, which is not created immediately upon container startup, causing the health check to fail repeatedly.
Environment
Steps to Reproduce
Observed Behavior
The container stays in an unhealthy state for about 9-10 minutes, then transitions to healthy. During this time, the health check repeatedly fails with exitCode=1, which seems to be related to the /tmp/pid file not being available immediately.
Expected Behavior
The Besu container should create the /tmp/pid file promptly upon startup to allow the health check to succeed or provide an alternative health check method that accurately reflects the container's readiness state.
Logs
Here are relevant sections of the Docker logs showing repeated health check failures:
Additional Information
Questions