You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Check the container health status (podman ps or docker ps) and observe that it remains in the unhealthy state.
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:
time="2024-11-12T06:58:15.854925216Z" level=debug msg="Health check for container done (exitCode=1)"
...
time="2024-11-12T06:58:20.905606739Z" level=debug msg="Health check for container done (exitCode=1)"
Additional Information
Disk Performance: Disk write speed is around 140 MB/s, so storage performance does not seem to be the issue.
Attempts with Alternative Configurations: Tried increasing health-interval and StartPeriod, but the delay in healthy state persists.
Other OS: The same configuration on Ubuntu does not exhibit this delay, so this issue might be specific to Rocky Linux or RHEL-based systems.
Questions
Could there be an OS compatibility issue with Rocky Linux, or specific configurations we should adjust?
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: