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
Under a high load workers turn to a busy state after this exception in sendAndRecv method
stream_socket_client(): unable to connect to tcp://127.0.0.1:2313 (Operation timed out) in GatewayWorker/Lib/Gateway.php on line 1157
Linux kernel is optimized based on a manual.
I believe the problem is that the connection is closed every time and needs to be open on each new message, because of a getSession method call
I also noticed that some other calls of stream_socket_client() have STREAM_CLIENT_PERSISTENT flag, but this one does not.
Is it possible to have long-lasting connections here, since it would dramatically increase a performance? If not, how can we prevent this timeout errors?
The text was updated successfully, but these errors were encountered:
GatewayWorker/src/Lib/Gateway.php
Line 1157 in aefdc21
Under a high load workers turn to a busy state after this exception in
sendAndRecv
methodstream_socket_client(): unable to connect to tcp://127.0.0.1:2313 (Operation timed out) in GatewayWorker/Lib/Gateway.php on line 1157
Linux kernel is optimized based on a manual.
I believe the problem is that the connection is closed every time and needs to be open on each new message, because of a
getSession
method callI also noticed that some other calls of
stream_socket_client()
have STREAM_CLIENT_PERSISTENT flag, but this one does not.Is it possible to have long-lasting connections here, since it would dramatically increase a performance? If not, how can we prevent this timeout errors?
The text was updated successfully, but these errors were encountered: