Use of mmap() in unprivileged container

Hi there,

We’ve been running a large application in lxd for some time. I’m unsure when our problem started, but we moved from Ubuntu 18.04 to 20.04 as host at some point, and also upgraded lxd - not sure from what. We also seem to have moved from deb lxd to a snap version. Sometime during these changes our application started getting an error when calling mmap, trying to allocate memory, giving “Operation not permitted” .

Currently we’re on Ubuntu 20.04 (host), lxd 4.0.9-8e2046b (snap) with Ubuntu 18.04 in the container.

Any pointers towards figuring out what is causing this?

Thanks