xcache不支持cli模式,通过命令行建索引使用xcache,会抛异常 [XSErrorException] ../lib/XS.php(431): xcache_get(): xcache.var_size is either 0 or too small to enable var data caching(2) #0 [internal function]: xs_error_handler(2, 'xcache_get(): x...', '/usr/local/xuns...', 431, Ar...
谢谢,新版本已经修正这个情况。推荐用 apc [url]https://github.com/hightman/xunsearch/commit/5e48f3cf0569688561d262851004166433792e14[/url]
...ception] ../../../software/install/xunsearch-full/sdk/php/lib/XS.php(501): xcache_get(): XCache var cache was not initialized properly. Check php log for actual reason(2) phpinfo的时候是看到xcache存在的,在xunsearch检测的时候xcache也是通过的。 这是什么原因呢?[hr]...
我查看 tail -n /var/log/messages 有这个错误 localhost kernel: php[29975]: segfault at 7f96c902d190 ip 00007f59d134b383 sp 00007fff43203650 error 4 in xcache.so[7f59d133a000+19000] 而xcache.so xunsearch在使用的
只是警告不影响 使用,缓存模块会对配置 文件 进行缓存提升效率,但这是可选的。 只要您的PHP开启了 apc/xcache/eaccelerator 其中任何一个扩展 均可以。
在xunsearch缓存仅仅用于缓存ini文件,所以基本上不需要用到memcached这样重型需要TCP连接的开销。 因为一台服务器上你也不会开多少个搜索项目啊,就算没有缓存问题也不大。 目前自动支持apc\eacc\xcache