Diff snap shot on large memory fails #2811
-
Hi,
What is happening here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
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 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 for reporting this. |
Beta Was this translation helpful? Give feedback.
-
PR on main that includes the fix, as well as a regression test: #2819 |
Beta Was this translation helpful? Give feedback.
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 withlibc::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…