{{tag>lxc virtualization containers proxmox}} ====== 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/.conf// ====== Tested on ====== * ====== See also ====== * [[Create container]] * [[Moving lxc containers]] * [[lxc troubleshooting]] * [[wiki:change_privileged_unprivileged_container|Change privileged to unprivileged container in Proxmox]] ====== References ====== * https://forum.proxmox.com/threads/increase-nofile-in-lxc-containers.40236/