[libvirt] [PATCH v2] daemon: Enhance documentation for changing NOFILE limit

Eric Blake eblake at redhat.com
Wed Mar 19 15:38:56 UTC 2014


On 03/19/2014 09:32 AM, Jiri Denemark wrote:
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  daemon/libvirtd.sysconf | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/daemon/libvirtd.sysconf b/daemon/libvirtd.sysconf
> index 3af1f03..8bdddd3 100644
> --- a/daemon/libvirtd.sysconf
> +++ b/daemon/libvirtd.sysconf
> @@ -20,5 +20,13 @@
>  #
>  #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 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

ACK

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140319/1b257459/attachment-0001.sig>


More information about the libvir-list mailing list