Table of Contents

, , ,

Change ulimits on unprivileged containers

If you get this error for example when starting lighttpd inside unpriv. cont.:

Starting web server: lighttpd2018-04-05 13:42:53: (server.c.751) couldn't set 'max filedescriptors' Operation not permitted

Add

lxc.prlimit.nofile: 8192 

to /etc/pve/lxc/<vmid>.conf

Tested on

See also

References