GatewayWorker 直接裸tcp, 出现fwrite(): send of 8192 bytes failed

tmig

$tcp_gateway = new Gateway("tcp://0.0.0.0:8898");
$gateway = new Gateway("Text://0.0.0.0:8282",$context);

对外提供两个Gateway服务,
从Text接收到的数据,转到到tcp上。
从tcp接收到的数据转到text上。

数据量大时,就出来
PHP Notice: fwrite(): send of 8192 bytes failed with errno=11 Resource temporarily unavailable in /webdate/GatewayWorker/vendor/workerman/workerman/Connection/TcpConnection.php on line 372

1620 1 0
1个回答

walkor

socket暂时不可写,这个是可预知的一个notice,可以无视。不想看到它就升级下workerman

  • 暂无评论
年代过于久远,无法发表回答
🔝