-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Description
Symfony version(s) affected 3.4.X
Description
The LockableTrait uses Semaphores of the System, to Lock tasks, if lock is called with a user generated id $this->lock($uuid)
the Semaphore will never be released. When the Sempahore store is full this causes the error "no space left on device"
How to reproduce
- Create a command use the LockableTrait
$this->lock($uuid)
at the beginning$this->lock->release()
- create a shell script with a while loop that runs for 45 seconds.
- Create a cronjob that every minute will execute the shell sciprt
Possible Solution
no idea
Additional context
https://gist.github.com/boscho87/5b8852bc9ced7e9199a7f593acc85903