{"id":476,"date":"2008-02-03T00:00:00","date_gmt":"2008-02-02T16:00:00","guid":{"rendered":"http:\/\/www.strongd.net\/?p=476"},"modified":"2011-07-15T09:43:01","modified_gmt":"2011-07-15T01:43:01","slug":"resin%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%aa%81%e7%84%b6%e5%8f%98%e6%85%a2%e9%97%ae%e9%a2%98%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.strongd.net\/?p=476","title":{"rendered":"resin\u670d\u52a1\u5668\u7a81\u7136\u53d8\u6162\u95ee\u9898\u89e3\u51b3\u529e\u6cd5."},"content":{"rendered":"<p><DIV>\u3000\u3000\u672c\u4eba\u8d1f\u8d23\u7684\u4e00\u4e2a\u7f51\u7ad9\u4e0d\u77e5\u9053\u4e3a\u4ec0\u4e48\uff0c\u7531\u5468\u4e00\u5f00\u59cb\uff0c\u7a81\u7136\u95f4\u53d8\u5f97\u5f88\u6162\uff0c\u6709\u65f6\u5219\u5f88\u5feb\uff0e\u641e\u6765\u641e\u53bb\uff0c\u641e\u4e86\u5dee\u4e0d\u591a\u4e00\u4e2a\u661f\u671f\uff08\u90e8\u4efd\u65f6\u95f4\u5f00\u53d1\u65b0\u529f\u80fd\u53bb\u4e86\uff09\uff0e\u7ec8\u4e8e\u627e\u5230\u539f\u56e0\u4e86\uff0e<\/DIV><br \/>\n<DIV>&nbsp;<\/DIV><br \/>\n<DIV>\u670d\u52a1\u5668\u60c5\u51b5\uff1a<\/DIV><br \/>\n<DIV>linux as4<\/DIV><br \/>\n<DIV>Intel(R) Xeon(R) CPU&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5130&nbsp; @ 2.00GHz<\/DIV><br \/>\n<DIV>4G\u5185\u5b58\uff0c<\/DIV><br \/>\n<DIV>\uff13\uff10\uff10\uff27scsi\uff0b\uff13\uff12\uff10\uff27\uff33\uff21\uff34\uff21\u786c\u76d8\uff0e<\/DIV><br \/>\n<DIV>resin 3.0.23+ lighttpd<\/DIV><br \/>\n<DIV>&nbsp;<\/DIV><br \/>\n<DIV>resin\u542f\u52a8\u53c2\u6570<\/DIV><br \/>\n<DIV>-server -verbose:gc -Xdebug -Xloggc:gc.log -Djava.awt.headless=true -XX:PermSize=128M -XX:NewRatio=4 -XX:+UseConcMarkSweepGC -XX:MaxPermSize=200m -XX:NewSize=100 -XX:MaxNewSize=128m -Xmn256m -Xms512m -Xmx512m<\/DIV><br \/>\n<DIV>&nbsp;<\/DIV><br \/>\n<DIV>\u3000\u3000\u670d\u52a1\u5668\u8fd0\u884c\u4e00\u76f4\u5f88\u6b63\u5e38\uff0c\u5230\u4e86\u5468\u4e00\uff0c\u7f51\u7ad9\u53d8\u6162\uff0c\uff23\uff30\uff35\u5360\u7528\uff15\uff10\uff05\u4ee5\u4e0a\uff0c\u4f46\u5185\u5b58\u70b9\u4f7f\u7528\uff15\uff10\uff05,\u5176\u4e2d\u5927\u90e8\u5206\u662fmysql\u7528\u53bb\u4e86\uff0eload average: 10.02, 10.03, 10.00 \uff0e<\/DIV><br \/>\n<DIV>&nbsp;<\/DIV><br \/>\n<DIV>\u3000\u3000\u5168\u90e8\u7a0b\u5e8f\u90fd\u6d4b\u8bd5\u8fc7\uff0e\u5e95\u5c42\u4ee3\u7801\u4e5f\u67e5\u8fc7\uff0e\uff2a\uff24\uff2b\u6362\u8fc7\uff0c\uff32\uff25\uff33\uff29\uff2e\u7248\u672c\u6362\u8fc7\uff0cmysql\u914d\u7f6e\u4e5f\u6362\u8fc7\uff0e\u95ee\u9898\u4f9d\u7136\u5b58\u5728\uff0e<\/DIV><br \/>\n<DIV>&nbsp;<\/DIV><br \/>\n<DIV>\u3000\u3000\u5229\u7528resin-admin\u67e5\u770b\u60c5\u51b5\uff0e<\/DIV><br \/>\n<DIV>&nbsp;<\/DIV><br \/>\n<DIV><br \/>\n<TABLE><br \/>\n<TBODY><br \/>\n<TR title=\"The current total amount of memory available for the JVM, in bytes.\"><br \/>\n<TH>Total memory:<\/TH><br \/>\n<TD>501.44Meg<\/TD><\/TR><br \/>\n<TR title=\"The current free amount of memory available for the JVM, in bytes.\"><br \/>\n<TH>Free memory:<\/TH><br \/>\n<TD><br \/>\n<P>350.37Meg<\/P><\/TD><\/TR><\/TBODY><\/TABLE><\/DIV><br \/>\n<DIV>\u3000\u3000<\/DIV><br \/>\n<DIV>\u3000\u3000\u770b\u4e0a\u53bb\u4e5f\u6b63\u5e38\uff0e\u4e0d\u8fc7free memory \u53d8\u5316\u7684\u5f88\u5feb\uff0c\u7531100\u591aM\uff0c\u7a81\u7136\u53d8\u5230300\u591aM\uff0e\u4e00\u5f00\u59cb\u8fd8\u4ee5\u4e3a\u662f\u7a0b\u5e8f\u91ca\u653e\u4e86\u5185\u5b58\uff0e\u5c31\u4e0d\u53bb\u7ba1\u4ed6\u4e86\uff0e<\/DIV><br \/>\n<DIV>&nbsp;<\/DIV><br \/>\n<DIV>\u3000\u3000\u7ecf\u8fc7\u597d\u591a\u665a\u7684\u8c03\u5ea6\uff0c\u53d1\u73b0\u4e00\u4e2a\u89c4\u5f8b\uff0e\u5f53\u542f\u52a8resin\u65f6\uff0c\u4e00\u5207\u6b63\u5e38\uff0e\u8bc1\u660e\u8ddfjdk\u7248\u672c\u65e0\u5173\uff0e<\/DIV><br \/>\n<DIV>&nbsp;<\/DIV><br \/>\n<DIV>\u3000\u3000\u4eca\u5929\u65e9\u4e0a\u66f4\u65b0\u670d\u52a1\u5668\u7a0b\u5e8f\u65f6\uff0c\u53d1\u73b0resin\u76ee\u5f55\u6709\u4e2agc.log\u6587\u4ef6\uff0e\u6253\u5f00\u4e00\u770b\uff0e\u5168\u90e8\u662fgc\u7684\u6267\u884c\u8bb0\u5f55\uff0e\u5f88\u591a\uff0e\u4e8e\u662f\u4f7f\u7528tail\u547d\u4ee4\u4e00\u4e0b\uff0e<\/DIV><br \/>\n<DIV>&nbsp;<\/DIV><br \/>\n<DIV>&nbsp;&nbsp;&nbsp;&nbsp; \u3000\u3000\u3000tail -f gc.log<\/DIV><br \/>\n<DIV>&nbsp;<\/DIV><br \/>\n<DIV>\u3000\u3000\u5413\u4e86\u6211\u4e00\u8df3\uff0c\u5e73\u5747\u6bcf\u79d2\u5c31\u4f1a\u6267\u884c\u4e00\u6b21gc.\u95ee\u9898\u5c31\u5728\u8fd9\u91cc\uff0e\u662fgc\u628a\u670d\u52a1\u5668\u62d6\u6162\u4e86\uff0e<\/DIV><br \/>\n<DIV>&nbsp;<\/DIV><br \/>\n<DIV>\u3000\u3000\u4e8e\u662f\u5c31\u628aresin\u7684\u542f\u52a8\u53c2\u6570\u6539\u4e00\u4e0b\uff0c\u628a\u5185\u5b58\u6539\u5927\uff0cgc\u5c31\u4e0d\u4f1a\u8fd9\u4e48\u5bb9\u6613\u89e6\u53d1\uff0e<\/DIV><br \/>\n<DIV>&nbsp;<\/DIV><br \/>\n<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -server -verbose:gc -Xdebug -Xloggc:gc.log -Djava.awt.headless=true -XX:PermSize=128M -XX:NewRatio=4 -XX:+UseConcMarkSweepGC -XX:MaxPermSize=200m -XX:NewSize=100 -XX:MaxNewSize=128m -Xmn256m -Xms1024m -Xmx1024m<\/DIV><br \/>\n<DIV>&nbsp;<\/DIV><br \/>\n<DIV>&nbsp;<\/DIV><br \/>\n<DIV>\u3000\u3000\u73b0\u5728\u597d\u4e86\uff0c\uff23\uff30\uff35\u5360\u7528\u53ea\u67090.1%\u5de6\u53f3\uff0c\u6709\u65f6\u4e0a\u5230\uff13\uff10\uff05\u591a\uff0c\u4f46\u5f88\u5feb\u964d\u4e0b\u6765\uff0eload average: 0.05, 0.01, 0.00 &lt;&#8212;\u670d\u52a1\u5668\u5f88\u5065\u5eb7\uff0e<\/DIV><br \/>\n<DIV>&nbsp;<\/DIV><br \/>\n<DIV>\u3000\u3000\u5229\u7528resin-admin\u67e5\u770b\u60c5\u51b5\uff0e<\/DIV><br \/>\n<DIV><br \/>\n<TABLE><br \/>\n<TBODY><br \/>\n<TR title=\"The current total amount of memory available for the JVM, in bytes.\"><br \/>\n<TH>Total memory:<\/TH><br \/>\n<TD>998.44Meg<\/TD><\/TR><br \/>\n<TR title=\"The current free amount of memory available for the JVM, in bytes.\"><br \/>\n<TH>Free memory:<\/TH><br \/>\n<TD>607.76Meg<\/TD><\/TR><\/TBODY><\/TABLE><\/DIV><br \/>\n<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; resin\u5e73\u5747\u4f7f\u7528400\uff2d\u5de6\u53f3\u7684\u5185\u5b58\uff0c\u4e00\u5f00\u59cb\u53ea\u914d\u7f6e\u4e86512\u7ed9\u5979\uff0c\u602a\u4e0d\u5f97\u8001\u662fgc\uff0e\u5475\uff0e<\/DIV><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u3000\u672c\u4eba\u8d1f\u8d23\u7684\u4e00\u4e2a\u7f51\u7ad9\u4e0d\u77e5\u9053\u4e3a\u4ec0\u4e48\uff0c\u7531\u5468\u4e00\u5f00\u59cb\uff0c\u7a81\u7136\u95f4\u53d8\u5f97\u5f88\u6162\uff0c\u6709\u65f6\u5219\u5f88\u5feb\uff0e\u641e\u6765\u641e\u53bb\uff0c\u641e\u4e86\u5dee\u4e0d\u591a\u4e00\u4e2a\u661f\u671f\uff08\u90e8\u4efd\u65f6\u95f4\u5f00\u53d1\u65b0\u529f\u80fd\u53bb\u4e86\uff09\uff0e\u7ec8\u4e8e\u627e\u5230\u539f\u56e0\u4e86\uff0e &nbsp; \u670d\u52a1\u5668\u60c5\u51b5\uff1a linux as4 Intel(R) Xeon(R) CPU&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5130&nbsp; @ 2.00GHz 4G\u5185\u5b58\uff0c \uff13\uff10\uff10\uff27scsi\uff0b\uff13\uff12\uff10\uff27\uff33\uff21\uff34\uff21\u786c\u76d8\uff0e resin 3.0.23+ lighttpd &nbsp; resin\u542f\u52a8\u53c2\u6570 -server -verbose:gc -Xdebug -Xloggc:gc.log -Djava.awt.headless=true -XX:PermSize=128M -XX:NewRatio=4 -XX:+UseConcMarkSweepGC -XX:MaxPermSize=200m -XX:NewSize=100 -XX:MaxNewSize=128m -Xmn256m -Xms512m -Xmx512m &nbsp; \u3000\u3000\u670d\u52a1\u5668\u8fd0\u884c\u4e00\u76f4\u5f88\u6b63\u5e38\uff0c\u5230\u4e86\u5468\u4e00\uff0c\u7f51\u7ad9\u53d8\u6162\uff0c\uff23\uff30\uff35\u5360\u7528\uff15\uff10\uff05\u4ee5\u4e0a\uff0c\u4f46\u5185\u5b58\u70b9\u4f7f\u7528\uff15\uff10\uff05,\u5176\u4e2d\u5927\u90e8\u5206\u662fmysql\u7528\u53bb\u4e86\uff0eload average: 10.02, 10.03, 10.00 \uff0e &nbsp; \u3000\u3000\u5168\u90e8\u7a0b\u5e8f\u90fd\u6d4b\u8bd5\u8fc7\uff0e\u5e95\u5c42\u4ee3\u7801\u4e5f\u67e5\u8fc7\uff0e\uff2a\uff24\uff2b\u6362\u8fc7\uff0c\uff32\uff25\uff33\uff29\uff2e\u7248\u672c\u6362\u8fc7\uff0cmysql\u914d\u7f6e\u4e5f\u6362\u8fc7\uff0e\u95ee\u9898\u4f9d\u7136\u5b58\u5728\uff0e &nbsp; \u3000\u3000\u5229\u7528resin-admin\u67e5\u770b\u60c5\u51b5\uff0e &nbsp; Total memory: 501.44Meg Free memory: 350.37Meg \u3000\u3000 \u3000\u3000\u770b\u4e0a\u53bb\u4e5f\u6b63\u5e38\uff0e\u4e0d\u8fc7free memory \u53d8\u5316\u7684\u5f88\u5feb\uff0c\u7531100\u591aM\uff0c\u7a81\u7136\u53d8\u5230300\u591aM\uff0e\u4e00\u5f00\u59cb\u8fd8\u4ee5\u4e3a\u662f\u7a0b\u5e8f\u91ca\u653e\u4e86\u5185\u5b58\uff0e\u5c31\u4e0d\u53bb\u7ba1\u4ed6\u4e86\uff0e &nbsp; &hellip; <a href=\"https:\/\/www.strongd.net\/?p=476\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">resin\u670d\u52a1\u5668\u7a81\u7136\u53d8\u6162\u95ee\u9898\u89e3\u51b3\u529e\u6cd5.<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,6],"tags":[17],"class_list":["post-476","post","type-post","status-publish","format-standard","hentry","category-java","category-linux","tag-resin-2"],"_links":{"self":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/476","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=476"}],"version-history":[{"count":1,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/476\/revisions"}],"predecessor-version":[{"id":891,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/476\/revisions\/891"}],"wp:attachment":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=476"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}