Skip to content

Repeated EAGAIN errors during UFFD handling without balloon device #5056

@ValentaTomas

Description

@ValentaTomas

Describe the bug

When serving memfile with hugepages via UFFD, I sometimes get EAGAIN errors that are not resolved by retrying (for cca 200ms—4096 retries with minimal 50µs delay).

I’m not using balloon device, so I think the behavior described here and here should not apply, but our UFFD handler is still getting the repeated EAGAINs, even though this get triggered very randomly.

Expected behaviour

There should be either no EAGAINs or they should be resolved after waiting.

Environment

  • Firecracker version: v1.10.1
  • Host and guest kernel versions: 6.8.0-1018-gcp (host), vmlinux-6.1.102 (guest)
  • Architecture: x86_64

Checks

  • Have you searched the Firecracker Issues database for similar problems?
  • Have you read the existing relevant Firecracker documentation?
  • Are you certain the bug being reported is a Firecracker issue?

Metadata

Metadata

Assignees

Labels

Priority: LowIndicates that an issue or pull request should be resolved behind issues or pull requests labelled `Status: Awaiting authorIndicates that an issue or pull request requires author action

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions