libvirt/src/remote
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
..
libvirtd-admin.socket.in util: drop support for obsolete systemd in RHEL-7 2022-02-17 12:35:42 +00:00
libvirtd-ro.socket.in util: drop support for obsolete systemd in RHEL-7 2022-02-17 12:35:42 +00:00
libvirtd-tcp.socket.in util: drop support for obsolete systemd in RHEL-7 2022-02-17 12:35:42 +00:00
libvirtd-tls.socket.in util: drop support for obsolete systemd in RHEL-7 2022-02-17 12:35:42 +00:00
libvirtd.aug.in daemon: add tcp_min_ssf option 2021-11-04 17:02:56 +01:00
libvirtd.conf.in rpc: Don't warn about "max_client_requests" in single-threaded daemons 2023-02-15 12:36:17 +01:00
libvirtd.confd configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
libvirtd.init.in remote: Drop KRB5_KTNAME override 2020-04-03 11:51:00 +02:00
libvirtd.libxl.logrotate.in
libvirtd.logrotate.in
libvirtd.lxc.logrotate.in
libvirtd.policy
libvirtd.qemu.logrotate.in
libvirtd.rules
libvirtd.sasl docs: stop mentioning insecure / broken SASL mechanisms 2021-03-17 09:31:57 +00:00
libvirtd.service.in src: fix max file limits in systemd services 2023-08-04 13:00:52 +01:00
libvirtd.socket.in util: drop support for obsolete systemd in RHEL-7 2022-02-17 12:35:42 +00:00
libvirtd.sysctl
lxc_protocol.x
meson.build meson: Use dicts to initialize cfg_data objects 2022-04-01 15:33:19 +02:00
qemu_protocol.x lib: Introduce 'virDomainQemuMonitorCommandWithFiles' 2022-03-01 13:29:49 +01:00
remote_daemon_config.c remote: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
remote_daemon_config.h remote: remove unnecessary return value and if branch 2022-09-07 11:53:33 +02:00
remote_daemon_dispatch.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
remote_daemon_dispatch.h remote: Remove unused includes 2022-06-16 06:43:57 +02:00
remote_daemon_stream.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
remote_daemon_stream.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
remote_daemon.c daemon: Treat logging of VIR_ERR_MULTIPLE_INTERFACES same as VIR_ERR_NO_INTERFACE 2023-08-04 10:04:21 +02:00
remote_daemon.h remote: Remove unused includes 2022-06-16 06:43:57 +02:00
remote_driver.c lib: Prefer sizeof(variable) instead of sizeof(type) in memset 2023-08-03 16:41:19 +02:00
remote_driver.h remote: warn on low SSF 2021-11-04 17:02:56 +01:00
remote_protocol.x remote_protocol: Fix list of supported ACL object names 2023-03-06 13:09:15 +01:00
remote_sockets.c remote: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
remote_sockets.h remote: extract logic for probing for modular daemons 2021-06-18 16:19:42 +01:00
remote_ssh_helper.c remote: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
test_libvirtd.aug.in daemon: add tcp_min_ssf option 2021-11-04 17:02:56 +01:00
virt-guest-shutdown.target Revert "remote: Add libvirtd dependency to virt-guest-shutdown.target" 2021-01-29 10:39:33 -07:00
virtproxyd.confd configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
virtproxyd.init.in remote: Drop KRB5_KTNAME override 2020-04-03 11:51:00 +02:00
virtproxyd.service.in src: remove After=local-fs.target from systemd units 2023-07-20 10:58:00 +01:00