[libvirt] [PATCH] daemon: Enhance documentation for changinging NOFILE limit
Eric Blake
eblake at redhat.com
Mon Feb 10 16:51:23 UTC 2014
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
-------------- 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/20140210/b966bf36/attachment-0001.sig>
More information about the libvir-list
mailing list