Skip to content

Diff snap shot on large memory fails #2811

Answered by alindima
dwaddington asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, this is a seccomp failure, caused by the Firecracker process issuing a syscall that is not allowed by the installed filter, in this case it is mmap. I've managed to reproduce this and indeed the fix is allowing mmap with libc::MAP_ANONYMOUS | libc::MAP_PRIVATE on the vmm thread, called to allocate some large buffer (412 KB as far as I can see via strace).

Are you building Firecracker from the main branch?

As an experimental workaround you may compile your own seccomp filter using seccompiler-bin. More details here: https://github.com/firecracker-microvm/firecracker/blob/main/docs/seccomp.md#custom-filters-advanced-users-only

We will shortly add a patch on the main branch. Thanks fo…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@dwaddington
Comment options

Answer selected by dwaddington
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants