...art (EVENT:0x0002, FLAG:0x0004) 2013-09-08 02:30:14 worker3[21760] ERROR [sock:8] unknown exception during task (CMD:225) 2013-09-08 02:30:14 worker3[21760] ERROR [sock:7] unknown exception during task (CMD:225) 2013-09-08 06:28:20 worker2[21759] ERROR [sock:7] xapian exception (ERROR:Syntax: AN...
...heck(); for ($buf = '', $size = $len;;) { $bytes = fread($this->_sock, $len); if ($bytes === false || strlen($bytes) == 0) { break; } $len -= strlen($bytes); $buf .= $bytes; if ($len === 0) { return $buf; } } // error oc...
...ue to timeout/error(S#514) 日志: 2012-12-25 10:19:08 worker1[11340] [sock:7] task canceld, run the cleanup (ZARG:0x7f6c775fdbf0) 2012-12-25 10:19:08 worker1[11340] [sock:7] quit, result error (CODE:514) 2012-12-25 10:19:08 worker1[11340] accept() failed, shutdown gracefully (ERROR:Bad file d...
...d data $this->check(); while (true) { $bytes = fwrite($this->_sock, $buf, $len); if ($bytes === false || $bytes === 0 || $bytes === $len) { break; } $len -= $bytes; $buf = substr($buf, $bytes); } // error occured if ($bytes === false || $b...
getSocket() 方法 public mixed getSocket() {return} mixed 连接标识, 仅用于内部测试等目的 源码: sdk/php/lib/XSServer.class.php#L232 (显示) public function getSocket(){ return $this->_sock;} 获取连接资源描述符
...Server.class.php#L438 (显示) protected function check(){ if ($this->_sock === null) { throw new XSException('No server connection'); } if ($this->_flag & self::BROKEN) { throw new XSException('Broken server connection'); }} 检测服务端的连接情况
...= hash project.default_charset = UTF-8 server.index = /dev/shm/xs-indexd.sock server.search = /dev/shm/xs-searchd.sock [id];图片ID主键 唯一 type = id index = none tokenizer = none cutlen = 0 weight = 0 phrase = no non_bool = no [title];图片属于哪个图集的题标 非唯...
...max_burst:132, num_accept:194989(53.8/s), num_task:1083121(299.0/s), sock:7, name:"demo", home:"data/demo", rcv_size:8, flag:0x0000, version:"1.4.7" } ---------- SERVER INFO BEGIN ---------- { id:"worker1", uptime:157312, num_burst:0, max_burst:56, num_accept:436479, aps:2.8, num...
...max_burst:132, num_accept:194989(53.8/s), num_task:1083121(299.0/s), sock:7, name:"demo", home:"data/demo", rcv_size:8, flag:0x0000, version:"1.4.5-dev" } ---------- SERVER INFO BEGIN ---------- { id:"worker1", uptime:157312, num_burst:0, max_burst:56, num_accept:436479, aps:2.8,...