...ep xs root 21853 0.0 0.0 2184 652 ? S Sep17 0:04 xs-indexd: server root 21856 0.0 0.0 39536 1680 ? S Sep17 0:00 xs-searchd: master root 21857 0.0 0.0 101136 3120 ? Sl Sep17 0:00 xs-searchd: worker[1] root 21858 0.0 0.0 101136 310...
...imes=5 if [[ $res == "0" ]] then ps aux |grep -E "xs-[indexd|searched]" | awk '{print $2}' |grep -v $$ |xargs -i kill -9 {} $ctl_path start echo $(date +%Y-%m-%d-%H-%M-%S)" KILL AND SAVED" >> $res_log fi sleep 5 done [/code]
... cd $prefix bin/xs-ctl.sh restart 显示: INFO: stopping server[xs-indexd] (BIND:127.0.0.1:8383) .... [OK] INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383) INFO: stopping server[xs-searchd] (BIND:127.0.0.1:8384) .... [OK] INFO: re-starting server[xs-searchd] ... (BIND:127.0.0...
... cd $prefix bin/xs-ctl.sh restart 显示: INFO: stopping server[xs-indexd] (BIND:127.0.0.1:8383) .... [OK] INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383) INFO: stopping server[xs-searchd] (BIND:127.0.0.1:8384) .... [OK] INFO: re-starting server[xs-searchd] ... (BIND:127.0.0...
...在指定 IP 上 > bin/xs-ctl.sh -b unix start // 分别监听在 tmp/indexd.sock 和 tmp/searchd.sock > ~~~ 安装 PHP-SDK ------------ PHP-SDK 的代码不需要另行下载,已经包含在 `xunsearch` 的安装结果中了,在此假设您将 `xunsearch` 安装在 `$prefix` 目录,...
... 00:00:00 xs-searchd 14212 pts/0 00:00:00 ps 31168 ? 00:00:47 xs-indexd 31171 ? 00:00:00 xs-searchd [root@edu ~]# strace -p 14179 Process 14179 attached - interrupt to quit clock_gettime(CLOCK_MONOTONIC, {223647, 727467159}) = 0 epoll_wait(1, {}, 32, 2184) = 0 clock_gett...