{"id":658,"date":"2011-09-21T17:38:32","date_gmt":"2011-09-21T09:38:32","guid":{"rendered":"http:\/\/www.poloo.org\/?p=658"},"modified":"2011-09-21T17:38:32","modified_gmt":"2011-09-21T09:38:32","slug":"apache-%e6%8c%87%e5%ae%9a%e7%9a%84%e7%bd%91%e7%bb%9c%e5%90%8d%e4%b8%8d%e5%86%8d%e5%8f%af%e7%94%a8-winnt_accept-asynchronous-acceptex-failed","status":"publish","type":"post","link":"https:\/\/www.poloo.org\/?p=658","title":{"rendered":"Apache \u6307\u5b9a\u7684\u7f51\u7edc\u540d\u4e0d\u518d\u53ef\u7528 winnt_accept: Asynchronous AcceptEx failed"},"content":{"rendered":"<p>\u8f6c\u5e16 \uff081\uff09\uff1a<\/p>\n<p><span style=\"font-size: x-small;\">\u8fd9\u51e0\u5929\u9047\u5230\u4e86\u4e00\u4e2a\u5f88\u591a\u4eba\u90fd\u9047\u5230\u8fc7\u7684\u95ee\u9898\uff0c\u8fd9\u4e2a\u95ee\u9898\u5728google\u4e0a\u6709\u592a\u591a\u7684\u4eba\u90fd\u9047\u5230\uff0c\u4f46\u5f88\u5c11\u6709\u6307\u51fa\u6700\u7ec8\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u5927\u90e8\u5206\u662f\u89e3\u51b3\u4e86AcceptEx failed\uff0c\u4f46\u5f15\u8d77\u4e86\u5185\u5b58\u7684\u75af\u72c2\u589e\u52a0\uff08\u201cmemory leak\u201d\uff09\u3002\u8fd9\u51e0\u5929\u9047\u5230\u8fd9\u4e2a\u95ee\u9898\u540e\u4e5f\u8d39\u4e86\u4e0d\u5c11\u529f\u592b\uff0c\u4f46\u6ca1\u6709\u4ece\u7f51\u4e0a\u627e\u5230\u6700\u6839\u672c\u7684\u89e3\u51b3\u529e\u6cd5\uff0c\u5e78\u8fd0\u7684\u662f\uff0c\u6700\u7ec8\u63a2\u7d22\u51fa\u4e86\u4e00\u4e2a\u89e3\u51b3\u65b9\u6848\uff0c\u5728\u8fd9\u91cc\u5199\u51fa\u6765\uff0c\u5e0c\u671b\u80fd\u5e2e\u52a9\u540e\u6765\u9047\u5230\u95ee\u9898\u7684\u96be\u53cb\u4eec\u5c3d\u65e9\u89e3\u51b3\u95ee\u9898\u3002<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u9047\u5230\u7684\u95ee\u9898\u6bd4\u8f83\u66f2\u6298\uff0c\u5927\u4f53\u7ecf\u8fc7\u662f\uff1a<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u67d0\u5929\uff0c\u4e0d\u80fd\u8bbf\u95eeapache\u7684\u9875\u9762\uff0c\u68c0\u67e5\u5f97\u77e5\uff0capache\u5728\u75af\u72c2\u5199\u65e5\u5fd7\uff0c\u800c\u4e14\u5927\u90e8\u5206\u662f\u4e00\u53e5\u8bdd\uff1a\u201cwinnt_accept: Asynchronous AcceptEx failed\u201d\uff0c\u6700\u591a\u7684\u65f6\u5019\u5199\u5230\u4e86200M\u4ee5\u4e0a\u3002\u7ecf\u5404\u65b9\u63a2\u7d22\uff0c\u6700\u7ec8\u5728apache\u7684\u624b\u518c\u4e0a\u627e\u5230\u4e86\u4e00\u4e2a\u89e3\u51b3\u65b9\u6cd5\uff1a<\/span><\/p>\n<p><span style=\"font-size: x-small;\"><!--more--><\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u5728http.conf\u914d\u7f6e\u4e2d\u8bbe\u7f6eWin32DisableAcceptEx\u53c2\u6570\u3002\u8fd9\u6837\u505a\u7684\u539f\u56e0\u662f\uff0capache\u5728\u67d0\u4e9bWindows\u7248\u672c\u4e0a\u53ef\u80fd\u517c\u5bb9\u6027\u4e0d\u8db3\uff0c\u5728\u8c03\u7528AcceptEx\u63a5\u6536\u8bf7\u6c42\u65f6\u53ef\u80fd\u6709\u95ee\u9898\uff0c\u4f7f\u7528\u4e0a\u9762\u7684\u53c2\u6570\u7981\u7528\u540e\uff0capache\u4f1a\u4f7f\u7528\u53e6\u4e00\u5957\u65b9\u6848\u66ff\u4ee3\uff08BSD\uff09\uff0c\u8fd9\u79cd\u65b9\u6848\u6548\u7387\u7a0d\u5fae\u4f4e\u4e9b\u3002\u8be6\u89c1\uff1a<\/span><\/p>\n<p><a title=\"http:\/\/httpd.apache.org\/docs\/2.0\/mod\/mpm_winnt.html#win32disableacceptex\" href=\"http:\/\/httpd.apache.org\/docs\/2.0\/mod\/mpm_winnt.html#win32disableacceptex\"><span style=\"font-size: x-small; color: #785818;\">http:\/\/httpd.apache.org\/docs\/2.0\/mod\/mpm_winnt.html#win32disableacceptex<\/span><\/a><\/p>\n<p><span style=\"font-size: x-small;\">\u5f53\u65f6\u4fee\u6539\u5b8c\u8be5\u8bbe\u7f6e\u540e\uff0c\u91cd\u542fapache\uff0c\u6d4b\u8bd5\u4e86\u4e00\u6bb5\u65f6\u95f4\uff0c\u611f\u89c9\u539f\u6765\u7684\u95ee\u9898\u786e\u5b9e\u6d88\u9664\u4e86\uff0c\u4e0d\u8fc7\u5f53\u65f6\u611f\u89c9\u5185\u5b58\u5360\u7528\u91cf\u975e\u5e38\u660e\u663e\uff0c\u4f46\u6d4b\u8bd5\u4e00\u6bb5\u65f6\u95f4\u6ca1\u6709\u95ee\u9898\u5c31\u653e\u8fc7\u53bb\u4e86\uff0c\u76f4\u5230\u4eca\u5929\u4e0b\u5348\uff1a<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u4eca\u5929\u4e0b\u5348\u53d1\u73b0\u53c8\u4e0d\u80fd\u8bbf\u95ee\u9875\u9762\u4e86\uff0c\u7136\u540e\u68c0\u67e5apache\u53d1\u73b0\u5b83\u5df2\u7ecfcrash\u4e86\u3002\u7136\u540e\u6253\u5f00\u65e5\u5fd7\u53d1\u73b0\u6700\u540e\u4e00\u53e5\uff1a\u201cOut of memory\uff01\u201d\uff0d\uff0d\u5185\u5b58\u4e0d\u8db3\u4e86\u3002<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u7136\u540e\u5bf9\u5185\u5b58\u8fdb\u884c\u6d4b\u8bd5\uff0c\u53d1\u73b0\u4e00\u76f4\u6309\u4f4fF5\u952e\u4e0d\u505c\uff0capache\u7684\u5185\u5b58\u5c31\u4e0d\u505c\u4e0a\u6da8\uff0c\u4f3c\u4e4e\u6709\u4e00\u76f4\u5403\u5149\u5185\u5b58\u7684\u610f\u601d\uff0c\u505c\u6b62\u5237\u65b0\u540e\u53ea\u80fd\u4e0b\u964d\u5230500M\u5de6\u53f3\u4e86\uff08\u521a\u542f\u52a8\u65f6\u662f20M\uff09\u3002\u5982\u679c\u4e0d\u4f7f\u7528Win32DisableAcceptEx\u53c2\u6570\u5219\u660e\u663e\u6ca1\u6709\u8fd9\u4e2a\u95ee\u9898\uff0c\u505c\u6b62\u5237\u65b0\u540e\u80fd\u56de\u843d\u523020M\u3002\u770b\u6765\u662f\u8fd9\u4e2a\u53c2\u6570\u7684\u539f\u56e0\u3002<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u4e8e\u662f\u4ecegoogle\u4e0a\u5bfb\u627e\u7b54\u6848\uff0c\u4f46\u53ef\u60dc\u7684\u662f\u6ca1\u6709\u592a\u591a\u6709\u4ef7\u503c\u7684\u4e1c\u897f\u3002\u53ea\u80fd\u770b\u5230apache\u7684\u5b98\u65b9\u7f51\u7ad9\u5df2\u7ecf\u628a\u8fd9\u4e2a\u95ee\u9898\u5217\u4e3a\u4e86\u4e00\u4e2abug\uff0c\u751a\u81f3\u6709\u4e9b\u4eba\u53c8\u9000\u56de\u5230\u4e0d\u4f7f\u7528\u90a3\u4e2a\u53c2\u6570\uff08\u5fcd\u53d7AcceptEx failed\u7684\u98ce\u9669\uff1f\uff09\u3002\u6700\u540e\u770b\u5230\u4e86\u4e00\u4e2a\u8bf4\u6cd5\uff0c\u5c06ThreadsPerChild \u8bbe\u4e3a170\u4ee5\u4e0b\u5c31\u53ef\u4ee5\uff0c\u53ef\u4e3a\u4ec0\u4e48\u662f170\u4ee5\u4e0b\u5462\uff1f\u4f5c\u8005\u6ca1\u6709\u5f88\u591a\u63cf\u8ff0\u3002\u4e8e\u662f\u81ea\u5df1\u63a2\u7d22\u5982\u4e0b\uff0c\u4f7f\u7528\u4e00\u4e2a\u7b80\u5355\u7684\u9875\u9762\uff0c\u4e0d\u505c\u7684\u6309\u4f4fF5\u5237\u65b0\uff1a<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u5982\u679c\u5c06Threadsperchild \u8bbe\u4e3a50\uff0c\u65e0\u8bba\u600e\u4e48\u5237\u65b0\u5185\u5b58\u6700\u591a\u5230150M\u5de6\u53f3\uff0c\u4f46\u4e0d\u4f1a\u518d\u957f\u4e86\u3002\u505c\u6b62\u5237\u65b0\u540e\uff0c\u4f1a\u964d\u523055M\u5de6\u53f3\uff1b\u5982\u679c\u5c06ThreadsPerChild \u8bbe\u4e3a100\uff0c \u5185\u5b58\u5cf0\u503c\uff1a282M\uff0c\u80fd\u964d\u523092M\u5de6\u53f3\uff1b\u5982\u679c\u5c06ThreadsPerChild\u8bbe\u4e3a550\uff0c\u5185\u5b58\u5cf0\u503c2G\uff0c\u505c\u6b62\u540e\u5230500M\u5de6\u53f3\u2026\u2026\u3002<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u6309\u7167\u4e0a\u8ff0\u89c4\u5f8b\uff0c\u57fa\u672c\u4e0a\u627e\u5230\u4e86\u95ee\u9898\u7684\u539f\u56e0\uff0c\u56e0\u4e3a\u6211\u7684\u914d\u7f6e\u4e2d\u539f\u6765\u4f7f\u7528\u7684\u662fThreadsPerChild 550\uff0c\u8fd9\u6837\u4e5f\u5c31\u662f\u5185\u5b58\u5f88\u53ef\u80fd\u4f1a\u957f\u52302G\u4ee5\u4e0a\uff08\u590d\u6742\u9875\u9762\u6bd4\u7b80\u5355\u9875\u9762\u8017\u7528\u91cf\u5927\uff09\uff0c\u800c\u673a\u5668\u7684\u5185\u5b58\u8bbe\u7f6e\u4e0d\u80fd\u652f\u6301\u8fd9\u4e48\u5927\uff0c\u56e0\u6b64\u5e94\u8be5\u5c31\u662f\u8fd9\u4e2a\u95ee\u9898\u4e86\u3002<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u6240\u4ee5\u6700\u7ec8\u7684\u89e3\u51b3\u65b9\u6cd5\u5c31\u662f\u4fdd\u7559Win32DisableAcceptEx\u7684\u540c\u65f6\u4fee\u6539\u4e86ThreadsPerChild 150\u3002\u89e3\u51b3\u5b8c\u6210\u540e\u6211\u63a8\u6d4b\u5185\u5b58\u75af\u72c2\u589e\u957f\u7684\u539f\u56e0\uff1a<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u9996\u5148\uff0cThreadsPerChild\u7684\u610f\u601d\u662f\u7cfb\u7edf\u542f\u52a8\u65f6\u9ed8\u8ba4\u542f\u52a8\u7684\u7b49\u5f85\u7ebf\u7a0b\u6570\uff0c\u7528\u6765\u7b49\u5f85\u5904\u7406\u5ba2\u6237\u7684\u8bf7\u6c42\u3002\u5728\u4f7f\u7528AcceptEx\u65f6\u5185\u5b58\u589e\u957f\u4e0d\u660e\u663e\u5e76\u4e14\u53ef\u4ee5\u964d\u56de20M\u5de6\u53f3\uff0c\u53ef\u80fd\u662f\u56e0\u4e3a\u7528\u6237\u6765\u4e86\u8bf7\u6c42\u7ebf\u7a0b\u5206\u914d\u4e86\u4e00\u4e9b\u8d44\u6e90\uff0c\u6b64\u65f6\u5185\u5b58\u589e\u957f\uff0c\u4f46\u7528\u6237\u8bbf\u95ee\u5b8c\u6210\u540e\uff0c\u8fd9\u4e9b\u8d44\u6e90\u90fd\u91ca\u653e\u4e86\uff08\u8fd9\u4e9b\u8d44\u6e90\u5f88\u53ef\u80fd\u90fd\u548c\u7528\u6237\u76f8\u5173\uff0c\u6ca1\u6cd5\u7559\u7740\u4e0b\u4e2a\u7528\u6237\u4f7f\u7528\uff0c\u6240\u4ee5\u90fd\u91ca\u653e\u4e86\uff09\u3002\u4f46\u7981\u7528\u4e86AcceptEx\u540e\uff0c\u7531\u4e8eapache\u6bcf\u4e2a\u7ebf\u7a0b\u9700\u8981\u5904\u7406\u7f51\u7edc\u4e8b\u4ef6\uff0c\u56e0\u6b64\u6bcf\u4e2a\u7ebf\u7a0b\u7684\u8d44\u6e90\u9700\u8981\u5c31\u591a\u4e86\uff0c\u5e76\u4e14\u5904\u7406\u5b8c\u4e00\u4e2a\u7528\u6237\u7684\u8bf7\u6c42\u540e\uff0c\u6709\u4e9b\u8d44\u6e90\u4e0d\u60f3\u91ca\u653e\uff0c\u662f\u53ef\u4ee5\u5bf9\u4e0b\u4e2a\u7528\u6237\u91cd\u7528\u7684\uff0c\u8fd9\u6837\u5c31\u7559\u5728\u4e86\u91cc\u9762\u3002\u7531\u4e8e\u6211\u7684\u7ebf\u7a0b\u6570\u8bbe\u4e86550\uff08\u4f30\u8ba1\u7f51\u4e0a\u5f88\u591a\u4eba\u9047\u5230\u8fd9\u4e2a\u7c7b\u4f3c\u4e8e\u201cmemory leak\u201d\u95ee\u9898\u7684\u53ef\u80fd\u4e5f\u90fd\u8bbe\u7684\u6bd4\u8f83\u5927\u6216\u8005\u673a\u5668\u865a\u62df\u5185\u5b58\u8f83\u5c0f\uff09\uff0c\u8fd9\u6837\u5f53\u7ebf\u7a0b\u8f83\u591a\u65f6\u5c31\u4f1a\u51fa\u73b0\u8fbe\u5230\u6700\u5927\u5185\u5b58\u7684\u60c5\u51b5\uff0c\u800c\u4e14\u8fd9\u79cd\u73b0\u8c61\u7ed9\u4eba\u7684\u611f\u89c9\u5c31\u662f\u6709\u5185\u5b58\u6cc4\u6f0f\uff0c\u56e0\u4e3a\u521d\u59cb\u65f6\u662f20M\uff0c\u6765\u4e00\u4e2a\u8bf7\u6c42\u540e\u7ebf\u7a0b\u5206\u914d\u4e00\u4e9b\u8d44\u6e90\uff08\u6682\u65f6\u4e0d\u91ca\u653e\u7684\uff09\uff0c\u8fd9\u6837\u53ef\u80fd\u5c31\u53d8\u6210\u4e8621M\uff0c\u5982\u679c\u540c\u65f6\u670910\u4e2a\u4eba\u8bbf\u95ee\uff0c\u53ef\u80fd\u7b49\u4ed6\u4eec\u8bbf\u95ee\u5b8c\u540e\u5c31\u53d8\u6210\u4e8650M\uff0c\u611f\u89c9\u662f\u6709\u5185\u5b58\u6cc4\u6f0f\u3002<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u8fd9\u6837\u4e5f\u5c31\u89e3\u91ca\u4e86\u4e3a\u4ec0\u4e48\u6709\u4eba\u8bf4\u8bbe\u5230170\u4ee5\u4e0b\u5c31\u4e0d\u518d\u51fa\u73b0\u5185\u5b58\u4e0d\u8db3\u4e86\uff0c\u53ef\u80fd\u56e0\u4e3a\u4ed6\u7684\u673a\u5668\u8fd9\u4e2a\u914d\u7f6e\u6bd4\u8f83\u5408\u9002\u3002\u4e0d\u8fc7\u77e5\u9053\u4e86\u4e0a\u8ff0\u7684\u89c4\u5f8b\u548c\u4e00\u4e9b\u63a8\u6d4b\uff0c\u8fd9\u4e2a\u7ed3\u8bba\u5e94\u8be5\u662f\u6839\u636e\u81ea\u5df1\u673a\u5668\u7684\u60c5\u51b5\u5408\u7406\u8c03\u914d\u3002<\/span><\/p>\n<p><span style=\"font-size: x-small;\">\u6211\u5f88\u5c11\u63a5\u89e6apache\u7b49linux\u4e0a\u7684\u4e1c\u897f\uff0c\u6240\u77e5\u8f83\u5c11\uff0c\u53ea\u662f\u9047\u5230\u4e86\u95ee\u9898\u624d\u5f00\u59cb\u4e86\u89e3\u7684\u4e0a\u8ff0\u4fe1\u606f\uff0c\u53ef\u80fd\u6709\u5f88\u591a\u7684\u7406\u89e3\u9519\u8bef\u3002\u5982\u679c\u80fd\u7ed9\u522b\u4eba\u4e00\u4e9b\u5e2e\u52a9\u6211\u4f1a\u6bd4\u8f83\u6b23\u6170\uff0c\u5982\u679c\u8bef\u5bfc\u751a\u81f3\u5e2e\u4e86\u5012\u5fd9\uff0c\u4e5f\u5e0c\u671b\u80fd\u591f\u7406\u89e3\uff01<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u5982\u679c\u5728Win\u4e0b\u4f7f\u7528Apache,\u800c\u4f60\u53c8\u5fc5\u987b\u8981\u5f00\u9632\u706b\u5899\u4e4b\u7c7b\u7684\u8f6f\u4ef6,\u90a3\u4e48\u5982\u679c\u4f60\u7684Apache\u8fd0\u884c\u6709\u95ee\u9898,\u6bd4\u5982\u6587\u4ef6\u4e0b\u8f7d\u4e0d\u5b8c\u5168\u6216\u8005\u635f\u574f\u3001\u672a\u77e5\u9519\u8bef\u4fe1\u606f\u3001\u9632\u706b\u5899\u51b2\u7a81\u7b49\u7b49,\u8bf7\u53c2\u8003\u5982\u4e0b:<\/p>\n<p>\u6253\u5f00\u4f60\u7684 httpd.conf \u914d\u7f6e\u6587\u4ef6,\u770b\u662f\u5426\u5982\u4e0b\u4fee\u6539\u53ef\u4ee5\u89e3\u51b3\u95ee\u9898:<\/p>\n<p>\u00a0\u00a0\u00a0 EnableSendfile Off<br \/>\n\u00a0\u00a0\u00a0 EnableMMAP Off<br \/>\n\u00a0\u00a0\u00a0 Win32DisableAcceptEx<\/p>\n<p><span style=\"font-family: \u5b8b\u4f53;\">\u8f6c\u5e16 \uff082\uff09\uff1a<\/span><\/p>\n<p>&nbsp;<\/p>\n<p dir=\"ltr\"><span style=\"font-family: Courier, Monospaced;\"><span style=\"font-family: Arial;\"><span style=\"font-family: Courier, Monospaced;\"><span style=\"font-family: Arial;\"><span style=\"font-family: Courier, Monospaced;\">\u3010<\/span><\/span><\/span>\u73b0\u8c61\uff1a\u3011<\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<blockquote dir=\"ltr\">\n<p dir=\"ltr\"><span style=\"font-family: Courier, Monospaced;\"><span style=\"font-family: Arial;\"><br \/>\n\u8bbf\u95eeapache\u9759\u6001\u7684http\u5185\u5bb9\uff0c\u6709\u65f6\u5019\u6bd4\u8f83\u6162\uff0c\u6709\u65f6\u5019\u201c\u627e\u4e0d\u5230\u7f51\u9875\u201d404\u9519\u8bef\uff1b\u53e6\u5916\u5728error.log\u91cc\u4e5f\u62a5\u9519\uff1a<\/span><\/span><\/p>\n<p><span style=\"font-family: Courier, Monospaced;\"><span style=\"font-family: Arial;\">[Mon May 26 10:11:47 2008] [warn] (OS 64)\u6307\u5b9a\u7684\u7f51\u7edc\u540d\u4e0d\u518d\u53ef\u7528\u3002 : winnt_accept: Asynchronous AcceptEx failed.<br \/>\n<\/span><\/span><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: Courier, Monospaced;\"><span style=\"font-family: Arial;\"><span style=\"font-family: Courier, Monospaced;\">\u3010<\/span>\u539f\u56e0\uff1a\u3011<\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<blockquote dir=\"ltr\">\n<pre><a href=\"http:\/\/httpd.apache.org\/docs\/2.0\/mod\/mpm_winnt.html\"><span style=\"color: #0000ff;\">winnt(MPM) \uff0d Apache 2.2 \u53c2\u8003\u624b\u518c<\/span><\/a>\u6709\u4e0b\u5217\u63cf\u8ff0<\/pre>\n<div>\n<h1>Apache MPM winnt<\/h1>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<th><a href=\"http:\/\/doc.linuxpk.com\/doc\/apache\/mod\/module-dict.html#Description\"><span style=\"color: #0000ff;\">\u8bf4\u660e<\/span><\/a><\/th>\n<td>\u4e13\u95e8\u4e3aWindows NT\u4f18\u5316\u8fc7\u7684MPM<\/td>\n<\/tr>\n<tr>\n<th><a href=\"http:\/\/doc.linuxpk.com\/doc\/apache\/mod\/module-dict.html#Status\"><span style=\"color: #0000ff;\">\u72b6\u6001<\/span><\/a><\/th>\n<td>MPM<\/td>\n<\/tr>\n<tr>\n<th><a href=\"http:\/\/doc.linuxpk.com\/doc\/apache\/mod\/module-dict.html#ModuleIdentifier\"><span style=\"color: #0000ff;\">\u6a21\u5757\u540d<\/span><\/a><\/th>\n<td>mpm_winnt_module<\/td>\n<\/tr>\n<tr>\n<th><a href=\"http:\/\/doc.linuxpk.com\/doc\/apache\/mod\/module-dict.html#SourceFile\"><span style=\"color: #0000ff;\">\u6e90\u6587\u4ef6<\/span><\/a><\/th>\n<td>mpm_winnt.c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u6982\u8ff0<\/h3>\n<p>\u8be5\u591a\u8def\u5904\u7406\u6a21\u5757(MPM)\u662fWindows NT\u4e0a\u7684\u9ed8\u8ba4\u503c\u3002\u5b83\u4f7f\u7528\u4e00\u4e2a\u5355\u72ec\u7684\u7236\u8fdb\u7a0b\u4ea7\u751f\u4e00\u4e2a\u5355\u72ec\u7684\u5b50\u8fdb\u7a0b\uff0c\u5728\u8fd9\u4e2a\u5b50\u8fdb\u7a0b\u4e2d\u8f6e\u6d41\u4ea7\u751f\u591a\u4e2a\u7ebf\u7a0b\u6765\u5904\u7406\u8bf7\u6c42\u3002<\/p>\n<\/div>\n<div>\u00a0<\/div>\n<div>\n<h2><a name=\"Win32DisableAcceptEx\"><span style=\"font-size: large;\">Win32DisableAcceptEx<\/span><\/a> <a name=\"win32disableacceptex\"><span style=\"font-size: large;\">\u6307\u4ee4<\/span><\/a><\/h2>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<th><a href=\"http:\/\/doc.linuxpk.com\/doc\/apache\/mod\/directive-dict.html#Description\"><span style=\"color: #0000ff;\">\u8bf4\u660e<\/span><\/a><\/th>\n<td>\u4f7f\u7528accept()\u4ee3\u66ffAcceptEx()\u63a5\u53d7\u7f51\u7edc\u94fe\u63a5<\/td>\n<\/tr>\n<tr>\n<th><a href=\"http:\/\/doc.linuxpk.com\/doc\/apache\/mod\/directive-dict.html#Syntax\"><span style=\"color: #0000ff;\">\u8bed\u6cd5<\/span><\/a><\/th>\n<td><code><span style=\"font-family: NSimsun;\">Win32DisableAcceptEx<\/span><\/code><\/td>\n<\/tr>\n<tr>\n<th><a href=\"http:\/\/doc.linuxpk.com\/doc\/apache\/mod\/directive-dict.html#Default\"><span style=\"color: #0000ff;\">\u9ed8\u8ba4\u503c<\/span><\/a><\/th>\n<td><code><span style=\"font-family: NSimsun;\">AcceptEx()<\/span><\/code>\u662f\u9ed8\u8ba4\u7684\uff0c\u4f7f\u7528\u8fd9\u4e2a\u6307\u4ee4\u5c06\u7981\u7528\u5b83\u3002<\/td>\n<\/tr>\n<tr>\n<th><a href=\"http:\/\/doc.linuxpk.com\/doc\/apache\/mod\/directive-dict.html#Context\"><span style=\"color: #0000ff;\">\u4f5c\u7528\u57df<\/span><\/a><\/th>\n<td>server config<\/td>\n<\/tr>\n<tr>\n<th><a href=\"http:\/\/doc.linuxpk.com\/doc\/apache\/mod\/directive-dict.html#Status\"><span style=\"color: #0000ff;\">\u72b6\u6001<\/span><\/a><\/th>\n<td>MPM<\/td>\n<\/tr>\n<tr>\n<th><a href=\"http:\/\/doc.linuxpk.com\/doc\/apache\/mod\/directive-dict.html#Module\"><span style=\"color: #0000ff;\">\u6a21\u5757<\/span><\/a><\/th>\n<td>mpm_winnt<\/td>\n<\/tr>\n<tr>\n<th><a href=\"http:\/\/doc.linuxpk.com\/doc\/apache\/mod\/directive-dict.html#Compatibility\"><span style=\"color: #0000ff;\">\u517c\u5bb9\u6027<\/span><\/a><\/th>\n<td>\u4ec5\u5728 Apache 2.0.49 \u53ca\u4ee5\u540e\u7684\u7248\u672c\u4e2d\u53ef\u7528<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><code><span style=\"font-family: NSimsun;\">AcceptEx()<\/span><\/code>\u662f\u4e00\u4e2a\u5fae\u8f6f\u7684WinSock2 API \uff0c\u901a\u8fc7\u4f7f\u7528BSD\u98ce\u683c\u7684<code><span style=\"font-family: NSimsun;\">accept()<\/span><\/code> API\u63d0\u4f9b\u4e86\u6027\u80fd\u6539\u5584\u3002\u4e00\u4e9b\u6d41\u884c\u7684Windows\u4ea7\u54c1\uff0c\u6bd4\u5982\u9632\u75c5\u6bd2\u8f6f\u4ef6\u6216\u865a\u62df\u4e13\u7528\u7f51\u7edc\u8f6f\u4ef6\uff0c\u4f1a\u5e72\u6270<code><span style=\"font-family: NSimsun;\">AcceptEx()<\/span><\/code>\u7684\u6b63\u786e\u64cd\u4f5c\u3002\u5982\u679c\u4f60\u9047\u5230\u7c7b\u4f3c\u4e8e\u5982\u4e0b\u7684\u9519\u8bef\uff1a<\/p>\n<div>\n<p><code><span style=\"font-family: NSimsun;\">[error] (730038)An operation was attempted on something that is not a socket.: winnt_accept: AcceptEx failed. Attempting to recover. <\/span><\/code><\/p>\n<\/div>\n<p>\u4f60\u5c31\u9700\u8981\u4f7f\u7528\u8fd9\u4e2a\u6307\u4ee4\u6765\u7981\u6b62\u4f7f\u7528<code><span style=\"font-family: NSimsun;\">AcceptEx()<\/span><\/code> \u3002<\/p>\n<\/div>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: Courier, Monospaced;\">\u3010\u89e3\u51b3\u529e\u6cd5\uff1a\u3011<br \/>\n<\/span><\/p>\n<p>&nbsp;<\/p>\n<blockquote dir=\"ltr\"><p><span style=\"font-family: Courier, Monospaced;\">\u5728httpd.conf\u6587\u4ef6\u4e2d\u6dfb\u52a0 Win32DisableAcceptEx \u6807\u8bb0\uff0c\u5982\u4e0b\uff1a<br \/>\n<\/span><\/p>\n<p><span style=\"font-family: Courier, Monospaced;\">&lt;IfModule mpm_winnt.c&gt;<br \/>\n<\/span><span style=\"font-family: Courier, Monospaced;\">ThreadsPerChild 150<br \/>\n<\/span><span style=\"font-family: Courier, Monospaced;\">MaxRequestsPerChild 10000<br \/>\n<\/span><span style=\"font-family: Courier, Monospaced;\">Win32DisableAcceptEx<br \/>\n<\/span><span style=\"font-family: Courier, Monospaced;\">&lt;\/IfModule&gt;<br \/>\n<\/span><\/p>\n<p><span style=\"font-family: Courier, Monospaced;\">\u8fd9\u6837\u53ef\u4ee5\u5141\u8bb8\u5e76\u53d1\u8fde\u63a5\u66f4\u5927\u4e00\u4e9b\u3002\u540c\u65f6\u6027\u80fd\u4e0a\u4e5f\u4e0d\u4f1a\u6709\u660e\u663e\u7684\u964d\u4f4e\u3002<br \/>\n<\/span><\/p>\n<p><span style=\"font-family: Courier, Monospaced;\">\u5982\u679cApache\u7684error.log\u8fd8\u662f\u51fa\u73b0\u5927\u91cf\u7684\uff1aSat Dec 24 17:21:28 2006] [warn] (OS 64)\u6307\u5b9a\u7684\u7f51\u7edc\u540d\u4e0d\u518d\u53ef\u7528\u3002 : winnt_accept: Asynchronous AcceptEx failed\u3002\u53ef\u4ee5\u53c2\u8003\u4e0b\u5217\u914d\u7f6e\uff1a<br \/>\n<\/span><\/p>\n<p><span style=\"font-family: Courier, Monospaced;\">1\u3001\u7f51\u4e0a\u90bb\u5c45-&gt;\u672c\u5730\u8fde\u63a5-&gt;\u5c5e\u6027-&gt;internet\u534f\u8bae(TCP\/IP)-&gt;\u5c5e\u6027-&gt;\u9ad8\u7ea7-&gt;wins\u6807\u7b7e-&gt;\u53bb\u6389\u542f\u7528LMhosts\u67e5\u8be2\u524d\u7684\u52fe.<br \/>\n<\/span><span style=\"font-family: Courier, Monospaced;\">2\u3001\u63a7\u5236\u9762\u7248-&gt;windows\u9632\u706b\u5899-&gt;\u9ad8\u7ea7\u6807\u7b7e-&gt;\u672c\u5730\u8fde\u63a5\u8bbe\u7f6e-&gt;\u670d\u52a1\u7684\u6807\u7b7e\u91cc\u52fe\u9009\u5b89\u5168Web\u670d\u52a1\u5668(HTTPS)\u3002<br \/>\n<\/span><span style=\"font-family: Courier, Monospaced;\">3\u3001\u7136\u540e\u9000\u51faApache\uff0c\u518d\u6253\u5f00\u542f\u52a8\u5c31\u53ef\u4ee5\u4e86 \uff0c\u4e00\u5f00\u59cb\u6211\u6ca1\u6709\u9000\u51fa\uff0c\u76f4\u63a5\u5728\u90a3\u91cd\u542f\uff0c\u5c31\u662f\u4e0d\u53ef\u4ee5\uff0c\u4e00\u5b9a\u8981\u5148\u505c\u6b62\uff0c\u5728\u5f00\u542f\u5373\u53ef<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u8f6c\u5e16 \uff083\uff09\uff1a<\/p>\n<p>[warn] (OS 64)\u6307\u5b9a\u7684\u7f51\u7edc\u540d\u4e0d\u518d\u53ef\u7528\u3002 : winnt_accept: Asynchronous AcceptEx failed.<\/p>\n<p><span style=\"font-size: small;\">\u00a0\u00a0 \u4ee5\u524d\u4e5f\u770b\u5230\uff0c\u4f46\u5ffd\u7565\u4e86\u3002\u8fd9\u56de\u4e0d\u80fd\u518d\u653e\u8fc7\u5979\u4e86\u3002<\/span><\/p>\n<p><span style=\"font-size: small;\">\u00a0\u00a0 \u770b\u4e86\u51e0\u7bc7\uff08<\/span><span style=\"font-size: small; color: #669966;\">winnt(MPM) \uff0d Apache 2.2 \u4e2d\u6587\u7248\u53c2\u8003\u624b\u518c<\/span><span style=\"font-size: small;\">\uff09\uff0c\u8bf4\u662f\u56e0\u4e3a\u4e00\u4e9b\u6d41\u884c\u7684\u89c6\u7a97\u7cfb\u7edf\u4ea7\u54c1\uff0c\u6bd4\u5982\u9632\u75c5\u6bd2\u8f6f\u4ef6\u6216\u865a\u62df\u4e13\u7528\u7f51\u7edc\u8f6f\u4ef6\uff0c\u4f1a\u5e72\u6270<code><span style=\"font-family: NSimsun;\">AcceptEx()<\/span><\/code>\u7684\u6b63\u786e\u64cd\u4f5c\u3002\u4e8e\u662f\u5728apache\u8bbe\u7f6e\u6587\u4ef6\u4e2d\u6dfb\u52a0\u5982\u4e0b\u8bed\u53e5\uff1a<\/span><\/p>\n<p><span style=\"font-size: small;\">&lt;IfModule mpm_winnt.c&gt;<br \/>\nThreadsPerChild 1000<br \/>\nMaxRequestsPerChild 10000<br \/>\nWin32DisableAcceptEx<br \/>\n&lt;\/IfModule&gt; <\/span><\/p>\n<p><span style=\"font-size: small;\">\u00a0\u00a0 \u505c\u6b62Apache\uff0c\u518d\u542f\u52a8\u3002\u786e\u5b9e\u65b0\u8bbe\u7f6e\u8d77\u4f5c\u7528\u4e86\uff1a<\/span><\/p>\n<p><span style=\"font-size: small;\">[notice] Disabled use of AcceptEx() WinSock2 API<br \/>\n[notice] mod_python: Creating 8 session mutexes based on 0 max processes and 1000 max threads.<br \/>\n[notice] Child 2380: Child process is running<br \/>\n[notice] Child 2380: Acquired the start mutex.<br \/>\n[notice] Child 2380: Starting 1000 worker threads. <\/span><\/p>\n<p><span style=\"font-size: small;\">\u00a0\u00a0 okay\uff0c\u4f3c\u4e4e\u9519\u8bef\u4e0d\u518d\u6765\u4e86\u3002<\/span><\/p>\n<p>&nbsp;<\/p><\/blockquote>\n<pre><span style=\"font-family: \u5b8b\u4f53;\"><span style=\"font-size: x-small;\">\u95ee\u9898\u4e00\u3001\r\nApache\u65e5\u5fd7\u4e2d\u201c\u6307\u5b9a\u7684\u7f51\u7edc\u540d\u4e0d\u518d\u53ef\u7528\u201d\u95ee\u9898\u7684\u89e3\u51b3\r\n\u73b0\u8c61:\r\n[Sat Mar 03 13:29:49 2007] [warn] (OS 64)\u6307\u5b9a\u7684\u7f51\u7edc\u540d\u4e0d\u518d\u53ef\u7528\u3002\u00a0\u00a0 : winnt_accept: Asynchronous AcceptEx failed.\r\n\u51fa\u73b0\u8fd9\u4e2a\u6545\u969c\u65f6\u786c\u76d8\u706f\u72c2\u95ea\uff0c\u5185\u5b58\u5360\u7528\u6781\u5927\uff0c\u8bbf\u95ee\u6781\u6162\u3002\r\n\u5206\u6790\uff1a\r\nAcceptEx() \u662f Microsoft WinSock v2 API \u4e00\u7ec4\u63d0\u5347\u7f51\u8def\u6548\u7387 API \u4e2d\u7684\u6307\u4ee4\u3002\u800c\u4e14\u5728 Windows \u4e0a\u4f3c\u4e4e\u86ee\u6709\u53ef\u80fd\u51fa\u95ee\u9898\u7684\u3002\r\n\u00a0\u00a0 \u6ce8\uff1a\u53ef\u80fd\u70ba\u4e86\u6548\u80fd\u8fd8\u662f\u9884\u8bbe\u70ba\u5f00\u555f AcceptEx()\r\n\u89e3\u51b3\uff1a\r\n\u00a0\u00a0\u00a0 \u5982\u679c\u65e0\u9884\u8b66\u7684\u53d1\u751f\u95ee\u9898\uff0c\u6211\u731c\u53ef\u80fd\u662f Windows Update \u6216\u662f\u9632\u706b\u5899\u3001\u9632\u6bd2\u8f6f\u4f53\u66f4\u65b0\u4e86\u67d0\u4e9b\u7f51\u8def\u539f\u4ef6\uff0c\u9020\u6210 Microsoft WinSock v2 API \u52a8\u4f5c\u4e0d\u6b63\u5e38\uff0c\u8fd9\u65f6\u53ef\u4ee5\u628a\u8fd9\u4e2a\u529f\u80fd\u5148\u7ed9\u5173\u6389\u3002\r\n\u00a0\u00a0 \u4f9d\u7167\u5b98\u65b9\u8bf4\u660e \uff0c Win32DisableAcceptEx \u8fd9\u4e2a\u529f\u80fd\uff0c\u53ea\u6709 2.0.49 \u7248\u4ee5\u540e\u7684\u624d\u53ef\u4ee5\u4f7f\u7528\uff0c\u6240\u4ee5\u6211\u731c\u6d4b AcceptEx() \u8fd9\u4e2a\u6307\u4ee4\u5927\u6982\u4e5f\u662f 2.0.49 \u624d\u4f1a\u5f00\u59cb\u652f\u63f4(\u76ee\u524d\u6700\u65b0\u7684\u5c31\u662f 2.0.49)\u3002\r\n\u00a0\u00a0 \u5173\u6389 AcceptEx() \u7684\u65b9\u5f0f\u53ea\u8981\u5728 httpd.conf \u627e\u5230\u00a0\u00a0 \u533a\u6bb5\uff0c\u52a0\u5165 Win32DisableAcceptEx \u5c31\u53ef\u4ee5\u4e86\u3002\r\nWin32DisableAcceptEx #\u52a0\u5165\u8fd9\u4e00\u884c\r\nThreadsPerChild 250\r\nMaxRequestsPerChild 0\r\n\r\n\u7591\u95ee\uff1a\u5982\u679c\u628aAcceptEx()\u8fd9\u4e2a\u5173\u6389\u4e86\uff0c\u662f\u5426\u4f1a\u5f71\u54cd\u8bbf\u95ee\u7684\u901f\u5ea6;\u5982\u679c\u5f71\u54cd\u901f\u5ea6\uff0c\u53c8\u600e\u6837\u4e0d\u8ba9\u901f\u5ea6\u6162\u4e0b\u6765\u3002\r\n\u95ee\u9898\u4e8c\u3001\r\napache\u9519\u8bef\u65e5\u5fd7\u91cc\u9762\u51fa\u73b0\"connection reset by peer\"\r\n\u5206\u6790\uff1a\r\n\u8fd9\u4e2a\u95ee\u9898\u4e00\u822c\u662f\u5ba2\u6237\u7aef\u5728\u8fde\u63a5\u8fd8\u6ca1\u6709\u5b8c\u5168\u5efa\u7acb\u7684\u65f6\u5019\u5c31\u53d6\u6d88\u8fde\u63a5\uff0c\u6bd4\u5982\u7528\u6237\u6309\u4e86\u6d4f\u89c8\u5668\u4e0a\u9762\u7684\u201c\u505c\u6b62\u201d\u6309\u94ae\uff0c\u4e00\u822c\u6765\u8bf4\u6ca1\u6709\u4ec0\u4e48\u95ee\u9898\u3002\u4f46\u662f\u5982\u679c\u9891\u7e41\u51fa\u73b0\uff0c\u5c31\u8868\u793a\u5f88\u591a\u5ba2\u6237\u7aef\u8fde\u63a5\u5230Apache\u670d\u52a1\u5668\u7684\u54cd\u5e94\u65f6\u95f4\u592a\u957f\u4e86\uff0c\u53ef\u80fd\u662f\u7f51\u7edc\u7684\u95ee\u9898\u6216\u8005\u670d\u52a1\u5668\u6027\u80fd\u95ee\u9898\u3002\r\n\u95ee\u9898\u4e09\u3001\r\napache\u9519\u8bef\u65e5\u5fd7\u91cc\u9762\u63d0\u793adefault.ida\u6216\u8005cmd.exe\u4e0d\u5b58\u5728 \r\n\u5206\u6790\uff1a\r\n\u8fd9\u4e2a\u8bf4\u660eInternet\u4e0a\u9762\u7684\u67d0\u4e9b\u673a\u5668\u4e2d\u4e86\u8815\u866b\u75c5\u6bd2\u6bd4\u5982Nimda\u6216\u8005Code Red\u3002 \u4f60\u53ef\u4ee5\u7565\u8fc7\u8fd9\u4e9b\u9519\u8bef\uff0c\u56e0\u4e3a\u8fd9\u4e9b\u75c5\u6bd2\u5bf9Apache\u65e0\u6548\u3002\r\n\u95ee\u9898\u56db\u3001\r\napache\u9519\u8bef\u65e5\u5fd7\u91cc\u9762\u51fa\u73b0\"fcntl: F_SETLKW: No record locks available\r\n\u73b0\u8c61\uff1a\r\n\u670d\u52a1\u5668\u6302\u8d77\uff0c\u6216\u8005\u4e0d\u80fd\u542f\u52a8\uff0c\u9519\u8bef\u65e5\u5fd7\u91cc\u9762\u51fa\u73b0\"fcntl: F_SETLKW: No record locks available\"\u6216\u8005\u7c7b\u4f3c\u7684\u4fe1\u606f\u3002\r\n\u5206\u6790\uff1a\r\n\u8fd9\u4e2a\u662f\u6587\u4ef6\u9501\u5b9a\u95ee\u9898\uff0c\u8868\u793aApache\u670d\u52a1\u5668\u5728\u5c1d\u8bd5\u4f7f\u7528\u4e00\u4e2aNFS\u6587\u4ef6\u7cfb\u7edf\u4e0a\u9762\u7684\u540c\u6b65\u6587\u4ef6\u3002\u7531\u4e8e\u4f7f\u7528\u5e76\u884c\u64cd\u4f5c\u6a21\u5f0f\uff0cApache\u670d\u52a1\u5668\u5728\u8bbf\u95ee\u67d0\u4e9b\u7279\u5b9a\u8d44\u6e90\u7684\u65f6\u5019\u9700\u8981\u4e00\u4e9b\u540c\u6b65\u673a\u5236\u3002\u5176\u4e2d\u4e00\u79cd\u540c\u6b65\u673a\u5236\u5c31\u662f\u6587\u4ef6\u9501\u5b9a\uff0c\u8fd9\u4e2a\u9700\u8981\u88ab\u9501\u5b9a\u6587\u4ef6\u90a3\u7aef\u7684\u6587\u4ef6\u7cfb\u7edf\u8981\u652f\u6301\u9501\u5b9a\u673a\u5236\uff0c\u6240\u4ee5\u4f7f\u7528NFS\u6587\u4ef6\u7cfb\u7edf\u4e0a\u9762\u7684\u6587\u4ef6\u4f1a\u51fa\u73b0\u8fd9\u79cd\u95ee\u9898\u3002\r\n\u89e3\u51b3\uff1a\r\n\u4e3a\u4e86\u89e3\u51b3NFS\u6587\u4ef6\u7cfb\u7edf\u7684\u5c40\u9650\u6027\uff0c\u53ef\u4ee5\u5728\u914d\u7f6e\u6587\u4ef6\u91cc\u9762\u52a0\u5165\u4e00\u884c\uff1a\r\n\u3000\u3000LockFile \/var\/run\/apache-lock\r\n\u3000\u3000\u8fd9\u4e2a\u6587\u4ef6\u5bf9\u5176\u4ed6\u4eba\u5fc5\u987b\u662f\u4e0d\u80fd\u5199\u5165\u7684\u3002\r\n\u3000\u3000\u6ce8\u610f\uff1aRedhat Linux7.x\u7248\u672c\u4ee5\u540e\u5df2\u7ecf\u63d0\u4f9b\u4e86NFS\u9501\u5b9a\u673a\u5236\uff0c\u5e94\u8be5\u4e0d\u4f1a\u51fa\u73b0\u6b64\u95ee\u9898\u3002\r\n\r\n<\/span><\/span><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u8f6c\u5e16 \uff081\uff09\uff1a \u8fd9\u51e0\u5929\u9047\u5230\u4e86\u4e00\u4e2a\u5f88\u591a\u4eba\u90fd\u9047\u5230\u8fc7\u7684\u95ee\u9898\uff0c\u8fd9\u4e2a\u95ee\u9898\u5728go&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[31,32,33],"class_list":["post-658","post","type-post","status-publish","format-standard","hentry","category-NetOS","tag-apache","tag-32","tag-33"],"_links":{"self":[{"href":"https:\/\/www.poloo.org\/index.php?rest_route=\/wp\/v2\/posts\/658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.poloo.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.poloo.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.poloo.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.poloo.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=658"}],"version-history":[{"count":2,"href":"https:\/\/www.poloo.org\/index.php?rest_route=\/wp\/v2\/posts\/658\/revisions"}],"predecessor-version":[{"id":660,"href":"https:\/\/www.poloo.org\/index.php?rest_route=\/wp\/v2\/posts\/658\/revisions\/660"}],"wp:attachment":[{"href":"https:\/\/www.poloo.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.poloo.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.poloo.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}