{"id":230070,"date":"2020-12-19T23:33:13","date_gmt":"2020-12-19T15:33:13","guid":{"rendered":"http:\/\/4563.org\/?p=230070"},"modified":"2020-12-19T23:33:13","modified_gmt":"2020-12-19T15:33:13","slug":"%e5%85%b3%e4%ba%8e-php-fpm-%e8%bf%9b%e7%a8%8b%e9%85%8d%e7%bd%ae%e7%9a%84%e7%96%91%e9%97%ae","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=230070","title":{"rendered":"\u5173\u4e8e PHP -fpm \u8fdb\u7a0b\u914d\u7f6e\u7684\u7591\u95ee"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5173\u4e8e PHP -fpm \u8fdb\u7a0b\u914d\u7f6e\u7684\u7591\u95ee               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : we3613040 <\/span>  <span><i><\/i> 4<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5173\u4e8e\u8bbe\u7f6e php-fpm \u8fdb\u7a0b\u6570\u591a\u5c11\u4e3a\u5408\u9002\uff0c\u6211\u5728\u7f51\u4e0a\u67e5\u5230\u7684\u8d44\u6599\u6709\u4e24\u4e2a\u601d\u8def\uff1a<\/p>\n<p>1.\u6839\u636e\u670d\u52a1\u5668\u4f7f\u7528\u60c5\u51b5\uff0c\u53ef\u7528\u5185\u5b58\u60c5\u51b5 https:\/\/www.cnblogs.com\/pansidong\/p\/11179618.html<\/p>\n<p>2.\u6839\u636e\u4e1a\u52a1 io \u5bc6\u96c6\u548c cup \u5bc6\u96c6\uff0c\u548c cup \u6838\u5fc3\u6570 https:\/\/my.oschina.net\/eechen\/blog\/541139?p=2<\/p>\n<p>\u770b\u8d77\u6765\u4e24\u4e2a\u90fd\u6709\u5404\u81ea\u7684\u9053\u7406\uff0c\u6240\u4ee5\u6211\u6709\u4e9b\u7591\u60d1\uff0c\u7a76\u7adf\u54ea\u4e2a\u662f\u6b63\u786e\u7684\uff1f\u5bf9\u4e8e\u751f\u4ea7\u670d\u52a1\u5668\uff0c\u54ea\u4e2a\u914d\u7f6e\u66f4\u5408\u7406\u4e9b\u5462\uff1f \u6216\u8005\u6709\u6ca1\u6709\u66f4\u597d\u7684\u89e3\u91ca\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>4<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4718103\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dilu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u90fd\u5feb\u662f\u6708\u7ecf\u8d34\u4e86<\/p>\n<p>\u5efa\u8bae\u4ece\u7ebf\u4e0a\u4e0b\u4e00\u53f0\u673a\u5668\u538b\u6d4b\uff0c\u4e00\u8fb9\u538b\u4e00\u8fb9\u8c03\u6574\uff0c\u786e\u4fdd\u5355\u673a\u6700\u9ad8\u4e4b\u540e\u518d\u6302\u5230\u8d1f\u8f7d\u4e0a\u5c31\u597d\u4e86                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4718104\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : HaroldChen <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             1. \u5148\u6839\u636e\u673a\u5668\u5185\u5b58\u8bbe\u7f6e\u4e00\u4e2a pm.max_children \uff08 memory\/20m \uff09<br \/>2. \u538b\u6d4b\uff0c\u89c2\u5bdf php-fpm \u7684 active \u548c idle \u8fdb\u7a0b\u6570 \u53ca \u673a\u5668\u7684 cpu\uff0c\u770b\u54ea\u4e2a\u6307\u6807\u5148\u6210\u4e3a\u74f6\u9888\uff0c\u518d\u6839\u636e\u5177\u4f53\u76ee\u6807\u8c03\u6574\u914d\u7f6e\u7ee7\u7eed\u4f18\u5316\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4718105\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : julyclyde <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53e6\u5916\uff0c\u662f CPU \u4e0d\u662f\u676f\u5b50                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4718106\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : we3613040 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @julyclyde \u591a\u8c22\u63d0\u9192                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5173\u4e8e PHP -fpm \u8fdb\u7a0b\u914d\u7f6e\u7684&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/230070"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=230070"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/230070\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=230070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=230070"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=230070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}