当rabbitmq服务器节点使用VIP和server时,客户端进程将保持,并且没有心跳:
while (count($this->channel->callbacks)) {
$this->channel->wait();
}当VIP漂移时,客户端将在AbstractConnection::wait_channel()上打洞:
list($frame_type, $frame_channel, $payload) = $this->wait_frame($_timeout);因为$_timeout default set 0
发布于 2019-07-30 18:46:51
进程在StreamIO.php select()上被挂起:
$result = stream_select($read, $write, $except, $sec, $usec);我们可以通过定义环境变量来避免这种情况
define('AMQP_WITHOUT_SIGNALS', true);https://stackoverflow.com/questions/57264141
复制相似问题