Skip to content

Commit d226b99

Browse files
committed
Add caution in system+semaphore
1 parent 56b6a0a commit d226b99

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

components/lock.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,14 @@ can be two running containers in parallel.
631631
concurrent process on a new machine, check that other process are stopped
632632
on the old one.
633633

634+
.. caution::
635+
636+
When runing on systemd with non-system user with option ``RemoveIPC=yes``
637+
(default value), locks are deleted by systemd when that user logs out.
638+
Check that process is ran with a system user (UID <= SYS_UID_MAX) with
639+
``SYS_UID_MAX`` defined in ``/etc/login.defs``, or set the option
640+
``RemoveIPC=off`` in ``/etc/systemd/logind.conf``.
641+
634642
ZookeeperStore
635643
~~~~~~~~~~~~~~
636644

0 commit comments

Comments
 (0)