diff --git a/daemon/libvirtd.sysconf b/daemon/libvirtd.sysconf index 3af1f037d6..f15e5956eb 100644 --- a/daemon/libvirtd.sysconf +++ b/daemon/libvirtd.sysconf @@ -20,5 +20,14 @@ # #SDL_AUDIODRIVER=pulse -# Override the maximum number of opened files +# Override the maximum number of opened files. +# This only works with traditional init scripts. +# In the systemd world, the limit can only be changed by overriding +# LimitNOFILE for libvirtd.service. To do that, just create a *.conf +# file in /etc/systemd/system/libvirtd.service.d/ (for example +# /etc/systemd/system/libvirtd.service.d/openfiles.conf) and write +# the following two lines in it: +# [Service] +# LimitNOFILE=2048 +# #LIBVIRTD_NOFILES_LIMIT=2048