Skip to content

Fix EAGAIN busy-loop in drain_stdio()#633

Merged
jnovy merged 1 commit intocontainers:mainfrom
jnovy:cpu_load
Feb 10, 2026
Merged

Fix EAGAIN busy-loop in drain_stdio()#633
jnovy merged 1 commit intocontainers:mainfrom
jnovy:cpu_load

Conversation

@jnovy
Copy link
Collaborator

@jnovy jnovy commented Feb 10, 2026

Return false on EAGAIN to stop draining instead of looping.

Fixes #632

Return false on EAGAIN to stop draining instead of looping.

Fixes containers#632

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
@jnovy jnovy requested a review from giuseppe February 10, 2026 19:19
Copy link
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

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

LGTM

@jnovy jnovy merged commit 139a2c1 into containers:main Feb 10, 2026
33 of 35 checks passed
@Bischoff
Copy link

Thank you very much for the fix.

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

Successfully merging this pull request may close these issues.

conmon 2.2.0 at 99 % CPU

3 participants