Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caddy healthcheck is flooding log files with "stream copy error"s #451

Open
dhlavaty opened this issue Jan 31, 2025 · 0 comments
Open

Caddy healthcheck is flooding log files with "stream copy error"s #451

dhlavaty opened this issue Jan 31, 2025 · 0 comments

Comments

@dhlavaty
Copy link

Healtcheck at

healthcheck:
test: ["CMD-SHELL", "curl --fail http://localhost:2019/metrics || exit 1"]
start_period: 20s
interval: 20s
timeout: 5s
retries: 3
is flooding log files with stream copy error every 20 seconds.

I followed official docs to run Seafile on my raspberry pi 5 running Debian GNU/Linux 12 (bookworm).

Nevertheless, the whole Seafile works properly.

I only found this healthcheck mentioned here in https://github.com/haiwen/seafile-admin-docs/ project, so I'm opening this issue here.

Example:

Jan 31 10:49:03 rpi5 dockerd[846]: time="2025-01-31T10:49:03.263113426+01:00" level=warning msg="Health check for container 68150f06ac84b4e5d48f9>
Jan 31 10:49:23 rpi5 dockerd[846]: time="2025-01-31T10:49:23.329812669+01:00" level=error msg="stream copy error: reading from a closed fifo"
Jan 31 10:49:23 rpi5 dockerd[846]: time="2025-01-31T10:49:23.329828521+01:00" level=error msg="stream copy error: reading from a closed fifo"
Jan 31 10:49:23 rpi5 dockerd[846]: time="2025-01-31T10:49:23.331945323+01:00" level=warning msg="Health check for container 68150f06ac84b4e5d48f9>
Jan 31 10:49:43 rpi5 dockerd[846]: time="2025-01-31T10:49:43.419218442+01:00" level=error msg="stream copy error: reading from a closed fifo"
Jan 31 10:49:43 rpi5 dockerd[846]: time="2025-01-31T10:49:43.419218461+01:00" level=error msg="stream copy error: reading from a closed fifo"
Jan 31 10:49:43 rpi5 dockerd[846]: time="2025-01-31T10:49:43.421551467+01:00" level=warning msg="Health check for container 68150f06ac84b4e5d48f9>
Jan 31 10:50:03 rpi5 dockerd[846]: time="2025-01-31T10:50:03.486763327+01:00" level=error msg="stream copy error: reading from a closed fifo"
Jan 31 10:50:03 rpi5 dockerd[846]: time="2025-01-31T10:50:03.486793346+01:00" level=error msg="stream copy error: reading from a closed fifo"
Jan 31 10:50:03 rpi5 dockerd[846]: time="2025-01-31T10:50:03.489752502+01:00" level=warning msg="Health check for container 68150f06ac84b4e5d48f9>
Jan 31 10:50:23 rpi5 dockerd[846]: time="2025-01-31T10:50:23.567312512+01:00" level=error msg="stream copy error: reading from a closed fifo"
Jan 31 10:50:23 rpi5 dockerd[846]: time="2025-01-31T10:50:23.567424494+01:00" level=error msg="stream copy error: reading from a closed fifo"
Jan 31 10:50:23 rpi5 dockerd[846]: time="2025-01-31T10:50:23.570884077+01:00" level=warning msg="Health check for container 68150f06ac84b4e5d48f9>
Jan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant