]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Increase default file handle limits for daemons
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 15 Mar 2017 16:51:51 +0000 (16:51 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 16 Mar 2017 10:48:09 +0000 (10:48 +0000)
commit27cd76350021d36b9bd8b187ce5c8919659e3806
tree596cb61583fcf5e4d4c353cdcb9616e627b7eefb
parentb2aca2db7e4793705815b4169a2e527ea2534dc3
Increase default file handle limits for daemons

Linux still defaults to a 1024 open file handle limit. This causes
scalability problems for libvirtd / virtlockd / virtlogd on large
hosts which might want > 1024 guest to be running. In fact if each
guest needs > 1 FD, we can't even get to 500 guests. This is not
good enough when we see machines with 100's of physical cores and
TBs of RAM.

In comparison to other memory requirements of libvirtd & related
daemons, the resource usage associated with open file handles
is essentially line noise. It is thus reasonable to increase the
limits unconditionally for all installs.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
daemon/libvirtd.service.in
src/locking/virtlockd.service.in
src/logging/virtlogd.service.in