User Tools

Site Tools


wiki:change_ulimits_on_unprivileged_containers

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

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki