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

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

 



On Wed, Mar 19, 2014 at 09:38:56 -0600, Eric Blake wrote:
> On 03/19/2014 09:32 AM, Jiri Denemark wrote:
> > Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
> > ---
> >  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

Thanks, I did s/In systemd/In the systemd/ as you suggested in v1 review
(and I forgot to do it for v2) and pushed the patch.

Jirka

--
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]