-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
100% CPU with ExtEventLoop #109
Comments
Thank you for filing this issue! I think it serves as a valid reference that suggests reactphp/child-process#51 may actually be an issue for some use cases. Given that it's related to this known issue in another component, I don't see much that we could do here in this component. I believe this has been answered, so I'm closing this for now. Please come back with more details if this problem persists and we can reopen this 👍 |
@clue It works fine with the |
Can you send in a gist to reproduce this issue without the known issue linked above? Thank you. |
Please re-open the issue, so I don't forget about it. |
No worries, I'll make sure to ping you if nothing changes about this issue in a few days and will reopen if you send a gist to reproduce this! 👍 Thank you. |
Ping @kelunik, I suppose this is still resolved? 👍 |
It's weird. If I try to look into it with |
@kelunik Thanks for trying to dig into this. If you happen to find a way to reproduce this, I'm happy to re-open this so we can look into this 👍 |
I've ran into this issue aswell, i'm installing The project im using it in: https://github.com/lajosbencz/phrocman Could it be purely related to the loop implementation, and nothing to do with the component itself? |
@lajosbencz We're not aware of any such issues at the moment. Can you provide a minimal test script to reproduce this locally? If this is related to spawning child-processes, can you take a look at one of the possible work-arounds for reactphp/child-process#51, such as clue/reactphp-sqlite#7? |
See https://gist.github.com/kelunik/79f843c541aceb3927c5463cc643d502 for a reproduction script.
While the child process runs,
php test.php
consumes 100% CPU when running on theExtEventLoop
. Additionally, the connection is closed directly instead of one second later if there's currently a child process running.See also https://twitter.com/kelunik/status/917757971790286848 and replies.
The text was updated successfully, but these errors were encountered: