{"id":2640,"date":"2011-06-21T10:46:16","date_gmt":"2011-06-21T02:46:16","guid":{"rendered":"https:\/\/www.icocean.com\/wp\/?p=2640"},"modified":"2011-06-21T10:46:16","modified_gmt":"2011-06-21T02:46:16","slug":"xcache%e9%85%8d%e7%bd%ae%e5%8f%82%e6%95%b0","status":"publish","type":"post","link":"https:\/\/www.icocean.com\/blog\/?p=2640","title":{"rendered":"XCache\u914d\u7f6e\u53c2\u6570"},"content":{"rendered":"<p>\u4e00\u3001\u914d\u7f6e<\/p>\n<p>  1\u3001\u5206\u5c42\uff1aXcache\u5c06\u7f13\u5b58\u5bf9\u8c61\u5206\u4e3a\u4e24\u7c7b\uff1aphp\u4ee3\u7801\u548cphp\u53d8\u91cf\uff0c\u524d\u8005\u5728xcache.ini\u4e2d\u53ea\u662f\u5355\u7eaf\u7684xcache\u524d\u7f00\uff0c\u540e\u8005\u5219\u7528xcache_var\u524d\u7f00\uff0c\u4e24\u4e2a\u5bf9\u8c61\u53ef\u4ee5\u72ec\u7acb\u8c03\u6574\u3002<\/p>\n<p>  2\u3001\u914d\u7f6e\u8bf4\u660e\uff1a<\/p>\n<p>    xcache.admin.user string<br \/>\n     \/\/&#8221;\u9a8c\u8bc1\u540d.&#8221;<br \/>\n    xcache.admin.pass string<br \/>\n    \/\/&#8221;md5 \u540e\u7684\u9a8c\u8bc1\u5bc6\u7801, \u4ea6\u5373 md5(\u60a8\u7684\u5bc6\u7801), \u7559\u7a7a\u5219\u7981\u7528\u7ba1\u7406\u9875\u9762.&#8221;<br \/>\n    xcache.test string<br \/>\n    \/\/&#8221;\u4ec5\u5728\u6d4b\u8bd5\u4e00\u4e9b\u529f\u80fd\u7684\u65f6\u5019\u624d\u542f\u7528. \u5982\u679c\u60a8\u4e0d\u77e5\u9053\u8fd9\u4e2a\u529f\u80fd\u7684\u4f5c\u7528, \u5219\u60a8\u4e0d\u9700\u8981\u77e5\u9053.&#8221;<!--more--><br \/>\n    xcache.coredump_directory string<br \/>\n    \/\/&#8221;\u8bbe\u7f6e\u5728 crash (SIGSEGV\/SIGABRT) \u65f6\u4fdd\u5b58 core dump \u6587\u4ef6\u7684\u8def\u5f84. \u7559\u7a7a\u5219\u7981\u6b62, \u6216\u8005\u8bbe\u7f6e\u4e3a\u7c7b\u4f3c &#8220;\/tmp\/phpcore\/&#8221; \u7684\u76ee\u5f55. \u786e\u4fdd\u8fd9\u4e2a\u8def\u5f84\u53ef\u4ee5\u88ab php \u5199\u5165\u6587\u4ef6. (\u4e0e open_basedir \u65e0\u5173).&#8221;<br \/>\n    xcache.admin.enable_auth string<br \/>\n    \/\/&#8221;\u5982\u679c\u4f60\u6253\u7b97\u81ea\u5df1\u5904\u7406\u9a8c\u8bc1, \u7528\u8fd9\u4e2a\u9009\u9879\u7981\u6b62 HTTP \u9a8c\u8bc1\u529f\u80fd. \u503c\u5f97\u6ce8\u610f\u7684\u662f\u4efb\u610f vhost \u7528\u6237\u90fd\u53ef\u4ee5\u5b89\u88c5\u4e00\u4e2a XCache admin \u9875\u9762, \u5982\u679c\u7981\u6b62\u4e86\u5185\u5efa HTTP \u9a8c\u8bc1, \u5219\u4ed6\u4eec\u4ea6\u4e0d\u9700\u8981\u6743\u9650\u5373\u53ef\u8bbf\u95ee\u7ba1\u7406\u9875\u9762. \u51fa\u4e8e\u5b89\u5168\u8003\u8651, \u60a8\u5e94\u8be5\u5c3d\u91cf\u8003\u8651\u4fdd\u7559 XCache \u5185\u5efa\u9a8c\u8bc1\u529f\u80fd, \u9488\u5bf9 XCache admin \u9875\u9762\u7279\u5b9a\u5730\u5740\u53d6\u6d88\u7f51\u9875\u670d\u52a1\u5668\u7684 mod_auth \/\/\u8fd9\u4e2a\u9009\u9879\u4ec5\u5728 1.2.x \u7cfb\u5217\u6709\u4f5c\u7528, \u8d77\u59cb\u7248\u672c 1.2.1&#8243;<\/p>\n<p>    \/* XCache Cacher *\/<\/p>\n<p>    xcache.cacher boolean<br \/>\n    \/\/ \u4f7f\u7528\/\u4e0d\u4f7f\u7528 opcode \u7f13\u5b58\u5668. xcache.size = 0 \u65f6\u65e0\u6548.<br \/>\n    xcache.size int<br \/>\n    \/\/0 \u7981\u6b62, \u975e 0 \u5219\u542f\u7528\u7f13\u5b58\u5668. \u8bf7\u6ce8\u610f\u60a8\u7cfb\u7edf\u6240\u5141\u8bb8\u7684 mmap \u6700\u5927\u503c.<br \/>\n    xcache.count int<br \/>\n    \/\/\u6307\u5b9a\u5c06 cache \u5207\u5206\u6210\u591a\u5c11\u5757. \u53c2\u8003 SplittedCache\uff0c\u5b98\u65b9\u6587\u6863\u662f\u8bf4\u4e00\u822c\u8ddfCPU\u7684\u6570\u76ee\u76f8\u540c\uff0c\u5b9e\u9645\u64cd\u4f5c\u4e2d\uff0c\u8ddffcgi-php\u7684\u6570\u76ee\u76f8\u540c\uff1f\uff1f\uff1f\uff08\u6ca1\u6709\u6c42\u8bc1\uff0c\u56e0\u4e3a\u8bbe\u7f6e\u4e3aCPU\u7684\u6570\u76ee\uff0c\u6bd4\u5982\u8bf42,\u5219\u53ea\u6709\u4e24\u4e2a\u8fdb\u7a0b\u7684\u5185\u5b58\u589e\u52a0\uff0c\u6bcf\u4e2aphp-cgi\u7684\u5185\u5b58\u5360\u7528\u4e0d\u5e73\u8861\u3002\uff09<br \/>\n    xcache.slots size<br \/>\n    \/\/\u53ea\u662f\u4f5c\u4e3a hash \u69fd\u4e2a\u6570\u7684\u53c2\u8003\u503c, \u60a8\u53ef\u4ee5\u653e\u5fc3\u5730\u7f13\u51b2\u8d85\u8fc7\u8fd9\u4e2a\u4e2a\u6570\u7684\u9879\u76ee.<br \/>\n    xcache.ttl seconds<br \/>\n    \/\/\u8bbe\u7f6e\u7f13\u51b2\u9879\u76ee\u7684 Ttl (Time To Live) \u503c, 0=\u6c38\u4e0d\u8fc7\u671f.<br \/>\n    xcache.gc_interval seconds<br \/>\n    \/\/\u68c0\u67e5\u8fc7\u671f\u9879\u76ee, \u56de\u6536\u5185\u5b58\u7a7a\u95f4\u7684\u95f4\u9694.<br \/>\n    xcache.var_size int<br \/>\n    xcache.var_count int<br \/>\n    xcache.var_slots size<br \/>\n    xcache.var_gc_interval seconds<br \/>\n    \/\/\u540c\u4e0a, \u4e0d\u8fc7\u7528\u4e8e\u6570\u636e\u7f13\u51b2\u800c\u4e0d\u662f opcode \u7f13\u51b2.<br \/>\n    xcache.var_ttl seconds<br \/>\n    \/\/xcache_(get|set|inc|dec) \u7b49\u7684\u9ed8\u8ba4 ttl \u503c.<br \/>\n    xcache.var_maxttl seconds<br \/>\n    \/\/\u6700\u5927 ttl \u503c, \u7a0b\u5e8f\u65e0\u6cd5\u6307\u5b9a\u8d85\u8fc7\u8fd9\u4e2a\u6700\u5927\u503c\u7684 ttl.<br \/>\n    xcache.readonly_protection boolean<br \/>\n    \/\/\u5982\u679c\u542f\u7528\u4e86 ReadonlyProtection, \u5c06\u4f1a\u7565\u5fae\u964d\u4f4e\u6027\u80fd, \u4f46\u662f\u4f1a\u63d0\u9ad8\u4e00\u5b9a\u7684\u5b89\u5168\u7cfb\u6570. \u8fd9\u4e2a\u9009\u9879\u5bf9\u4e8e xcache.mmap_path = \/dev\/zero \u65e0\u6548.<br \/>\n    xcache.mmap_path string<br \/>\n    \u5bf9\u4e8e *nix, xcache.mmap_path \u662f \u6587\u4ef6\u8def\u5f84, \u4e0d\u662f\u76ee\u5f55. \u5bf9\u4e8e Win32, xcache.mmap_path \/\/\u53ea\u662f\u533f\u540d\u7684 map \u540d, \u4e0d\u662f\u5b9e\u9645\u7684\u6587\u4ef6\u8def\u5f84. \u5982\u679c\u60a8\u8981\u542f\u7528 ReadonlyProtection \u8bf7\u7528\u7c7b\u4f3c &#8220;\/tmp\/xcache&#8221; \u7684\u8def\u5f84. 2 \u7ec4 php \u4e0d\u8be5\u5171\u7528\u540c\u4e00\u4e2a\u8def\u5f84 (\/dev\/zero \u9664\u5916).<\/p>\n<p>    \/* XCache Optimizer *\/<br \/>\n    \/\/Name Default Changeable<\/p>\n<p>    xcache.optimizer boolean<br \/>\n    \/\/\u542f\u7528\u4f18\u5316\u5668 (\u76ee\u524d\u65e0\u6548).<\/p>\n<p> 3\u3001\u6700\u91cd\u8981\u7684\u53c2\u6570\u662fxcache.var_size\u548cxcache.size\uff0c\u53ef\u4ee5\u6839\u636e\u5185\u5b58\u8bbe\u7f6e\uff0c\u4f46\u662f\u5728top\u4e2d\uff0c\u5185\u5b58\u5360\u7528\u76f4\u63a5\u591a\u51fa\u6765\u5f88\u591a\uff0c\u6bd4\u5982\u90fd\u8bbe\u7f6e\u4e86\u4e3a256M\uff0c\u5219php-cgi\u7684\u5360\u7528\u5c31\u5728530M\u5de6\u53f3\uff0c\u57fa\u672c\u7684php\u5927\u7ea610-15M\uff0c\u52a0\u4e0a512M\uff0c\u5c31\u5feb\u5230530\u4e86\u3002<\/p>\n<p> 4\u3001admin\u914d\u7f6e\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528xcache\u81ea\u5e26\u7684admin\u7a0b\u5e8f\u3002<br \/>\n<!--nextpage--><br \/>\n\u4e8c\u3001\u51fd\u6570\u8bf4\u660e\uff1a<\/p>\n<p>1\u3001\u6570\u636e\u51fd\u6570(http:\/\/xcache.lighttpd.net\/wiki\/XcacheApi)<br \/>\nmixed xcache_get(string name)<br \/>\nbool xcache_set(string name, mixed value [, int ttl])<br \/>\nbool xcache_isset(string name)<br \/>\nbool xcache_unset(string name)<br \/>\nbool xcache_unset_by_prefix(string prefix)<br \/>\n    \/\/\u4f4e\u7248\u672c\u6ca1\u6709\u8fd9\u4e2a\u51fd\u6570\uff0c\u4f7f\u7528\u4e4b\u524d\u8981\u6d4b\u8bd5\u4e00\u4e0b<\/p>\n<p>int xcache_inc(string name [, int value [, int ttl]])<br \/>\n   \/\/\u81ea\u589e\u51fd\u6570\uff0cvalue\u4e3a\u6b65\u957f\uff0c\u5982\u679c\u6ca1\u6709\u521d\u59cb\u5316\uff0c\u5219\u9ed8\u8ba4\u4e3a\u96f6\uff0cttl\u4e3a\u8fc7\u671f\u65f6\u95f4<\/p>\n<p>int xcache_dec(string name [, int value [, int ttl]])<br \/>\n   \/\/\u81ea\u51cf\u51fd\u6570\uff0c\u540c\u4e0a<\/p>\n<p>    \u6ce8\u610f\uff1axcache\u4e0d\u80fd\u5b58\u653e\u5bf9\u8c61\u3001\u8d44\u6e90\u7b49\u5185\u5bb9\u3002<\/p>\n<p>2\u3001\u7ba1\u7406\u51fd\u6570\uff1a<br \/>\nint xcache_count(int type)<br \/>\n\/\/type\u503c\u5b9a\u4e49\u4e3a\u5b8f\uff0c\u8fd4\u56de\u503c\u4e3a\u628a\u6307\u5b9a\u7684\u5171\u4eab\u5185\u5b58\u5206\u4e3a\u591a\u5c11\u4efd\uff0c\u89c1xcache.count\u914d\u7f6e\u53c2\u6570<br \/>\n    XC_TYPE_PHP:  Cache Type = php opcode     XC_TYPE_VAR\uff1a Cache Type = variable data array xcache_info(int type, int id)<br \/>\n\/\/\u8fd4\u56de\u503c\uff1a\u4e3a\u6570\u7ec4\uff1a<\/p>\n<p>    array(16) {<br \/>\n      [&#8220;slots&#8221;]=>   \/\/slots\u503c<br \/>\n      int(65536)<br \/>\n      [&#8220;compiling&#8221;]=><br \/>\n      int(0)<br \/>\n      [&#8220;misses&#8221;]=>  \/\/\u5931\u8bef<br \/>\n      int(0)<br \/>\n      [&#8220;hits&#8221;]=>   \/\/\u547d\u4e2d<br \/>\n      int(0)<br \/>\n      [&#8220;clogs&#8221;]=><br \/>\n      int(0)<br \/>\n      [&#8220;ooms&#8221;]=><br \/>\n      int(1)<br \/>\n      [&#8220;errors&#8221;]=>  \/\/\u9519\u8bef<br \/>\n      int(0)<br \/>\n      [&#8220;cached&#8221;]=>  \/\/\u7f13\u5b58<br \/>\n      int(78)<br \/>\n      [&#8220;deleted&#8221;]=>  \/\/<br \/>\n      int(0)<br \/>\n      [&#8220;gc&#8221;]=><br \/>\n      int(6)<br \/>\n      [&#8220;hits_by_hour&#8221;]=>  \/\/\u6700\u8fd124\u5c0f\u65f6\u7684\u547d\u4e2d\u6570<br \/>\n      array(24) {<br \/>\n        [0]=><br \/>\n        int(0)<br \/>\n        [1]=><br \/>\n        int(0)<br \/>\n        [2]=><br \/>\n        int(0)<br \/>\n        [3]=><br \/>\n        int(0)<br \/>\n        [4]=><br \/>\n        int(0)<br \/>\n        [5]=><br \/>\n        int(0)<br \/>\n        [6]=><br \/>\n        int(0)<br \/>\n        [7]=><br \/>\n        int(0)<br \/>\n        [8]=><br \/>\n        int(0)<br \/>\n        [9]=><br \/>\n        int(0)<br \/>\n        [10]=><br \/>\n        int(0)<br \/>\n        [11]=><br \/>\n        int(0)<br \/>\n        [12]=><br \/>\n        int(0)<br \/>\n        [13]=><br \/>\n        int(0)<br \/>\n        [14]=><br \/>\n        int(0)<br \/>\n        [15]=><br \/>\n        int(0)<br \/>\n        [16]=><br \/>\n        int(0)<br \/>\n        [17]=><br \/>\n        int(0)<br \/>\n        [18]=><br \/>\n        int(0)<br \/>\n        [19]=><br \/>\n        int(0)<br \/>\n        [20]=><br \/>\n        int(0)<br \/>\n        [21]=><br \/>\n        int(0)<br \/>\n        [22]=><br \/>\n        int(0)<br \/>\n        [23]=><br \/>\n        int(0)<br \/>\n      }<br \/>\n      [&#8220;hits_by_second&#8221;]=>  \/\/\u6700\u8fd15\u79d2\u949f\u7684\u547d\u4e2d\u6570<br \/>\n      array(5) {<br \/>\n        [0]=><br \/>\n        int(0)<br \/>\n        [1]=><br \/>\n        int(0)<br \/>\n        [2]=><br \/>\n        int(0)<br \/>\n        [3]=><br \/>\n        int(0)<br \/>\n        [4]=><br \/>\n        int(0)<br \/>\n      }<br \/>\n      [&#8220;size&#8221;]=>     \/\/\u5171\u4eab\u5185\u5b58\u5927\u5c0f\uff0c\u4ec5\u6b64count\u7684\uff0c\u4e0d\u662f\u6240\u6709<br \/>\n      int(134217728)<br \/>\n      [&#8220;avail&#8221;]=>    \/\/\u53ef\u7528\u5185\u5b58\u5927\u5c0f<br \/>\n      int(125642656)<br \/>\n      [&#8220;can_readonly&#8221;]=><br \/>\n      bool(false)<br \/>\n      [&#8220;free_blocks&#8221;]=><br \/>\n      array(1) {<br \/>\n        [0]=><br \/>\n        array(2) {<br \/>\n          [&#8220;size&#8221;]=>   \/\/\u7a7a\u95f2\u5757\u94fe\u9996<br \/>\n          int(125642656)<br \/>\n          [&#8220;offset&#8221;]=><br \/>\n          int(8575064)<br \/>\n        }<br \/>\n      }<br \/>\n    }<\/p>\n<p>array xcache_list(int type, int id)<br \/>\n\/\/\u8fd4\u56de\u503c\uff1a<\/p>\n<p>    array(2) {<br \/>\n      [&#8220;cache_list&#8221;]=> \/\/\u7f13\u5b58\u5217\u8868<br \/>\n     array(78) {<br \/>\n        [0]=><br \/>\n        array(7) {<br \/>\n          [&#8220;size&#8221;]=>  \/\/\u5927\u5c0f<br \/>\n          int(107952)<br \/>\n          [&#8220;refcount&#8221;]=> \/\/\u5f15\u7528\u6b21\u6570<br \/>\n          int(0)<br \/>\n          [&#8220;hits&#8221;]=>     \/\/\u547d\u4e2d\u6b21\u6570<br \/>\n          int(0)<br \/>\n          [&#8220;ctime&#8221;]=>     \/\/\u521b\u5efa\u65f6\u95f4<br \/>\n          int(1306710407)<br \/>\n          [&#8220;atime&#8221;]=>     \/\/\u5b58\u5728\u65f6\u95f4<br \/>\n          int(1306710407)<br \/>\n          [&#8220;hvalue&#8221;]=><br \/>\n          int(1257)<br \/>\n          [&#8220;name&#8221;]=>     \/\/\u540d\u79f0<br \/>\n          string(9) &#8220;my_var100&#8221;<br \/>\n        }<br \/>\n        [1]=> &#8230;&#8230;<\/p>\n<p>     [&#8220;deleted_list&#8221;]=> \/\/\u5220\u9664\u5217\u8868<br \/>\n      array(0) {<br \/>\n      }<br \/>\n    }<\/p>\n<p>void xcache_clear_cache(int type, int id)<br \/>\nstring xcache_coredump(int op_type)<\/p>\n<p><!--nextpage--><br \/>\n\u4e09\u3001<\/p>\n<p>    Cache \u5e2e\u52a9<\/p>\n<p>    \u69fd: Hash \u69fd\u4e2a\u6570, \u5bf9\u5e94 php.ini \u91cc\u7684\u8bbe\u7f6e<br \/>\n    \u5927\u5c0f: \u5171\u4eab\u5185\u5b58\u533a\u5927\u5c0f, \u5355\u4f4d: \u5b57\u8282<br \/>\n    \u5269\u4f59: \u53ef\u7528\u5185\u5b58, \u5bf9\u5e94\u5171\u4eab\u5185\u5b58\u533a\u7684\u5269\u4f59\u5185\u5b58\u5b57\u8282\u6570<br \/>\n    %: \u767e\u5206\u6bd4, \u6761\u72b6\u663e\u793a\u53ef\u7528\u5185\u5b58\u7684\u6bd4\u4f8b<br \/>\n    \u6e05\u9664: \u6e05\u9664\u6309\u94ae, \u70b9\u51fb\u6309\u94ae\u6e05\u9664\u5bf9\u5e94\u5171\u4eab\u5185\u5b58\u533a\u7684\u6570\u636e<br \/>\n    \u7f16\u8bd1\u4e2d: \u7f16\u8bd1\u6807\u8bb0, \u5f53\u5171\u4eab\u5185\u5b58\u533a\u6b63\u5728\u7f16\u8bd1 php \u811a\u672c\u65f6\u6807\u8bb0\u4e3a &#8220;yes&#8221;<br \/>\n    \u547d\u4e2d: \u5171\u4eab\u5185\u5b58\u547d\u4e2d\u6b21\u6570, \u547d\u4e2d=\u4ece\u8be5\u5171\u4eab\u5185\u5b58\u8f7d\u5165php\u6216\u8005\u53d8\u91cf<br \/>\n    \u9519\u8fc7: \u5171\u4eab\u5185\u5b58\u9519\u8fc7\u6b21\u6570, \u9519\u8fc7=\u8bf7\u6c42\u7684php\u6216\u8005\u53d8\u91cf\u5e76\u4e0d\u5728\u8be5\u5171\u4eab\u5185\u5b58\u5185<br \/>\n    \u963b\u585e: \u7f16\u8bd1\u963b\u585e\u8df3\u8fc7, \u963b\u585e=\u5f53\u9700\u8be5\u5171\u4eab\u5185\u5b58\u533a\u8d1f\u8d23\u7f16\u8bd1\u65f6, \u5176\u4ed6\u8fdb\u7a0b\/\u73b0\u6210\u65e0\u6cd5\u8bbf\u95ee\u6b64\u5171\u4eab\u5185\u5b58. \u8df3\u8fc7=XCache \u81ea\u52a8\u5224\u65ad\u963b\u585e\u7684\u5171\u4eab\u5185\u5b58\u533a\u81ea\u52a8\u8df3\u8fc7\u963b\u585e\u7b49\u5f85, \u76f4\u63a5\u4f7f\u7528\u975e\u5171\u4eab\u5185\u5b58\u65b9\u5f0f\u7ee7\u7eed\u5904\u7406\u8bf7\u6c42<br \/>\n    \u5185\u5b58\u4e0d\u8db3: \u5185\u5b58\u4e0d\u8db3\u6b21\u6570, \u663e\u793a\u9700\u8981\u5b58\u50a8\u65b0\u6570\u636e\u4f46\u662f\u5171\u4eab\u5185\u5b58\u533a\u5185\u5b58\u4e0d\u8db3\u7684\u6b21\u6570. \u5982\u679c\u51fa\u73b0\u592a\u9891\u7e41\u8bf7\u8003\u8651\u52a0\u5927\u914d\u7f6e\u4e2d\u7684 xcache.size \u6216\u8005 xcache.var_size<br \/>\n    \u9519\u8bef: \u7f16\u8bd1\u9519\u8bef, \u663e\u793a\u60a8\u7684\u811a\u672c\u88ab\u7f16\u8bd1\u65f6\u51fa\u9519\u7684\u6b21\u6570. \u5982\u679c\u60a8\u53d1\u73b0\u8fd9\u4e2a\u6570\u5b57\u4e0d\u65ad\u589e\u957f, \u60a8\u5e94\u8be5\u68c0\u67e5\u4ec0\u4e48\u811a\u672c\u4ea7\u751f\u9519\u8bef. \u53c2\u8003 ini.error-log and ini.display-errors<br \/>\n    \u4fdd\u62a4: \u663e\u793a\u8be5 Cache \u662f\u5426\u652f\u6301\u5e76\u542f\u7528 readonly_protection<br \/>\n    \u7f13\u51b2: \u5171\u4eab\u5185\u5b58\u4e8e\u8be5\u5171\u4eab\u5185\u5b58\u533a\u7684\u9879\u76ee\u6761\u6570<br \/>\n    \u5f85\u5220: \u5171\u4eab\u5185\u5b58\u533a\u5185\u5c06\u8981\u5220\u9664\u7684\u9879\u76ee (\u5df2\u7ecf\u5220\u9664\u4f46\u662f\u8fd8\u88ab\u67d0\u4e9b\u8fdb\u7a0b\u5360\u7528)<br \/>\n    GC: \u5783\u573e\u56de\u6536\u7684\u5012\u8ba1\u65f6<br \/>\n    \u7a7a\u95f2\u5757: \u5171\u4eab\u5185\u5b58\u533a\u5185\u7684\u7a7a\u95f2\u5185\u5b58\u5757<\/p>\n<p>    List \u5e2e\u52a9<\/p>\n<p>    \u9879\u76ee: \u9879\u76ee\u540d\u6216\u8005\u6587\u4ef6\u540d<br \/>\n    \u547d\u4e2d: \u8be5\u9879\u76ee\u88ab\u547d\u4e2d\u7684\u6b21\u6570 (\u4ece\u5171\u4eab\u5185\u5b58\u533a\u8f7d\u5165)<br \/>\n    \u5f15\u7528\u6570: \u9879\u76ee\u4f9d\u7136\u88ab\u5176\u4ed6\u8fdb\u7a0b\u5360\u636e\u7684\u5f15\u7528\u6b21\u6570<br \/>\n    \u5927\u5c0f: \u9879\u76ee\u5728\u5171\u4eab\u5185\u5b58\u91cc\u5360\u7528\u5b57\u8282\u6570<br \/>\n    \u6e90\u5927\u5c0f: \u6e90\u6587\u4ef6\u5927\u5c0f<br \/>\n    \u4fee\u6539: \u6e90\u6587\u4ef6\u6700\u540e\u4fee\u6539\u65f6\u95f4<br \/>\n    \u8bbe\u5907: \u6e90\u6587\u4ef6\u6240\u5728\u8bbe\u5907ID<br \/>\n    Inode:\u6e90\u6587\u4ef6\u7684inode<br \/>\n    \u8bbf\u95ee: \u6700\u540e\u8bbf\u95ee\u8be5\u9879\u76ee\u7684\u65f6\u95f4<br \/>\n    \u521b\u5efa: \u8be5\u9879\u76ee\u88ab\u521b\u5efa\u4e8e\u5171\u4eab\u5185\u7684\u65f6\u95f4<\/p>\n<nav class=\"page-links\"><strong>\u9875\u9762\uff1a<\/strong> <a href=\"https:\/\/www.icocean.com\/blog\/?p=2640\" class=\"post-page-numbers\"><span class=\"page-num\">1<\/span><\/a> <a href=\"https:\/\/www.icocean.com\/blog\/?p=2640&#038;page=2\" class=\"post-page-numbers\"><span class=\"page-num\">2<\/span><\/a> <a href=\"https:\/\/www.icocean.com\/blog\/?p=2640&#038;page=3\" class=\"post-page-numbers\"><span class=\"page-num\">3<\/span><\/a><\/nav>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u914d\u7f6e 1\u3001\u5206\u5c42\uff1aXcache\u5c06\u7f13\u5b58\u5bf9\u8c61\u5206\u4e3a\u4e24\u7c7b\uff1aphp\u4ee3\u7801\u548cphp\u53d8\u91cf\uff0c\u524d\u8005\u5728xcache.ini\u4e2d\u53ea\u662f\u5355 <a href='https:\/\/www.icocean.com\/blog\/?p=2640' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[3340,3062,3307],"class_list":["post-2640","post","type-post","status-publish","format-standard","hentry","category-lamp","tag-php","tag-xcache","tag-3307","category-24-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2640"}],"version-history":[{"count":1,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2640\/revisions"}],"predecessor-version":[{"id":2641,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2640\/revisions\/2641"}],"wp:attachment":[{"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}