[libvirt] [PATCH] daemon: Enhance documentation for changinging NOFILE limit

Alex Jia ajia at redhat.com
Tue Feb 11 06:06:57 UTC 2014


BTW, I filed a similar bug 1059518 for LXC guide.

-- 
Regards,     
Alex


----- Original Message -----
From: "Eric Blake" <eblake at redhat.com>
To: libvir-list at redhat.com
Sent: Tuesday, February 11, 2014 12:51:23 AM
Subject: Re: [libvirt] [PATCH] daemon: Enhance documentation for changinging NOFILE limit

On 02/10/2014 07:26 AM, Jiri Denemark wrote:
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  daemon/libvirtd.sysconf | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/daemon/libvirtd.sysconf b/daemon/libvirtd.sysconf
> index 3af1f03..06f6a2c 100644
> --- a/daemon/libvirtd.sysconf
> +++ b/daemon/libvirtd.sysconf
> @@ -20,5 +20,7 @@
>  #
>  #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, limits

s/In/In the/

> +# can only be changed by setting LimitNOFILE in libvirtd.service unit file.
>  #LIBVIRTD_NOFILES_LIMIT=2048

Doesn't systemd provide a way to provide tuning to a service unit file
by modifying /usr/lib/systemd/system/* while still inheriting defaults
from the installed /etc/systemd/system/*?  That is, should our comment
be a hint to the user to modify the files under their direct control
instead of telling them to modify the files installed by rpm?

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


--
libvir-list mailing list
libvir-list at redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list




More information about the libvir-list mailing list