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
domain_lock.h
libvirt_lockd.aug
libvirt_sanlock.aug
lock_daemon_config.c
lock_daemon_config.h
lock_daemon_dispatch.c
lock_daemon_dispatch.h
lock_daemon.c
lock_daemon.h
lock_driver_lockd.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
lock_driver_lockd.h
lock_driver_nop.c
lock_driver_nop.h
lock_driver_sanlock.c
lock_driver.h
lock_manager.c
lock_manager.h
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
sanlock.conf
test_libvirt_lockd.aug.in
test_libvirt_sanlock.aug.in
test_virtlockd.aug.in
virtlockd-admin.socket.in
virtlockd.aug
virtlockd.conf
virtlockd.init.in
virtlockd.service.in src: fix max file limits in systemd services 2023-08-04 13:00:52 +01:00
virtlockd.socket.in