{"id":77624,"date":"2026-02-25T02:25:37","date_gmt":"2026-02-24T18:25:37","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/77624.html"},"modified":"2026-02-25T02:25:37","modified_gmt":"2026-02-24T18:25:37","slug":"%e6%9c%8d%e5%8a%a1%e5%99%a8dentry%e9%ab%98%e7%9a%84%e5%8d%b1%e5%ae%b3%ef%bc%9f%e8%b6%85%e8%bf%87%e5%86%85%e5%ad%98%e7%9a%84%e5%a4%9a%e5%b0%91%e8%a6%81%e5%8e%bb%e5%a4%84%e7%90%86%ef%bc%9f%e5%a6%82","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/77624.html","title":{"rendered":"\u670d\u52a1\u5668dentry\u9ad8\u7684\u5371\u5bb3\uff1f\u8d85\u8fc7\u5185\u5b58\u7684\u591a\u5c11\u8981\u53bb\u5904\u7406\uff1f\u5982\u4f55\u5904\u7406\uff1f"},"content":{"rendered":"<\/p>\n<h4>\u76ee\u5f55\u6807\u9898<\/h4>\n<ul>\n<li>\u2705 **\u4e00\u3001dentry \u9ad8\u7684\u5371\u5bb3&#xff08;Denrty Cache \u8fc7\u5927\u610f\u5473\u7740\u4ec0\u4e48&#xff09;**<\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>**\u5f53 dentry \u6570\u91cf\u5f02\u5e38\u589e\u5927\u65f6&#xff0c;\u4f1a\u51fa\u73b0&#xff1a;**<\/li>\n<li>1. **\u5360\u7528\u5927\u91cf\u5185\u5b58&#xff08;Dentry Cache&#xff09;**<\/li>\n<li>2. **\u5185\u5b58\u538b\u529b\u5bfc\u81f4 &#034;cache thrashing&#034;**<\/li>\n<li>3. **\u5f71\u54cd\u6587\u4ef6\u7cfb\u7edf\u6027\u80fd**<\/li>\n<li>4. **\u53ef\u80fd\u5bfc\u81f4 OOM&#xff08;\u6781\u7aef\u60c5\u51b5\u4e0b&#xff09;**<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u2705 **\u4e8c\u3001\u8d85\u8fc7\u591a\u5c11 dentry \u624d\u53eb\u5f02\u5e38&#xff1f;**<\/li>\n<li>\n<ul>\n<li>\u2757 **\u5224\u65ad\u6807\u51c6&#xff08;\u5b9e\u6218\u7ecf\u9a8c\u503c&#xff09;**<\/li>\n<li>\n<ul>\n<li>**1. dentry &gt; \u603b\u5185\u5b58\u7684 10%**<\/li>\n<li>**2. dentry &gt; \u603b\u5185\u5b58\u7684 20%**<\/li>\n<li>**3. dentry &gt; \u603b\u5185\u5b58\u7684 30%**<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>&#x1f50d; **\u4e09\u3001\u5982\u4f55\u8bca\u65ad\u662f\u8c01\u5bfc\u81f4 dentry \u66b4\u589e&#xff1f;**<\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>1. \u67e5\u770b dentry \u7684\u6570\u91cf\u4e0e\u5927\u5c0f<\/li>\n<li>2. \u627e\u51fa\u54ea\u4e9b\u8def\u5f84\u88ab\u9891\u7e41\u8bbf\u95ee<\/li>\n<li>3. \u627e\u51fa\u521b\u5efa\/\u5220\u9664\u5c0f\u6587\u4ef6\u6700\u591a\u7684\u76ee\u5f55<\/li>\n<li>4. k8s \u73af\u5883\u5e38\u89c1\u539f\u56e0<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>&#x1f527; **\u56db\u3001\u5982\u4f55\u5904\u7406 dentry \u504f\u9ad8&#xff1f;&#xff08;\u4ece\u8f7b\u5230\u91cd&#xff09;**<\/li>\n<li>\n<ul>\n<li>**\u65b9\u6848 A&#xff1a;\u624b\u52a8\u56de\u6536 dentry&#xff08;\u4e34\u65f6\u63aa\u65bd&#xff09;**<\/li>\n<li>**\u65b9\u6848 B&#xff1a;\u8c03\u6574 &#096;vm.vfs_cache_pressure&#096;**<\/li>\n<li>**\u65b9\u6848 C&#xff1a;\u6e05\u7406\u95ee\u9898\u76ee\u5f55&#xff08;\u6839\u672c\u89e3\u51b3&#xff09;**<\/li>\n<li>**\u65b9\u6848 D&#xff1a;\u6587\u4ef6\u7cfb\u7edf\u5c42\u4f18\u5316**<\/li>\n<li>**\u65b9\u6848 E&#xff1a;\u91cd\u542f\u5bfc\u81f4\u95ee\u9898\u7684\u670d\u52a1**<\/li>\n<\/ul>\n<\/li>\n<li>\u2b50 \u751f\u4ea7\u7ecf\u9a8c\u603b\u7ed3&#xff08;\u975e\u5e38\u5173\u952e&#xff09;<\/li>\n<li>&#x1f4cc; \u9700\u8981\u6211\u5e2e\u4f60\u5206\u6790\u4f60\u670d\u52a1\u5668\u7684 dentry \u662f\u5426\u5f02\u5e38\u5417&#xff1f;<\/li>\n<li>\u2705 **\u4e00\u3001\u4f60\u7684 dentry \u5b9e\u9645\u5360\u4e86\u591a\u5c11\u5185\u5b58&#xff1f;&#xff08;\u8ba1\u7b97&#xff09;**<\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>&#x1f4cc; **drop \u4e4b\u524d&#xff1a;**<\/li>\n<li>&#x1f4cc; **drop \u4e4b\u540e&#xff1a;**<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>&#x1f6a8; **\u4e8c\u3001\u4f60\u7684 dentry \u662f\u5426\u5f02\u5e38&#xff1f;**<\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>\u2714 dentry \u5360\u6bd4&#xff08;\u6e05\u7406\u524d&#xff09;<\/li>\n<li>\u2714 dentry \u5360\u6bd4&#xff08;\u6e05\u7406\u540e&#xff09;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>&#x1f3af; **\u7ed3\u8bba&#xff1a;\u4f60\u7684 dentry \u5e76\u4e0d\u9ad8&#xff0c;\u5b8c\u5168\u4e0d\u5f02\u5e38\u3002**<\/li>\n<li>\u2753\u90a3\u4e3a\u4ec0\u4e48 drop \u540e buff\/cache \u4ece 34G \u2192 5.9G&#xff1f;<\/li>\n<li>\u2753\u90a3\u4e3a\u4ec0\u4e48 dentry \u6e05\u7406\u540e&#xff0c;buff\/cache \u4e0b\u964d\u5230\u4e86 5.9G&#xff1f;<\/li>\n<li>&#x1f4cc; **\u4e09\u3001\u4f60\u7684\u7cfb\u7edf\u72b6\u6001\u5206\u6790&#xff08;\u975e\u5e38\u91cd\u8981&#xff09;**<\/li>\n<li>&#x1f7e2; **\u56db\u3001\u4f60\u662f\u5426\u9700\u8981\u8fdb\u4e00\u6b65\u5904\u7406&#xff1f;**<\/li>\n<li>&#x1f9ed; \u4e94\u3001\u4f60\u73b0\u5728\u5e94\u8be5\u5173\u6ce8\u7684\u70b9<\/li>\n<li>&#x1f9e9; \u5982\u679c\u4f60\u60f3\u8fdb\u4e00\u6b65\u68c0\u67e5\u95ee\u9898\u6839\u56e0<\/li>\n<\/ul>\n<p>\u4e0b\u9762\u7ed9\u4f60\u4e00\u4efdDBA\/\u8fd0\u7ef4\u7ea7\u522b\u3001\u751f\u4ea7\u5b9e\u8df5\u5411\u7684\u5b8c\u6574\u7b54\u6848&#xff0c;\u5305\u542b&#xff1a;<\/p>\n<ul>\n<li>dentry \u9ad8\u7684\u5371\u5bb3<\/li>\n<li>\u8d85\u8fc7\u591a\u5c11\u7b97\u5f02\u5e38&#xff08;\u53ef\u91cf\u5316\u5224\u65ad&#xff09;<\/li>\n<li>\u5982\u4f55\u8bca\u65ad<\/li>\n<li>\u5982\u4f55\u5904\u7406\u4e0e\u4f18\u5316<\/li>\n<li>\u5982\u4f55\u9884\u9632<\/li>\n<\/ul>\n<hr \/>\n<h2>\u2705 \u4e00\u3001dentry \u9ad8\u7684\u5371\u5bb3&#xff08;Denrty Cache \u8fc7\u5927\u610f\u5473\u7740\u4ec0\u4e48&#xff09;<\/h2>\n<p>dentry&#xff08;directory entry&#xff09;\u662f Linux VFS \u7684\u76ee\u5f55\u9879\u7f13\u5b58&#xff0c;\u7528\u6765\u52a0\u901f\u8def\u5f84\u89e3\u6790\u3002\u6b63\u5e38\u60c5\u51b5\u4e0b dentry \u4f1a\u968f\u7740\u8bbf\u95ee\u81ea\u52a8\u589e\u957f&#xff0c;\u5e76\u6839\u636e\u5185\u6838\u7b56\u7565\u56de\u6536\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224182536-699ded20651aa.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>\u5f53 dentry \u6570\u91cf\u5f02\u5e38\u589e\u5927\u65f6&#xff0c;\u4f1a\u51fa\u73b0&#xff1a;<\/h4>\n<h4>1. \u5360\u7528\u5927\u91cf\u5185\u5b58&#xff08;Dentry Cache&#xff09;<\/h4>\n<ul>\n<li>dentry \u5360\u7528 page cache &#043; slab \u5185\u5b58<\/li>\n<li>\u53ef\u80fd\u5bfc\u81f4\u7cfb\u7edf\u53ef\u7528\u5185\u5b58\u4e0b\u964d<\/li>\n<li>\u8fdb\u800c\u89e6\u53d1 kswapd \u5927\u91cf CPU \u6d88\u8017, \u51fa\u73b0\u9ad8 I\/O wait<\/li>\n<\/ul>\n<h4>2. \u5185\u5b58\u538b\u529b\u5bfc\u81f4 \u201ccache thrashing\u201d<\/h4>\n<p>\u9ad8 dentry \u4f1a\u88ab\u9891\u7e41\u56de\u6536&#xff0c;\u65b0\u8bf7\u6c42\u53c8\u4ea7\u751f\u5927\u91cf dentry \u2014\u2014&gt; CPU \u50cf\u626b\u5730\u4e00\u6837&#xff0c;\u65e0\u6548\u5faa\u73af\u3002<\/p>\n<h4>3. \u5f71\u54cd\u6587\u4ef6\u7cfb\u7edf\u6027\u80fd<\/h4>\n<ul>\n<li>stat(), open() \u7b49\u7cfb\u7edf\u8c03\u7528\u53d8\u6162<\/li>\n<li>\u5bf9\u5927\u91cf\u5c0f\u6587\u4ef6\u7684\u5e94\u7528&#xff08;\u6bd4\u5982 MySQL\u3001Nginx \u65e5\u5fd7\u3001k8s \u7ec4\u4ef6&#xff09;\u5f71\u54cd\u660e\u663e<\/li>\n<li>\u82e5 inode\/dentry \u592a\u591a&#xff0c;ext4 \/ xfs \u4f1a\u51fa\u73b0\u5ef6\u8fdf\u5f02\u5e38<\/li>\n<\/ul>\n<h4>4. \u53ef\u80fd\u5bfc\u81f4 OOM&#xff08;\u6781\u7aef\u60c5\u51b5\u4e0b&#xff09;<\/h4>\n<p>\u5982\u679c dentry \u5360\u7528\u5185\u5b58\u8fc7\u591a\u5bfc\u81f4 free memory \u592a\u5c0f&#xff0c;\u5185\u6838\u4f1a\u4f18\u5148\u6740\u8fdb\u7a0b\u3002<\/p>\n<hr \/>\n<h2>\u2705 \u4e8c\u3001\u8d85\u8fc7\u591a\u5c11 dentry \u624d\u53eb\u5f02\u5e38&#xff1f;<\/h2>\n<p>\u5148\u770b\u5f53\u524d\u7cfb\u7edf\u7684 dentry \u4f7f\u7528\u60c5\u51b5&#xff1a;<\/p>\n<p>cat \/proc\/slabinfo | grep -i dentry<\/p>\n<p>\u6216&#xff1a;<\/p>\n<p>slabtop -o | more <\/p>\n<p>\u5173\u952e\u6307\u6807\u662f dentry \u7684\u603b\u5360\u7528\u5185\u5b58\u3002<\/p>\n<hr \/>\n<h3>\u2757 \u5224\u65ad\u6807\u51c6&#xff08;\u5b9e\u6218\u7ecf\u9a8c\u503c&#xff09;<\/h3>\n<h4>1. dentry &gt; \u603b\u5185\u5b58\u7684 10%<\/h4>\n<p>\u9700\u8981\u5173\u6ce8, \u4f46\u53ef\u80fd\u6b63\u5e38&#xff08;\u4f8b\u5982\u5927\u91cf\u5c0f\u6587\u4ef6\u7684\u5e94\u7528&#xff09;<\/p>\n<h4>2. dentry &gt; \u603b\u5185\u5b58\u7684 20%<\/h4>\n<p>\u5c5e\u4e8e\u5f02\u5e38\u504f\u9ad8&#xff0c;\u9700\u8981\u6392\u67e5 \u4e00\u822c\u8868\u73b0\u4e3a&#xff1a;<\/p>\n<ul>\n<li>free \u5185\u5b58\u4f4e<\/li>\n<li>kswapd \u53d8\u9ad8<\/li>\n<li>\u7cfb\u7edf\u5ef6\u8fdf\u589e\u5927<\/li>\n<\/ul>\n<h4>3. dentry &gt; \u603b\u5185\u5b58\u7684 30%<\/h4>\n<p>\u5fc5\u5b9a\u8981\u5904\u7406&#xff0c;\u901a\u5e38\u610f\u5473\u7740&#xff1a;<\/p>\n<ul>\n<li>\u67d0\u7a0b\u5e8f\u75af\u72c2\u626b\u63cf\u76ee\u5f55\u6216\u521b\u5efa\u5927\u91cf\u5c0f\u6587\u4ef6<\/li>\n<li>\u67d0\u4e9b Docker\/k8s workload \u5728\u4e0d\u65ad\u521b\u5efa\u4e34\u65f6\u6587\u4ef6<\/li>\n<li>\u7ebf\u4e0a I\/O \u5ef6\u8fdf\u5df2\u7ecf\u5f02\u5e38<\/li>\n<\/ul>\n<hr \/>\n<h2>&#x1f50d; \u4e09\u3001\u5982\u4f55\u8bca\u65ad\u662f\u8c01\u5bfc\u81f4 dentry \u66b4\u589e&#xff1f;<\/h2>\n<h4>1. \u67e5\u770b dentry \u7684\u6570\u91cf\u4e0e\u5927\u5c0f<\/h4>\n<p>grep -i dentry \/proc\/slabinfo<\/p>\n<p>\u5b57\u6bb5\u89e3\u91ca&#xff1a;<\/p>\n<ul>\n<li>active_objs \u2014 \u6d3b\u52a8\u5bf9\u8c61\u6570\u91cf<\/li>\n<li>objsize \u2014 \u5355\u4e2a\u5bf9\u8c61\u5927\u5c0f<\/li>\n<li>active_slabs * objs_per_slab * objsize \u2192 \u8ba1\u7b97\u603b\u5185\u5b58\u5360\u7528<\/li>\n<\/ul>\n<hr \/>\n<h4>2. \u627e\u51fa\u54ea\u4e9b\u8def\u5f84\u88ab\u9891\u7e41\u8bbf\u95ee<\/h4>\n<p>\u5b89\u88c5 eBPF \u5de5\u5177&#xff08;\u63a8\u8350&#xff09;&#xff1a;<\/p>\n<p>yum install bcc-tools -y<br \/>\nopensnoop-bpfcc<\/p>\n<p>\u53ef\u6293\u53d6\u5bf9\u8def\u5f84\u7684\u9891\u7e41 open()&#xff0c;\u5b9a\u4f4d\u8fdb\u7a0b\u3002<\/p>\n<hr \/>\n<h4>3. \u627e\u51fa\u521b\u5efa\/\u5220\u9664\u5c0f\u6587\u4ef6\u6700\u591a\u7684\u76ee\u5f55<\/h4>\n<p>du -ah \/ | sort -h | tail<\/p>\n<p>\u6216\u4f7f\u7528 inode \u6570\u91cf&#xff1a;<\/p>\n<p>find \/ -xdev -printf &#034;%h\\\\n&#034; | sort | uniq -c | sort -n | tail<\/p>\n<hr \/>\n<h4>4. k8s \u73af\u5883\u5e38\u89c1\u539f\u56e0<\/h4>\n<ul>\n<li>container logs \u76ee\u5f55\u589e\u957f\u8fc7\u5feb&#xff1a; \/var\/lib\/docker\/containers\/*\/*.log<\/li>\n<li>kubelet \u7684 pods \u4e34\u65f6\u76ee\u5f55&#xff1a; \/var\/lib\/kubelet\/pods\/UUID\/volumes\/&#8230;<\/li>\n<li>\u5bb9\u5668\u8fd0\u884c\u65f6\u6e05\u7406\u7b56\u7565\u5931\u6548<\/li>\n<\/ul>\n<hr \/>\n<h2>&#x1f527; \u56db\u3001\u5982\u4f55\u5904\u7406 dentry \u504f\u9ad8&#xff1f;&#xff08;\u4ece\u8f7b\u5230\u91cd&#xff09;<\/h2>\n<hr \/>\n<h3>\u65b9\u6848 A&#xff1a;\u624b\u52a8\u56de\u6536 dentry&#xff08;\u4e34\u65f6\u63aa\u65bd&#xff09;<\/h3>\n<p>echo 2 &gt; \/proc\/sys\/vm\/drop_caches<\/p>\n<p>\u542b\u4e49&#xff1a;<\/p>\n<table>\n<tr>\u503c\u542b\u4e49<\/tr>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>\u6e05 page cache<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>\u6e05 dentry &#043; inode<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>\u6e05 page &#043; inode &#043; dentry<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u26a0\ufe0f \u4e0d\u5f71\u54cd\u4e1a\u52a1\u8fd0\u884c&#xff0c;\u4f46\u4f1a\u5bfc\u81f4\u77ed\u6682\u6027\u80fd\u6ce2\u52a8 \u26a0\ufe0f \u8fd9\u53ea\u662f\u7f13\u89e3&#xff0c;\u4e0d\u662f\u6839\u672c\u89e3\u51b3<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224182536-699ded208bf63.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<h3>\u65b9\u6848 B&#xff1a;\u8c03\u6574 vm.vfs_cache_pressure<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224182536-699ded20adc2e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u8c03\u6574\u56de\u6536\u529b\u5ea6&#xff1a;<\/p>\n<p>sysctl -w vm.vfs_cache_pressure&#061;200<\/p>\n<p>\u9ed8\u8ba4 100&#xff0c;\u4e00\u822c\u751f\u4ea7\u5efa\u8bae&#xff1a;<\/p>\n<ul>\n<li>\u91cd\u538b\u529b\u7cfb\u7edf&#xff1a;200~300<\/li>\n<li>\u5c0f\u6587\u4ef6\u6781\u591a\u670d\u52a1\u5668&#xff08;\u6bd4\u5982 gitlab&#xff09;&#xff1a;50<\/li>\n<\/ul>\n<p>\u5199\u5165\u6c38\u4e45&#xff1a;<\/p>\n<p>echo &#034;vm.vfs_cache_pressure&#061;200&#034; &gt;&gt; \/etc\/sysctl.conf<\/p>\n<hr \/>\n<h3>\u65b9\u6848 C&#xff1a;\u6e05\u7406\u95ee\u9898\u76ee\u5f55&#xff08;\u6839\u672c\u89e3\u51b3&#xff09;<\/h3>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>find \/var\/log\/ -type f -size &#043;500M -delete<\/p>\n<p>\u6e05\u7406 Docker\/k8s \u4ea7\u751f\u7684\u5c0f\u6587\u4ef6&#xff1a;<\/p>\n<p>docker system prune -af<\/p>\n<p>k8s logs&#xff1a;<\/p>\n<p>\/var\/log\/containers\/*.log<\/p>\n<p>\u82e5\u901a\u8fc7 eBPF \u53d1\u73b0\u67d0\u4e2a\u5e94\u7528\u75af\u72c2\u904d\u5386\u76ee\u5f55&#xff0c;\u9700\u8981\u4f18\u5316\u7a0b\u5e8f\u903b\u8f91\u3002<\/p>\n<hr \/>\n<h3>\u65b9\u6848 D&#xff1a;\u6587\u4ef6\u7cfb\u7edf\u5c42\u4f18\u5316<\/h3>\n<li>xfs&#xff1a;\u5f00\u542f inode64&#xff08;\u66f4\u5feb&#xff09;<\/li>\n<li>ext4&#xff1a;\u5173\u95ed directory hashing<\/li>\n<li>\u5bf9\u7ecf\u5e38\u88ab\u626b\u63cf\u7684\u5927\u76ee\u5f55&#xff0c;\u62c6\u5206\u76ee\u5f55\u5c42\u6b21&#xff08;\u6bd4\u5982 hash \u5206\u6876&#xff09;<\/li>\n<hr \/>\n<h3>\u65b9\u6848 E&#xff1a;\u91cd\u542f\u5bfc\u81f4\u95ee\u9898\u7684\u670d\u52a1<\/h3>\n<p>\u5e38\u89c1\u5bfc\u81f4\u4e0d\u65ad\u626b\u63cf\u76ee\u5f55\u7684\u7a0b\u5e8f&#xff1a;<\/p>\n<ul>\n<li>rsync<\/li>\n<li>prometheus node-exporter<\/li>\n<li>\u67d0\u4e9b\u5b89\u5168\u8f6f\u4ef6<\/li>\n<li>\u6587\u4ef6\u76d1\u63a7 agent<\/li>\n<li>\u5e94\u7528\u9519\u8bef\u903b\u8f91&#xff08;\u6b7b\u5faa\u73af\u626b\u63cf\u76ee\u5f55&#xff09;<\/li>\n<\/ul>\n<hr \/>\n<h2>\u2b50 \u751f\u4ea7\u7ecf\u9a8c\u603b\u7ed3&#xff08;\u975e\u5e38\u5173\u952e&#xff09;<\/h2>\n<table>\n<tr>dentry \u5360\u5185\u5b58\u6bd4\u4f8b\u72b6\u6001\u5904\u7406\u5efa\u8bae<\/tr>\n<tbody>\n<tr>\n<td>&lt;10%<\/td>\n<td>\u6b63\u5e38<\/td>\n<td>\u65e0\u9700\u5904\u7406<\/td>\n<\/tr>\n<tr>\n<td>10\u201320%<\/td>\n<td>\u504f\u9ad8<\/td>\n<td>\u5efa\u8bae\u89c2\u5bdf\u5e76\u627e\u539f\u56e0<\/td>\n<\/tr>\n<tr>\n<td>20\u201330%<\/td>\n<td>\u5f02\u5e38<\/td>\n<td>\u7acb\u523b\u6392\u67e5\u7a0b\u5e8f\u95ee\u9898<\/td>\n<\/tr>\n<tr>\n<td>&gt;30%<\/td>\n<td>\u4e25\u91cd<\/td>\n<td>\u6e05 cache &#043; \u627e\u6e90\u5934<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h2>&#x1f4cc; \u9700\u8981\u6211\u5e2e\u4f60\u5206\u6790\u4f60\u670d\u52a1\u5668\u7684 dentry \u662f\u5426\u5f02\u5e38\u5417&#xff1f;<\/h2>\n<p>\u5982\u679c\u4f60\u80fd\u8d34&#xff1a;<\/p>\n<p>cat \/proc\/slabinfo | grep dentry<br \/>\nfree -m<br \/>\nslabtop -sc<\/p>\n<p>\u6211\u53ef\u4ee5\u5e2e\u4f60&#xff1a;<\/p>\n<ul>\n<li>\u8ba1\u7b97\u5f53\u524d dentry \u5185\u5b58\u5360\u6bd4<\/li>\n<li>\u5224\u65ad\u662f\u5426\u5f02\u5e38<\/li>\n<li>\u5b9a\u4f4d\u53ef\u80fd\u7684\u6839\u56e0\u76ee\u5f55\/\u8fdb\u7a0b<\/li>\n<li>\u7ed9\u51fa\u5177\u4f53\u6e05\u7406\u4e0e\u4f18\u5316\u5efa\u8bae<\/li>\n<\/ul>\n<p>\u6d4b\u8bd5\u73af\u5883\u9a8c\u8bc1 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224182536-699ded20c050b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<h2>\u2705 \u4e00\u3001\u4f60\u7684 dentry \u5b9e\u9645\u5360\u4e86\u591a\u5c11\u5185\u5b58&#xff1f;&#xff08;\u8ba1\u7b97&#xff09;<\/h2>\n<h4>&#x1f4cc; drop \u4e4b\u524d&#xff1a;<\/h4>\n<p>dentry active_objs: 1538418<br \/>\neach obj size:     192 bytes<\/p>\n<p>\u8ba1\u7b97&#xff1a;<\/p>\n<p>1538418 \u00d7 192 &#061; 295,373,000 bytes \u2248 282 MB<\/p>\n<p>\u2248 280MB dentry<\/p>\n<hr \/>\n<h4>&#x1f4cc; drop \u4e4b\u540e&#xff1a;<\/h4>\n<p>268079 \u00d7 192 &#061; 51,473,000 bytes \u2248 49 MB<\/p>\n<p>\u2248 50MB dentry<\/p>\n<hr \/>\n<h2>&#x1f6a8; \u4e8c\u3001\u4f60\u7684 dentry \u662f\u5426\u5f02\u5e38&#xff1f;<\/h2>\n<p>\u4f60\u7684\u670d\u52a1\u5668\u5185\u5b58&#xff1a;47G<\/p>\n<h4>\u2714 dentry \u5360\u6bd4&#xff08;\u6e05\u7406\u524d&#xff09;<\/h4>\n<p>280 MB \/ 47 GB \u2248 0.6%<\/p>\n<h4>\u2714 dentry \u5360\u6bd4&#xff08;\u6e05\u7406\u540e&#xff09;<\/h4>\n<p>50 MB \/ 47 GB \u2248 0.1%<\/p>\n<hr \/>\n<h2>&#x1f3af; \u7ed3\u8bba&#xff1a;\u4f60\u7684 dentry \u5e76\u4e0d\u9ad8&#xff0c;\u5b8c\u5168\u4e0d\u5f02\u5e38\u3002<\/h2>\n<p>\u6b63\u5e38\u8303\u56f4&#xff1a;<\/p>\n<ul>\n<li>&lt;10% \u2192 \u5b8c\u5168\u6b63\u5e38<\/li>\n<li>\n<p>20% \u2192 \u5e94\u5173\u6ce8<\/p>\n<\/li>\n<li>\n<p>30% \u2192 \u5fc5\u987b\u5904\u7406<\/p>\n<\/li>\n<\/ul>\n<p>\u4f60\u53ea\u6709 0.6%&#xff0c;\u8fdc\u8fdc\u4e0d\u6784\u6210\u538b\u529b\u3002<\/p>\n<hr \/>\n<h2>\u2753\u90a3\u4e3a\u4ec0\u4e48 drop \u540e buff\/cache \u4ece 34G \u2192 5.9G&#xff1f;<\/h2>\n<p>\u56e0\u4e3a&#xff1a;<\/p>\n<p>echo 2 &gt; \/proc\/sys\/vm\/drop_caches<\/p>\n<p>\u4f1a\u6e05\u7406 dentry &#043; inode&#xff0c;\u8fd9\u4e9b\u90fd\u5b58\u653e\u5728 SLAB&#xff0c;\u4f46\u4e5f\u4f1a\u6ce2\u53ca\u5230 page cache&#xff08;\u76ee\u5f55\u8bfb\u53d6\u3001\u6587\u4ef6\u8bfb\u53d6\u90fd\u5e26 page cache&#xff09;\u3002<\/p>\n<p>\u4f60\u7684\u7cfb\u7edf\u4e4b\u524d\u7684 buff\/cache&#xff08;34G&#xff09;\u5305\u542b\u5185\u5bb9&#xff1a;<\/p>\n<ul>\n<li>dentry &#043; inode&#xff08;\u5360\u975e\u5e38\u5c11&#xff09;<\/li>\n<li>page cache&#xff08;\u7edd\u5927\u90e8\u5206&#xff09;<\/li>\n<li>\u6587\u4ef6\u7cfb\u7edf\u5143\u6570\u636e cache<\/li>\n<li>\u5176\u4ed6 slab<\/li>\n<\/ul>\n<p>drop_caches &#061; 2 \u5b9e\u9645\u4e0a\u4f1a\u6e05\u6389 slab \u4e2d\u7684\u5927\u90e8\u5206\u53ef\u56de\u6536 cache \u2192 \u6240\u4ee5 buff\/cache \u5927\u5e45\u4e0b\u964d\u662f \u6b63\u5e38\u73b0\u8c61\u3002<\/p>\n<p>\u4e0d\u662f\u4f60\u7684 dentry \u7279\u522b\u9ad8&#xff0c;\u800c\u662f\u7cfb\u7edf\u7684 page cache \u539f\u672c\u5c31\u5f88\u5927&#xff08;\u8fd9\u4e5f\u6b63\u5e38&#xff09;\u3002<\/p>\n<hr \/>\n<h2>\u2753\u90a3\u4e3a\u4ec0\u4e48 dentry \u6e05\u7406\u540e&#xff0c;buff\/cache \u4e0b\u964d\u5230\u4e86 5.9G&#xff1f;<\/h2>\n<p>\u56e0\u4e3a&#xff1a;<\/p>\n<p>dentry \u53ea\u662f slab \u7684\u4e00\u5c0f\u90e8\u5206 slab \u53c8\u53ea\u662f buff\/cache \u7684\u4e00\u5c0f\u90e8\u5206 buff\/cache \u8fd8\u5305\u542b\u5927\u91cf page cache<\/p>\n<p>\u4f60 drop \u540e&#xff0c;\u7cfb\u7edf\u628a page cache \u4e5f\u987a\u4fbf drop \u6389\u4e86\u3002<\/p>\n<hr \/>\n<h2>&#x1f4cc; \u4e09\u3001\u4f60\u7684\u7cfb\u7edf\u72b6\u6001\u5206\u6790&#xff08;\u975e\u5e38\u91cd\u8981&#xff09;<\/h2>\n<p>\u6839\u636e free&#xff1a;<\/p>\n<p>used        12G \u2192 11G<br \/>\nfree         0.8G \u2192 29G<br \/>\nbuff\/cache  34G \u2192 5.9G<\/p>\n<p>\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>\u5185\u5b58\u5bcc\u8db3<\/li>\n<li>page cache \u5f88\u591a&#xff08;\u6b63\u5e38&#xff0c;\u56e0\u4e3a Linux \u4f1a\u7528\u7a7a\u95f2\u5185\u5b58\u6765\u505a cache&#xff09;<\/li>\n<li>dentry \u5e76\u4e0d\u9ad8<\/li>\n<li>\u6ca1\u6709\u5185\u5b58\u538b\u529b<\/li>\n<li>\u6ca1\u6709\u5fc5\u8981 drop cache<\/li>\n<li>drop \u4e4b\u540e\u53cd\u800c\u8ba9 Linux \u91cd\u65b0\u52a0\u8f7d cache&#xff0c;\u53ef\u80fd\u7a0d\u5fae\u5f71\u54cd\u6027\u80fd<\/li>\n<\/ul>\n<hr \/>\n<h2>&#x1f7e2; \u56db\u3001\u4f60\u662f\u5426\u9700\u8981\u8fdb\u4e00\u6b65\u5904\u7406&#xff1f;<\/h2>\n<p>\u4e0d\u9700\u8981\u3002\u5b8c\u5168\u4e0d\u9700\u8981\u3002<\/p>\n<p>\u4f60\u7684 dentry&#xff1a;<\/p>\n<ul>\n<li>\u539f\u672c\u5c31\u53ea\u6709 280MB<\/li>\n<li>\u6e05\u9664\u540e\u6062\u590d\u5230\u6b63\u5e38\u503c&#xff08;\u51e0\u767e MB \u2192 \u6570\u5341 MB \u90fd\u5c5e\u4e8e\u6b63\u5e38\u6ce2\u52a8&#xff09;<\/li>\n<li>\u5185\u5b58\u5bbd\u88d5<\/li>\n<li>\u7cfb\u7edf\u975e\u5e38\u5065\u5eb7<\/li>\n<\/ul>\n<hr \/>\n<h2>&#x1f9ed; \u4e94\u3001\u4f60\u73b0\u5728\u5e94\u8be5\u5173\u6ce8\u7684\u70b9<\/h2>\n<p>\u2714 \u4f60\u7684\u7cfb\u7edf\u6839\u672c\u4e0d\u662f dentry \u5360\u7528\u8fc7\u9ad8 \u2714 \u4f60\u6e05\u7406 dentry \u540e\u51fa\u73b0 buff\/cache \u5927\u964d\u662f\u6b63\u5e38\u73b0\u8c61 \u2714 \u968f\u4fbf drop cache \u5e76\u4e0d\u662f\u597d\u4e60\u60ef&#xff0c;\u4f1a\u5f71\u54cd\u4e1a\u52a1\u6027\u80fd<\/p>\n<hr \/>\n<h2>&#x1f9e9; \u5982\u679c\u4f60\u60f3\u8fdb\u4e00\u6b65\u68c0\u67e5\u95ee\u9898\u6839\u56e0<\/h2>\n<p>\u6211\u53ef\u4ee5\u5e2e\u4f60\u786e\u8ba4&#xff1a;<\/p>\n<ul>\n<li>\u54ea\u4e9b slab \u5360\u7528\u6700\u591a&#xff1f;<\/li>\n<li>page cache \u662f\u5426\u5f02\u5e38\u5927&#xff1f;<\/li>\n<li>\u54ea\u4e2a\u76ee\u5f55\u6587\u4ef6\u7279\u522b\u591a&#xff1f;<\/li>\n<li>\u54ea\u4e2a\u7a0b\u5e8f\u9891\u7e41\u8bbf\u95ee\u6587\u4ef6\u7cfb\u7edf&#xff1f;<\/li>\n<\/ul>\n<p>\u4f60\u53ef\u4ee5\u7ed9\u6211&#xff1a;<\/p>\n<p>slabtop -sc<br \/>\ndu -sh \/*<\/p>\n<p>\u6211\u53ef\u4ee5\u5e2e\u4f60\u70b9\u51fa\u5360\u7528\u6700\u5927\u7684\u90e8\u5206&#xff0c;\u5e76\u5224\u65ad\u662f\u5426\u5b58\u5728\u95ee\u9898\u3002<\/p>\n<p>\u5982\u9700\u8981\u7ee7\u7eed&#xff0c;\u76f4\u63a5\u8d34\u8f93\u51fa\u5373\u53ef\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u5f55\u6807\u9898\u2705 **\u4e00\u3001dentry \u9ad8\u7684\u5371\u5bb3&#xff08;Denrty Cache \u8fc7\u5927\u610f\u5473\u7740\u4ec0\u4e48&#xff09;****\u5f53 dentry \u6570\u91cf\u5f02\u5e38\u589e\u5927\u65f6&#xff0c;\u4f1a\u51fa\u73b0&#xff1a;**1. **\u5360\u7528\u5927\u91cf\u5185\u5b58&#xff08;Dentry Cache&#xff09;**2. **\u5185\u5b58\u538b\u529b\u5bfc\u81f4 \\&#8221;cache thrashing\\&#8221;**3. **\u5f71\u54cd\u6587\u4ef6\u7cfb\u7edf\u6027\u80fd**4. **\u53ef\u80fd\u5bfc\u81f4 OOM&#xff08;\u6781\u7aef\u60c5\u51b5\u4e0b&#xff09;**\u2705 **\u4e8c\u3001\u8d85\u8fc7\u591a\u5c11 dentry \u624d<\/p>\n","protected":false},"author":2,"featured_media":77620,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43,44],"topic":[],"class_list":["post-77624","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u670d\u52a1\u5668dentry\u9ad8\u7684\u5371\u5bb3\uff1f\u8d85\u8fc7\u5185\u5b58\u7684\u591a\u5c11\u8981\u53bb\u5904\u7406\uff1f\u5982\u4f55\u5904\u7406\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/77624.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u670d\u52a1\u5668dentry\u9ad8\u7684\u5371\u5bb3\uff1f\u8d85\u8fc7\u5185\u5b58\u7684\u591a\u5c11\u8981\u53bb\u5904\u7406\uff1f\u5982\u4f55\u5904\u7406\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u76ee\u5f55\u6807\u9898\u2705 **\u4e00\u3001dentry \u9ad8\u7684\u5371\u5bb3&#xff08;Denrty Cache \u8fc7\u5927\u610f\u5473\u7740\u4ec0\u4e48&#xff09;****\u5f53 dentry \u6570\u91cf\u5f02\u5e38\u589e\u5927\u65f6&#xff0c;\u4f1a\u51fa\u73b0&#xff1a;**1. **\u5360\u7528\u5927\u91cf\u5185\u5b58&#xff08;Dentry Cache&#xff09;**2. **\u5185\u5b58\u538b\u529b\u5bfc\u81f4 &quot;cache thrashing&quot;**3. **\u5f71\u54cd\u6587\u4ef6\u7cfb\u7edf\u6027\u80fd**4. **\u53ef\u80fd\u5bfc\u81f4 OOM&#xff08;\u6781\u7aef\u60c5\u51b5\u4e0b&#xff09;**\u2705 **\u4e8c\u3001\u8d85\u8fc7\u591a\u5c11 dentry \u624d\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/77624.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-24T18:25:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224182536-699ded20651aa.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/77624.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/77624.html\",\"name\":\"\u670d\u52a1\u5668dentry\u9ad8\u7684\u5371\u5bb3\uff1f\u8d85\u8fc7\u5185\u5b58\u7684\u591a\u5c11\u8981\u53bb\u5904\u7406\uff1f\u5982\u4f55\u5904\u7406\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-24T18:25:37+00:00\",\"dateModified\":\"2026-02-24T18:25:37+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/77624.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/77624.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/77624.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u670d\u52a1\u5668dentry\u9ad8\u7684\u5371\u5bb3\uff1f\u8d85\u8fc7\u5185\u5b58\u7684\u591a\u5c11\u8981\u53bb\u5904\u7406\uff1f\u5982\u4f55\u5904\u7406\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u670d\u52a1\u5668dentry\u9ad8\u7684\u5371\u5bb3\uff1f\u8d85\u8fc7\u5185\u5b58\u7684\u591a\u5c11\u8981\u53bb\u5904\u7406\uff1f\u5982\u4f55\u5904\u7406\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/77624.html","og_locale":"zh_CN","og_type":"article","og_title":"\u670d\u52a1\u5668dentry\u9ad8\u7684\u5371\u5bb3\uff1f\u8d85\u8fc7\u5185\u5b58\u7684\u591a\u5c11\u8981\u53bb\u5904\u7406\uff1f\u5982\u4f55\u5904\u7406\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u76ee\u5f55\u6807\u9898\u2705 **\u4e00\u3001dentry \u9ad8\u7684\u5371\u5bb3&#xff08;Denrty Cache \u8fc7\u5927\u610f\u5473\u7740\u4ec0\u4e48&#xff09;****\u5f53 dentry \u6570\u91cf\u5f02\u5e38\u589e\u5927\u65f6&#xff0c;\u4f1a\u51fa\u73b0&#xff1a;**1. **\u5360\u7528\u5927\u91cf\u5185\u5b58&#xff08;Dentry Cache&#xff09;**2. **\u5185\u5b58\u538b\u529b\u5bfc\u81f4 \"cache thrashing\"**3. **\u5f71\u54cd\u6587\u4ef6\u7cfb\u7edf\u6027\u80fd**4. **\u53ef\u80fd\u5bfc\u81f4 OOM&#xff08;\u6781\u7aef\u60c5\u51b5\u4e0b&#xff09;**\u2705 **\u4e8c\u3001\u8d85\u8fc7\u591a\u5c11 dentry \u624d","og_url":"https:\/\/www.wsisp.com\/helps\/77624.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-24T18:25:37+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224182536-699ded20651aa.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/77624.html","url":"https:\/\/www.wsisp.com\/helps\/77624.html","name":"\u670d\u52a1\u5668dentry\u9ad8\u7684\u5371\u5bb3\uff1f\u8d85\u8fc7\u5185\u5b58\u7684\u591a\u5c11\u8981\u53bb\u5904\u7406\uff1f\u5982\u4f55\u5904\u7406\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-24T18:25:37+00:00","dateModified":"2026-02-24T18:25:37+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/77624.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/77624.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/77624.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u670d\u52a1\u5668dentry\u9ad8\u7684\u5371\u5bb3\uff1f\u8d85\u8fc7\u5185\u5b58\u7684\u591a\u5c11\u8981\u53bb\u5904\u7406\uff1f\u5982\u4f55\u5904\u7406\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/77624","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=77624"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/77624\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/77620"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=77624"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=77624"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=77624"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=77624"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}