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
App do not accept new connections after running for a while.
These connections which are already established - exchange with messages happens successfully, but after disconnect - it is not possible to connect anymore to server
this part is still alive:
public function run(): void
{
while (true) {
echo count($this->allsockets)."|";
$changed_sockets = $this->allsockets;
....
Initially thought it is Raspberry Pi memory issue, but the same was tested with MacBook - and issue is the same.
After restart - works again +/- 1h (test was done with 5 messages per sec approx.)
The text was updated successfully, but these errors were encountered:
App do not accept new connections after running for a while.
These connections which are already established - exchange with messages happens successfully, but after disconnect - it is not possible to connect anymore to server
this part is still alive:
I have this issue with almost default example script: https://github.com/bloatless/php-websocket/blob/master/examples/server.php
Initially thought it is Raspberry Pi memory issue, but the same was tested with MacBook - and issue is the same.
After restart - works again +/- 1h (test was done with 5 messages per sec approx.)
The text was updated successfully, but these errors were encountered: