10000 Add caution in system+semaphore · symfony/symfony-docs@b231871 · GitHub
[go: up one dir, main page]

Skip to content

Commit b231871

Browse files
jderusseOskarStark
authored andcommitted
Add caution in system+semaphore
1 parent 3ea0737 commit b231871

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
@@ -530,6 +530,14 @@ can be two running containers in parallel.
530530
concurrent process on a new machine, check that other process are stopped
531531
on the old one.
532532

533+
.. caution::
534+
535+
When runing on systemd with non-system user with option ``RemoveIPC=yes``
536+
(default value), locks are deleted by systemd when that user logs out.
537+
Check that process is ran with a system user (UID <= SYS_UID_MAX) with
538+
``SYS_UID_MAX`` defined in ``/etc/login.defs``, or set the option
539+
``RemoveIPC=off`` in ``/etc/systemd/logind.conf``.
540+
533541
Overall
534542
~~~~~~~
535543

0 commit comments

Comments
 (0)
0