You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think what problem somewhere in MessageBus & Buffer, because when file is small then after Server::dispatch_task I see accept event and received http request:
I have reproduced this error with a 2mb file, the worker (if using multi process) hangs and cannot handle anymore requests. If the swoole dispatcher picks that worker again for new requests, they also hang
To reproduce use script:
Then make request like this with file bigger then 1Mb (I think any bigger then 65Kb because it seams it chunk size):
And you see in console warning:
Request will end by curl timeout (so swoole never return response)
And then when stop server (kill PID) you can see:
I tried it on many env - reproducable anywhere (PHP ZTS and not, iouring and not).
With 'single_thread' => false - all works as expected.
In tracing mode see:
I think what problem somewhere in MessageBus & Buffer, because when file is small then after Server::dispatch_task I see accept event and received http request:
The text was updated successfully, but these errors were encountered: