-
-
Notifications
You must be signed in to change notification settings - Fork 258
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
EvLoop::io(): 9 bytes of buffered data lost during stream conversion! #350
Comments
I guess we need more information to reproduce this behavior. Do you have a minimal script to show such behavior? |
No, I use amphp cluster and rabbit with Prefetch count = 30. Ev lib not stable working, I change it to Uv lib. |
This is a generic error when casting PHP streams internally in the extension. Which stream is this warning emitted for? Something in a library or your own code? |
In only EvDriver |
I'm aware. But could you add an error handler that logs a stack trace for the warning, please? |
@kelunik, I also regularly come across this warning in my application. It's something in the library. How can I help find the cause? How can I catch the stack trace you mentioned?
|
You have to set a global error handler and log the trace there / turn it into an exception. |
After dropping some dependencies (also dropped ev itself, but a bit later), I stopped getting the warning. Will come back if I run into it again. |
Esse erro ocorre quando dados foram perdidos durante a conversão do fluxo de dados em um formato que pode ser manipulado pelo PHP. Isso pode acontecer quando o driver de loop utilizado pelo AMP, neste caso o EvDriver, não é compatível com o fluxo de dados sendo usado. pecl install ev Certifique-se de que as versões instaladas dessas extensões sejam compatíveis com a versão do PHP que você está usando. |
The text was updated successfully, but these errors were encountered: