wiki:change_ulimits_on_unprivileged_containers
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
wiki/change_ulimits_on_unprivileged_containers.txt · Last modified: 2021/04/01 14:40 by antisa