-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terminate is freezing #3946
Comments
I am closing this issue due to patch that i've created in our local code. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please use this template for reporting suspected bugs or requests for help.
Issue description
With the following stack
Apache / PHP / ZeroMQ.
When apache decides to close a worker and fork a new one, ZeroMQ Lib is freezing the termination process and causing the worker not to die.
Following is the stack trace.
apache calling php terminate which calls zmq terminate.
zmq::ctx_t::terminate passes -1 as the timeout to zmq::mailbox_t::recv which means endless timeout, thus the process freezing.
Environment
centos 7, php 7, zmqlib 4.1.4
Minimal test code / Steps to reproduce the issue
What's the actual result? (include assertion message & call stack if applicable)
after a while, apache processes stating to hang.
What's the expected result?
apache to be able to close a worker..
The text was updated successfully, but these errors were encountered: