libvirt/src/ch
Daniel P. Berrangé 3d2f3fb72b src: fix max file limits in systemd services
This fixes

  commit 38abf9c34d
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   Wed Jun 21 13:22:40 2023 +0100

    src: set max open file limit to match systemd >= 240 defaults

The bug referenced in that commit had suggested to set

  LimitNOFile=512000:1024

on the basis that matches current systemd default behaviour and is
compatible with old systemd. That was good except

 * The setting is LimitNOFILE and these are case sensitive
 * The hard and soft limits were inverted - soft must come
   first and so it would have been ignored even if the
   setting name was correct.
 * The default hard limit is 524288 not 512000

Reported-by: Olaf Hering <olaf@aepfle.de>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2023-08-04 13:00:52 +01:00
..
ch_conf.c virStringParseVersion: Parse into 'unsigned long long' 2023-04-03 09:19:06 +02:00
ch_conf.h ch: Use automatic mutex management 2022-02-11 11:04:01 +01:00
ch_domain.c ch: Update format strings in translated messages 2023-04-01 11:40:32 +02:00
ch_domain.h CH: use virDomainObjEndJob() 2022-09-07 12:14:39 +02:00
ch_driver.c ch: pinVcpuLive: remove unused variable 2023-04-20 17:28:34 +02:00
ch_driver.h Add basic driver for the Cloud-Hypervisor 2021-06-04 10:56:06 +01:00
ch_monitor.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
ch_monitor.h ch_process: Setup emulator and iothread settings 2022-01-28 17:04:50 +01:00
ch_process.c qemu, ch: Move threads to cgroup dir before changing parameters 2023-04-20 12:39:49 +02:00
ch_process.h ch: methods for cgroup mgmt in ch driver 2022-01-28 17:04:50 +01:00
meson.build meson: Add missing virt_install_dirs 2022-02-02 16:26:36 +01:00
virtchd.service.in src: fix max file limits in systemd services 2023-08-04 13:00:52 +01:00