]> xenbits.xensource.com Git - libvirt.git/commitdiff
daemon: Enhance documentation for changing NOFILE limit
authorJiri Denemark <jdenemar@redhat.com>
Mon, 10 Feb 2014 14:17:05 +0000 (15:17 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 20 Mar 2014 09:55:44 +0000 (10:55 +0100)
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
daemon/libvirtd.sysconf

index 3af1f037d64b0f9007780a2ef25d9b1c84ce918b..f15e5956eb1123c7bbf9aeed980d075693aa3406 100644 (file)
 #
 #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