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

fix: 20 sec timeout for write to disc too short #4944

Merged
merged 1 commit into from
May 23, 2024

Conversation

davhdavh
Copy link
Contributor

20 sec stall on an platter old hdd is not unexpected. Nor is 20s write on a low-tier cloud environment drive unexpected.

300s should however be enough to tell the difference between crappy hardware/environment and actual failure.

fixes #4327

20 sec stall on an platter old hdd is not unexpected.
Nor is 20s write on a low-tier cloud environment drive unexpected.

300s should however be enough to tell the difference between crappy hardware and actual failure.

fixes moby#4327

Signed-off-by: Dennis Haney <davh@davh.dk>
Copy link
Member

@tonistiigi tonistiigi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As follow-up we should change this timeout to collect stacktrace of the stuck goroutine before cancelling as still somewhat unclear why such a big gap could happen in practice.

@thompson-shaun thompson-shaun added this to the v0.14.0 milestone May 22, 2024
@thompson-shaun thompson-shaun merged commit 593aad1 into moby:master May 23, 2024
74 checks passed
@tonistiigi
Copy link
Member

#4947 could be one of the reasons you reached the timeout before.

@davhdavh davhdavh deleted the patch-1 branch May 24, 2024 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ERROR: failed to solve: DeadlineExceeded: context deadline exceeded
3 participants