{"id":279216,"date":"2023-08-01T20:05:59","date_gmt":"2023-08-01T12:05:59","guid":{"rendered":"https:\/\/lrxjmw.cn\/ojtwfqdtscwt.html"},"modified":"2023-08-01T20:05:59","modified_gmt":"2023-08-01T12:05:59","slug":"ojtwfqdtscwt","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/ojtwfqdtscwt.html","title":{"rendered":"Oracle\u76d1\u542c\u65e0\u6cd5\u542f\u52a8\uff0c\u63d0\u793a\u9519\u8bef\u63d0\u793a\u4e0e\u78c1\u76d8\u7a7a\u95f4\u6709\u5173"},"content":{"rendered":"

1\u3001\u9519\u8bef\u73b0\u8c61<\/p>\n

\u987e\u5ba2\u7684\u4e00\u53f0Oracle\u6570\u636e\u5e93\u5728\u6b7b\u673a\u91cd\u542f\u540e\uff0cOracle\u7a83\u542c\u672a\u80fd\u542f\u52a8\uff0c\u63d0\u793a\u9519\u8bef\u5982\u56fe1\u6240\u793a\u3002<\/p>\n

\u786c\u76d8\u5220\u9664\u6587\u4ef6\u91cd\u542f\u540e\u53c8\u6062\u590d_inode \u786c\u76d8 \u5220\u9664\u4e24\u4e2a\u6587\u4ef6 -linux_\u786c\u76d8\u5220\u9664\u6587\u4ef6\u540e\u5bb9\u91cf\u672a\u51cf\u5c11<\/p>\n

\u56fe1inode\u7528\u5c3d\u6545\u969c\u73b0\u8c61<\/p>\n

\u4ece\u8f93\u51fa\u4fe1\u606f\u5224\u5b9a\uff0c\u5e94\u5f53\u662fc\u76d8\u7a7a\u95f4\u7528\u5c3d\u9020\u6210Oracle\u7a83\u542c\u672a\u80fd\u542f\u52a8\uff0c\u7531\u4e8eOracle\u5728\u542f\u52a8\u7a83\u542c\u65f6\u987b\u8981\u521b\u5efa\u7a83\u542c\u65e5\u5fd7\u6587\u4ef6\uff0c\u800c\u524d\u9762\u4e09\u4e2aTNS\u9519\u8bef\u5f62\u6210\u7684\u7f18\u7531\u90fd\u662f\u7531\u6700\u540e\u4e00\u884c\u9519\u8bef\u9020\u6210\u7684\uff0c\u4e8e\u662f\u9996\u5148\u68c0\u6d4b\u7cfb\u7edf<\/a>c\u76d8\u7a7a\u95f4\uff0c\u5982\u56fe2\u6240\u793a\u3002<\/p>\n

inode \u786c\u76d8 \u5220\u9664\u4e24\u4e2a\u6587\u4ef6 -linux_\u786c\u76d8\u5220\u9664\u6587\u4ef6\u540e\u5bb9\u91cf\u672a\u51cf\u5c11_\u786c\u76d8\u5220\u9664\u6587\u4ef6\u91cd\u542f\u540e\u53c8\u6062\u590d<\/p>\n

\u56fe2\u67e5\u770b\u6545\u969c\u670d\u52a1\u5668c\u76d8\u7a7a\u95f4\u4fe1\u606f<\/p>\n

\u4ecec\u76d8\u8f93\u51fa\u4fe1\u606f\u53ef\u77e5\uff0c\u6240\u6709\u5206\u533ac\u76d8\u7a7a\u95f4\u90fd\u8fd8\u6709\u4e0d\u5c11\u5269\u4f59\uff0c\u800cOracle\u7a83\u542c\u5199\u65e5\u5fd7\u7684\u8def\u5f84\u5728\/var\u5206\u533a\u4e0b\uff0c\u5373\u4f7f\/var\u5206\u533a\u4ec5\u5b58\u4e0b3.2GB\u53ef\u7528c\u76d8\u7a7a\u95f4\uff0c\u5e76\u4e14\u8fd9\u5bf9\u4e8e\u5199\u4e00\u4e2a\u7a83\u542c\u65e5\u5fd7\u6587\u4ef6\u6765\u8bf4\u8db3\u591f\u4e86\uff0c\u4e3a\u4f55\u8fd8\u63d0\u793a\u7a7a\u95f4\u4e0d\u8db3\u5462\uff1f<\/p>\n

2\u3001\u89e3\u51b3\u601d\u8def<\/p>\n

\u786c\u76d8\u5220\u9664\u6587\u4ef6\u91cd\u542f\u540e\u53c8\u6062\u590d_inode \u786c\u76d8 \u5220\u9664\u4e24\u4e2a\u6587\u4ef6 -linux_\u786c\u76d8\u5220\u9664\u6587\u4ef6\u540e\u5bb9\u91cf\u672a\u51cf\u5c11<\/p>\n

\u65e2\u7136\u9519\u8bef\u63d0\u793a\u4e0ec\u76d8\u7a7a\u95f4\u6709\u5173\uff0c\u90a3\u5c31\u6df1\u5165\u7814\u7a76\u4e0b\u5173\u4e8ec\u76d8\u7a7a\u95f4\u7684\u95ee\u9898\uff0c\u5728\u7cfb\u7edf\u4e2d\u5bf9c\u76d8\u7a7a\u95f4\u7684\u5360\u7528\u5206\u4e3a\u4e09\u4e2a\u90e8\u4efd\uff1a\u7b2c\u4e00\u4e2a\u662f\u5316\u5b66c\u76d8\u7a7a\u95f4\uff0c\u7b2c\u4e8c\u4e2a\u662finode\u8282\u70b9\u6240\u5360\u7528\u7684c\u76d8\u7a7a\u95f4\uff0c\u7b2c\u4e09\u4e2a\u662f\u62ff\u6765\u50a8\u5b58\u8baf\u53f7\u91cf\u7684\u7a7a\u95f4\uff0c\u800c\u5e73\u5e38\u63a5\u89e6\u8f83\u591a\u7684\u662f\u5316\u5b66c\u76d8\u7a7a\u95f4\uff0c\u5bf9\u7b2c\u4e8c\u4e2a\u548c\u7b2c\u4e09\u4e2a\u7a7a\u95f4\u7684\u95ee\u9898\u63a5\u89e6\u8f83\u5c11\u3002\u65e2\u7136\u4e0d\u662f\u5316\u5b66c\u76d8\u7a7a\u95f4\u7684\u95ee\u9898\uff0c\u63a5\u7740\u68c0\u6d4b\u662f\u5426\u662finode\u8282\u70b9\u7528\u5c3d\u7684\u95ee\u9898\uff0c\u901a\u8fc7\u6267\u884c\u201cdf-i\u201d\u67e5\u770b\u7cfb\u7edf\u53ef\u7528\u7684inode\u8282\u70b9\uff0c\u5982\u56fe3\u6240\u793a\u3002<\/p>\n

\u56fe3\u67e5\u770bc\u76d8\u5206\u533a\u7684inode\u4f7f\u7528\u4fe1\u606f<\/p>\n

\u7531\u8f93\u51fa\u53ef\u77e5\uff0c\u679c\u7136\u662finode\u8282\u70b9\u7528\u5c3d\u9020\u6210\u96be\u4ee5\u5199\u65e5\u5fd7\u6587\u4ef6\u3002\u56e0\u4e3ainode\u88ab\u5168\u90e8\u7528\u5b8c\u4e86\uff0c\u5c3d\u7ba1\u8fd8\u6709\u53ef\u7528c\u76d8\u7a7a\u95f4\uff0c\u5e76\u4e14\u6587\u4ef6\u7cfb\u7edf\u65e9\u5df2\u672a\u80fd\u518d\u8bb0\u5f55\u90a3\u4e9b\u7a7a\u4f59\u7a7a\u95f4\u4e86\uff0c\u56e0\u800c\u4e5f\u5c31\u4e0d\u80fd\u518d\u521b\u5efa\u65b0\u6587\u4ef6\u6216\u6587\u4ef6\u5939\u4e86\u3002\u56e0\u4e3a\u6d89\u53ca\u4e86inode\u77e5\u8bc6\uff0c\u63a5\u51fa\u6765\u5c31\u7b80\u5355\u4ecb\u7ecd\u4e0bLinux<\/a>\u4e2dinode\u7684\u6982\u5ff5\u3002<\/p>\n

\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u6587\u4ef6\u7531\u6570\u636e\u5757\u548c\u5143\u6570\u636e\u7ec4\u6210\uff0c\u6570\u636e\u5757\u5c31\u662f\u591a\u4e2a\u8fde\u7eed\u6027\u7684\u78c1\u9053\uff0c\u662f\u6587\u4ef6\u5b58\u53d6\u7684\u6700\u5c0f\u5355\u4f4d\u3002\u5757\uff08block\uff09\u7684\u5927\u5c0f\uff0c\u6700\u5e38\u89c1\u7684\u662f4KB\uff0c\u5373\u8fde\u7eed8\u4e2asector\u7ec4\u6210\u4e00\u4e2ablock\u3002\u800c\u5143\u6570\u636e\u62ff\u6765\u8bb0\u5f55\u6587\u4ef6\u7684\u521b\u5efa\u8005\u3001\u6587\u4ef6\u7684\u521b\u5efa\u65e5\u671f\u3001\u6587\u4ef6\u7684\u5927\u5c0f\u7b49\uff0c\u8fd9\u4e9b\u50a8\u5b58\u6587\u4ef6\u5143\u6570\u636e\u4fe1\u606f\u7684\u533a\u57df\u5c31\u79f0\u4f5cinode\uff0c\u6216\u5219\u79f0\u4e3a\u201c\u7d22\u5f15\u8282\u70b9\u201d\u3002<\/p>\n

inode \u786c\u76d8 \u5220\u9664\u4e24\u4e2a\u6587\u4ef6 -linux_\u786c\u76d8\u5220\u9664\u6587\u4ef6\u91cd\u542f\u540e\u53c8\u6062\u590d_\u786c\u76d8\u5220\u9664\u6587\u4ef6\u540e\u5bb9\u91cf\u672a\u51cf\u5c11<\/p>\n

\u56e0\u4e3ainode\u4e5f\u662f\u62ff\u6765\u50a8\u5b58\u6587\u4ef6\u76f8\u5173\u5c5e\u6027\u4fe1\u606f\u7684\uff0c\u56e0\u800cinode\u4e5f\u4f1a\u6d88\u8017\u786c\u789f\u7a7a\u95f4\uff0c\u5728\u786c\u789f\u4f4e\u683c\u7684\u65f6\u4faf\uff0c\u64cd\u4f5c\u7cfb\u7edf\u4f1a\u624b\u52a8\u5c06\u786c\u789f\u5206\u6210\u4e24\u4e2a\u533a\u57df\u3002\u4e00\u4e2a\u662f\u6570\u636e\u533a\uff0c\u50a8\u5b58\u6587\u4ef6\u6570\u636e\uff1b\u53e6\u4e00\u4e2a\u662finode\u533a\uff08inodetable\uff09\uff0c\u50a8\u5b58inode\u6240\u5305\u542b\u7684\u4fe1\u606f\u3002<\/p>\n

\u6bcf\u4f4dinode\u8282\u70b9\u7684\u5927\u5c0f\u901a\u5e38\u662f128B\u6216256B\u3002inode\u8282\u70b9\u7684\u603b\u91cf\u5728\u4f4e\u683c\u6587\u4ef6\u7cfb\u7edf\u7684\u65f6\u4faf\uff0c\u5c31\u65e9\u5df2\u786e\u5b9a\uff0c\u53ef\u4ee5\u901a\u8fc7\u5982\u4e0b\u547d\u4ee4<\/a>\u67e5\u770b\u67d0\u4e2ac\u76d8\u5206\u533ainode\u7684\u603b\u91cf\uff1a<\/p>\n

[root@localhost~]#dumpe2fs-h\/dev\/sda3|grep\u2018inodecount\u2019<\/p>\n

dumpe2fs1.39(29-May-2006)<\/p>\n

\u786c\u76d8\u5220\u9664\u6587\u4ef6\u91cd\u542f\u540e\u53c8\u6062\u590d_inode \u786c\u76d8 \u5220\u9664\u4e24\u4e2a\u6587\u4ef6 -linux_\u786c\u76d8\u5220\u9664\u6587\u4ef6\u540e\u5bb9\u91cf\u672a\u51cf\u5c11<\/p>\n

\u4e3e\u4e2a\u5f62\u8c61\u7684\u53cd\u4f8b\uff0c\u5047\u5982\u5c06\u6587\u4ef6\u7cfb\u7edf\u79f0\u4f5c\u4e00\u672c\u4e66\uff0c\u8fd9\u4e48\uff0cinode\u5c31\u662f\u8fd9\u672c\u4e66\u7684\u76ee\u5f55\u3002\u5728\u4f4e\u683c\u6587\u4ef6\u7cfb\u7edf\u7684\u65f6\u4faf\uff0c\u8fd9\u672c\u4e66\u7684\u6700\u5927\u76ee\u5f55\u6570\u65e9\u5df2\u786e\u5b9a\u4e86\u3002\u5728\u5199\u4e66\uff08\u4fdd\u5b58\u6587\u4ef6\u5230c\u76d8\uff09\u7684\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u80fd\u53d1\u751f\u8fd9\u6837\u7684\u60c5\u51b5\uff1a\u7eb8\u7528\u5b8c\u4e86\uff08c\u76d8\u7a7a\u95f4\u4e0d\u8db3\uff09\uff0c\u6b64\u65f6\u80af\u5b9a\u6ca1\u6cd5\u4fdd\u5b58\u65b0\u7684\u6587\u4ef6\uff1b\u5e76\u4e14\u8fd8\u5b58\u5728\u53e6\u5916\u4e00\u79cd\u60c5\u51b5\uff0c\u5c31\u662f\u76ee\u5f55\u5199\u5b8c\u4e86\uff08inode\u8282\u70b9\u5168\u90e8\u5206\u914d\u5b8c\u4e86\uff09\uff0c\u5728\u8fd9\u4e9b\u60c5\u51b5\u4e0b\uff0c\u5373\u4f7f\u8fd8\u6709\u7eb8\uff08c\u76d8\u7a7a\u95f4\uff09\uff0c\u5e76\u4e14\u76ee\u5f55\uff08inode\uff09\u65e9\u5df2\u6ca1\u6709\u4e86\uff0c\u5728\u6587\u4ef6\u7cfb\u7edf\u4e0a\u5176\u5b9e\u4e0d\u80fd\u65b0\u5efa\u6587\u4ef6\u4e86\uff0c\u7531\u4e8e\u6ca1\u6709\u4e86\u76ee\u5f55\uff0c\u5c31\u96be\u4ee5\u901a\u8fc7\u7d22\u5f15\u627e\u5230\u6587\u4ef6\u3002<\/p>\n

\u53e6\u5916inode \u786c\u76d8 \u5220\u9664\u4e24\u4e2a\u6587\u4ef6 -linux<\/strong>\uff0c\u6bcf\u4f4dinode\u90fd\u6709\u4e00\u4e2a\u53f7\u7801\uff0c\u64cd\u4f5c\u7cfb\u7edf\u7528inode\u53f7\u7801\u6765\u5206\u8fa8\u4e0d\u540c\u7684\u6587\u4ef6\u3002\u901a\u8fc7\u201cls-i\u201d\u547d\u4ee4\uff0c\u53ef\u4ee5\u67e5\u770b\u6587\u4ef6\u540d\u5bf9\u5e94\u7684inode\u53f7\uff0c\u6bd4\u5982\uff1a<\/p>\n

[root@localhost~]#ls-iinstall.log<\/p>\n

\u5047\u5982\u8981\u67e5\u770b\u8fd9\u4e2a\u6587\u4ef6\u66f4\u8be6\u5c3d\u7684inode\u4fe1\u606f\uff0c\u53ef\u4ee5\u901a\u8fc7stat\u547d\u4ee4\u5b9e\u73b0\uff0c\u5982\u56fe4\u6240\u793a\u3002<\/p>\n

\u56fe4\u67e5\u770b\u67d0\u6587\u4ef6inode\u7684\u8be6\u5c3d\u4fe1\u606f<\/p>\n

3\u3001\u89e3\u51b3\u95ee\u9898<\/p>\n

\u6653\u5f97\u8fd9\u4e2a\u6545\u969c\u662f\u7531inode\u9020\u6210\u7684\u540e\uff0c\u63a5\u51fa\u6765\u5c31\u8981\u67e5\u770b\/var\u76ee\u5f55\u4e0b\u4e3a\u4ec0\u4e48\u7528\u5c3d\u4e86inode\uff0c\u901a\u8fc7\u68c0\u6d4b\u53d1\u89c9\/var\/spool\/clientmqueue\/\u8fd9\u4e2a\u76ee\u5f55\u4e0a\u9762\u7684\u6587\u4ef6\u4ec5500\u591a\u4e07\u4e2a\uff0c\u81f3\u4e8e\u5f62\u6210\u7684\u7f18\u7531\uff0c\u5256\u6790\u540e\u786e\u5b9a\u5e94\u5f53\u662f\u7cfb\u7edf\u7684crontab\u9020\u6210\u7684\uff0c\u7531\u4e8e\u7cfb\u7edf\u5f00\u4e86\u591a\u4e2acrontab\u4efb\u52a1\uff0c\u800c\u5047\u5982crontab\u4efb\u52a1\u6ca1\u6709\u91cd\u5b9a\u5411\uff0c\u9ed8\u8ba4\u90fd\u4f1a\u5728\u8fd9\u4e2a\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u6587\u4ef6\uff0c\u65e5\u79ef\u6708\u7d2flinux\u547d\u4ee4\u5927\u5168\uff0c\u6b64\u76ee\u5f55\u4e0b\u7684\u5c0f\u6587\u4ef6\u624d\u4f1a\u8d85\u7ea7\u591a\u3002\u89e3\u51b3\u7684\u65b9\u5f0f\u5f88\u7b80\u5355\uff0c\u5220\u6389\u90a3\u4e9b\u6ca1\u7528\u7684\u6587\u4ef6\u5373\u53ef\u3002\u5220\u6389\u7684\u65b9\u5f0f\u662f\u76f4\u63a5\u4f7f\u7528rm\u547d\u4ee4\uff0c\u8fd9\u65f6\u80af\u5b9a\u4f1a\u63d0\u793a\u201cArgumentlisttoolong\u201d\u7684\u9519\u8bef\uff0c\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u901a\u8fc7\u5982\u4e0b\u547d\u4ee4\u5373\u53ef\u5b8c\u6210\uff1a<\/p>\n

[root@localhost~]#find\/var\/spool\/clientmqueue\/-name\"*\"-execrm-rf{};<\/p>\n

\u5220\u6389\u65e5\u5fd7\u6587\u4ef6\u540e\uff0c\u518d\u5ea6\u542f\u52a8Oracle\u7a83\u542c\uff0c\u53ef\u4ee5\u987a\u5229\u5b9e\u73b0\u542f\u52a8\uff0c\u67e5\u770b\u53d1\u89c9\u65b0\u7684\u7a83\u542c\u65e5\u5fd7\u6587\u4ef6\u65e9\u5df2\u751f\u6210linux\u547d\u4ee4\u8be6\u89e3\u8bcd\u5178\uff0c\u81f3\u6b64inode \u786c\u76d8 \u5220\u9664\u4e24\u4e2a\u6587\u4ef6 -linux<\/strong>\uff0c\u95ee\u9898\u5f97\u5230\u5b8c\u6ee1\u89e3\u51b3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728\u5173\u673a\u91cd\u542f\u540e\uff0cOracle\u76d1\u542c\u65e0\u6cd5\u542f\u52a8\uff0c\u63d0\u793a\u9519\u8bef\u5982\u56fe1\u6240\u793a\u3002inode\u8017\u5c3d\u6545\u969c\u73b0\u8c61\u4ece\u8f93\u51fa\u4fe1\u606f\u5224\u65ad\uff0c\u5e94\u8be5\u662f\u78c1\u76d8\u7a7a\u95f4\u8017\u5c3d\u5bfc\u81f4Oracle\u76d1\u542c\u65e0\u6cd5\u542f\u52a8\uff0c\u56e0\u4e3aOracle\u5728\u542f\u52a8\u76d1\u542c\u65f6\u9700\u8981\u521b\u5efa\u76d1\u542c\u65e5\u5fd7\u6587\u4ef6\uff0c\u800c\u4e0a\u9762\u4e09\u4e2aTNS\u9519\u8bef\u4ea7\u751f\u7684\u539f\u56e0\u90fd\u662f\u7531\u6700\u540e\u4e00\u884c\u9519\u8bef\u5bfc\u81f4\u7684\uff0c\u4e8e\u662f\u9996\u5148\u68c0\u67e5\u7cfb\u7edf\u78c1\u76d8\u7a7a\u95f4\uff0c\u5982\u56fe2\u6240\u793a\u3002\u67e5\u770b\u6545\u969c\u670d\u52a1\u5668\u78c1\u76d8\u7a7a\u95f4\u4fe1\u606f\u7531\u8f93\u51fa\u53ef\u77e5\uff0c\u679c\u7136\u662finode\u8282\u70b9\u8017\u5c3d\u5bfc\u81f4\u65e0\u6cd5\u5199\u65e5\u5fd7\u6587\u4ef6\u3002<\/p>\n","protected":false},"author":1,"featured_media":279217,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-279216","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/279216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=279216"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/279216\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/279217"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=279216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=279216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=279216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}