我一直在我们的PHP日志中看到这个错误,无法在网上找到真正的答案,或者在resoulution上找到堆栈溢出:
MemcachePool::add(): Server XXX.XXX.XXX.XXX (tcp XXXXX, udp 0) failed with: Connection timed out (110)
我们的某个服务器会发生这种情况,但有时会发生其他服务器。
这是配置设置 - 我们在生产中有4个memcache服务器:
$memcached['servers'] = array(
"default" => array(
'host' => 'XXX.XXX.XXX.XX',
'port' => 'XXXXX',
'weight' => '25',
'persistent' => FALSE
),
"cluster01" => array(
'host' => 'XXX.XXX.XXX.XX',
'port' => 'XXXXX',
'weight' => '25',
'persistent' => FALSE
),
"cluster02" => array(
'host' => 'XXX.XXX.XXX.XX',
'port' => 'XXXXX',
'weight' => '25',
'persistent' => FALSE
),
"cluster03" => array(
'host' => 'XX.XX.X.XXX',
'port' => 'XXXXX',
'weight' => '25',
'persistent' => FALSE
)
);
知道我在这里做错了吗?