[🐛 BUG]: RR hangs on the wait4
syscall when rr reset
is using at the same time
#1180
Closed
1 task done
No duplicates 🥲.
What happened?
RR uses
wait4
syscall to be notified for the PHP process exit. Suppose the user stops the worker for any purpose (syscall or just an internal issue) and is using anrr reset
simultaneously. In that case, that will lead to deadlock in theworker_watcher
, because one part of theww
will be trying to reallocate the worker while the second part will hold the mutex.Version
all versions are affected
Relevant log output
No response
The text was updated successfully, but these errors were encountered: