libvirt/src/locking
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
..
domain_lock.c locking: Remove unused includes 2022-06-16 06:43:56 +02:00
domain_lock.h locking: Remove unused includes 2022-06-16 06:43:56 +02:00
libvirt_lockd.aug src: fix word spell typos 2020-07-09 10:01:41 +02:00
libvirt_sanlock.aug src: fix word spell typos 2020-07-09 10:01:41 +02:00
lock_daemon_config.c locking: Remove unused includes 2022-06-16 06:43:56 +02:00
lock_daemon_config.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
lock_daemon_dispatch.c locking: Update format strings in translated messages 2023-04-01 11:40:33 +02:00
lock_daemon_dispatch.h src/locking: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lock_daemon.c locking: Update format strings in translated messages 2023-04-01 11:40:33 +02:00
lock_daemon.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
lock_driver_lockd.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
lock_driver_lockd.h src/locking: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lock_driver_nop.c locking: Remove unused includes 2022-06-16 06:43:56 +02:00
lock_driver_nop.h src/locking: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lock_driver_sanlock.c locking: Update format strings in translated messages 2023-04-01 11:40:33 +02:00
lock_driver.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
lock_manager.c locking: Update format strings in translated messages 2023-04-01 11:40:33 +02:00
lock_manager.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
lock_protocol.x
lockd.conf
meson.build meson: Work around configure_file(copy:true) deprecation 2023-04-20 15:30:18 +02:00
sanlock_helper.c locking: Update format strings in translated messages 2023-04-01 11:40:33 +02:00
sanlock.conf
test_libvirt_lockd.aug.in build: use @CONFIG@ instead of ::CONFIG:: in augeas tests 2019-08-09 14:06:31 +01:00
test_libvirt_sanlock.aug.in build: use @CONFIG@ instead of ::CONFIG:: in augeas tests 2019-08-09 14:06:31 +01:00
test_virtlockd.aug.in build: use @CONFIG@ instead of ::CONFIG:: in augeas tests 2019-08-09 14:06:31 +01:00
virtlockd-admin.socket.in systemd: honour $runstatedir in socket unit files 2019-08-27 10:23:05 +01:00
virtlockd.aug src: fix word spell typos 2020-07-09 10:01:41 +02:00
virtlockd.conf util: drop support for stack traces with logging 2019-10-18 16:25:17 +01:00
virtlockd.init.in Add virtlockd and virtlogd init scripts 2020-02-22 17:11:54 +01:00
virtlockd.service.in src: fix max file limits in systemd services 2023-08-04 13:00:52 +01:00
virtlockd.socket.in systemd: honour $runstatedir in socket unit files 2019-08-27 10:23:05 +01:00