我使用redis sentinel(try {
$client = new SoapClient('https://appapi2.test.bankid.com/rp/v4?wsdl',
["local_cert" => "certname.pem",
"stream_context" => [
"ssl" => [
"verify_peer" => false,
"verify_peer_name" => false,
"allow_self_signed" => true
]
]
]);
} catch (Exception $e) {
return json_encode( array( "result" => false, "reason" => $e->getMessage() ) );
}
),一切正常。但是,Redis v3.0.7
每个星期日凌晨1:00 - 凌晨4:29都输入了/var/log/sentinel.log
模式:
TILT
我当时检查过,我看到4036:X 12 Nov 01:03:16.607 # +tilt #tilt mode entered
4036:X 12 Nov 01:03:46.622 # -tilt #tilt mode exited
4036:X 12 Nov 01:07:20.246 # +tilt #tilt mode entered
4036:X 12 Nov 01:07:50.401 # -tilt #tilt mode exited
.....
4036:X 12 Nov 04:29:13.825 # +tilt #tilt mode entered
4036:X 12 Nov 04:29:43.860 # -tilt #tilt mode exited
也在同一时间运行:
raid_check
我不知道为什么。
答案 0 :(得分:0)
但是,如果计算机时间以意外方式发生变化,或者计算机非常繁忙,或者由于某种原因导致进程被阻止,则Sentinel可能会以意外方式开始运行。
听起来Redis注意到由于RAID重建而导致服务器负载过重,并且切换到倾斜模式,因此它不会提供不正确的数据,这是所需的行为。