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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
Regards,     
Alex


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

On 02/10/2014 07:26 AM, Jiri Denemark wrote:
> Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]