]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Increase default file handle limits for virtlogd
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Wed, 18 Oct 2017 09:19:29 +0000 (11:19 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 26 Oct 2017 10:29:28 +0000 (12:29 +0200)
commitd744476475db4ef5e54ffb8ccb2c6c296f4e6a0e
tree4e0191b0491f669d9f402937e2ae0a1a4b9c2c65
parent32c29f10db3f7e847508564d8d91848f41f43abb
Increase default file handle limits for virtlogd

The initial assumption was ~2 files per guest, but some common setups
like Openstack drive up to 4 files per guest.

E.g. on Arm where the following XML leads to 4 file handles:
    <serial type='file'>
      <source path='/var/lib/nova/instances/7c0dcd78-.../console.log'/>
      <target port='0'/>
      <alias name='serial0'/>
    </serial>
    <console type='file'>
      <source path='/var/lib/nova/instances/7c0dcd78-.../console.log'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>

With that in mind and the target to support 4k guests by default we
should raise the limit to 16k.

Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
src/logging/virtlogd.service.in