docker containers reported as unhealthy due to slow eturnalctl status response
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- docker, erlang
- Domain
- devops, networking
Research direction
Reproduce the reported delay by running eturnalctl status inside the Docker container and compare it with the five-second health-check timeout. Review the container health-check configuration and the docker-compose.yml override described in the issue; done means identifying the cause of the slow response and documenting or validating an appropriate health-check adjustment.
Written by the indexing model from the issue text.
Description
Please consider this more as a question.
The docker container's health check is setup to call eturnalctl status once a minute and timout after 5 seconds.
I have just recently setup two instances of eturnal on docker, both of which take about 15 seconds to report status, hence being reported as unhealthy.
Comand run inside the container:
~ $ time eturnalctl status
eturnal is running
real 0m 15.10s
user 0m 0.03s
sys 0m 0.06s
The outcome is the same on AMD Epyc (~2.4GHz) and Intel Xeon (~2.1GHz) hosts, with next to no cpu usage in total.
I can fix this by adding custom healthcheck parameters in my docker-compose.yml so that's not an issue.
I do wonder though, if the discrepancy between the default 5 seconds and the experienced 15 seconds are a problem on my end, and if so, how to possibly debug and mitigate.
Best regards!
- Dominant language
- Erlang
- Stars
- 342
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from processone/eturnal
-
containers enhancement
Difficulty 3/5 1-2 days Newbie friendliness 38/100
processone/eturnal#106 · 2 comments ·
-
bug
processone/eturnal#105 · 2 comments · 1 assignee ·
-
awaiting-feedback containers
processone/eturnal#103 · 8 comments · 1 assignee ·
-
enhancement
processone/eturnal#100 · 2 comments · 1 assignee ·
-
enhancement support
processone/eturnal#99 · 31 comments · 1 assignee ·
All issues in processone/eturnal
Similar issues
-
kind/bug Ubuntu 24
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kubernetes-sigs/kubespray#13532 ·
-
Needs Design Priority: Wishlist
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
elementary/flatpak-platform#253 ·
-
tagbot-manual
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100