{"id":378,"date":"2010-09-08T00:23:57","date_gmt":"2010-09-07T15:23:57","guid":{"rendered":"http:\/\/blog.isnext.net\/issy\/?p=378"},"modified":"2010-09-08T00:23:57","modified_gmt":"2010-09-07T15:23:57","slug":"1%e3%83%97%e3%83%ad%e3%82%bb%e3%82%b9%e3%81%8c%e5%90%8c%e6%99%82%e3%81%ab%e9%96%8b%e3%81%91%e3%82%8b%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e6%95%b0%e3%82%92%e5%a2%97%e3%82%84%e3%81%99","status":"publish","type":"post","link":"https:\/\/blog.isnext.net\/issy\/archives\/378","title":{"rendered":"1\u30d7\u30ed\u30bb\u30b9\u304c\u540c\u6642\u306b\u958b\u3051\u308b\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u5897\u3084\u3059"},"content":{"rendered":"<p><strong>\u25a01\u30d7\u30ed\u30bb\u30b9\u304c\u540c\u6642\u306b\u958b\u3051\u308b\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u5897\u3084\u3059<\/strong><br \/>\n\u3000\u4ee5\u524dLinux\u304cOS\u3068\u3057\u3066\u540c\u6642\u306b\u958b\u3051\u308b\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u5897\u3084\u3059\u624b\u6bb5\u306f\u7d39\u4ecb\u3057\u305f\u304c\u3001\u4eca\u56de\u306f\uff11\u30d7\u30ed\u30bb\u30b9\u304c\u540c\u6642\u306b\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u308b\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u5897\u3084\u3059\u65b9\u6cd5\u306e\u30e1\u30e2\u3002\u30e6\u30fc\u30b6\u5358\u4f4d\u306e\u8a2d\u5b9a\u306b\u306a\u308b\u306e\u3067\u6ce8\u610f\u3002<\/p>\n<p>Linux\u30b5\u30fc\u30d0\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u30e1\u30e2<br \/>\n<a href=\"https:\/\/blog.isnext.net\/issy\/archives\/190\">https:\/\/blog.isnext.net\/issy\/archives\/190<\/a><\/p>\n<p>\u3000\u3068\u3042\u308b\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30c6\u30b9\u30c8\u3092\u884c\u3063\u3066\u3044\u305f\u3068\u3053\u308d\u3001\u30d7\u30ed\u30bb\u30b9\u304c\u958b\u3051\u308b\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u8d85\u3048\u305f\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u983b\u767a\u3057\u305f\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u624b\u6cd5\u3067\u5bfe\u5fdc\u3057\u305f\u3002CentOS\u3067\u306f\u6a19\u6e96\u3067\uff11\u30d7\u30ed\u30bb\u30b9\u304c\u540c\u6642\u306b\u958b\u3051\u308b\u30d5\u30a1\u30a4\u30eb\u6570\u306f1024\u3002OS\u306efile-max\u306f\u6700\u8fd1\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306f\u304b\u306a\u308a\u5927\u304d\u306a\u6570\u5b57\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u306b\u3001\u3053\u3061\u3089\u306e\u5024\u306f\u7d50\u69cb\u524d\u304b\u30891024\u306e\u307e\u307e\u3089\u3057\u3044\u3002\u305d\u3053\u3067\u3053\u306e\u5024\u3092\u4fee\u6b63\u3059\u308b\u3002<\/p>\n<p><strong>\u25a0\u73fe\u5728\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3059\u308b<\/strong>\uff08\u78ba\u8a8d\u3057\u305f\u3044\u30e6\u30fc\u30b6\u3067\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3053\u3068\uff09<br \/>\n[code]# ulimit -Sa<br \/>\ncore file size          (blocks, -c) 0<br \/>\ndata seg size           (kbytes, -d) unlimited<br \/>\nscheduling priority             (-e) 0<br \/>\nfile size               (blocks, -f) unlimited<br \/>\npending signals                 (-i) 32621<br \/>\nmax locked memory       (kbytes, -l) 32<br \/>\nmax memory size         (kbytes, -m) unlimited<br \/>\nopen files                      (-n) 1024\u3000\u2190\u540c\u6642\u30d5\u30a1\u30a4\u30eb\u6570<br \/>\npipe size            (512 bytes, -p) 8<br \/>\nPOSIX message queues     (bytes, -q) 819200<br \/>\nreal-time priority              (-r) 0<br \/>\nstack size              (kbytes, -s) 10240<br \/>\ncpu time               (seconds, -t) unlimited<br \/>\nmax user processes              (-u) 32621<br \/>\nvirtual memory          (kbytes, -v) unlimited<br \/>\nfile locks                      (-x) unlimited[\/code]<\/p>\n<p><strong>\u25a0\u4e00\u6642\u7684\u306b\u540c\u6642\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u5897\u52a0\u3055\u305b\u308b<\/strong>\uff08\u5897\u52a0\u3055\u305b\u305f\u3044\u30e6\u30fc\u30b6\u3067\u5b9f\u884c\uff09<br \/>\n[code]# ulimit -n 4096[\/code]<\/p>\n<p><strong>\u25a0\u6052\u4e45\u7684\u306b\u540c\u6642\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u5897\u52a0\u3055\u305b\u308b<\/strong><br \/>\n[code]# vi \/etc\/security\/limits.conf<br \/>\nroot soft nofile 4096<br \/>\nroot hard nofile 4096[\/code]<br \/>\nroot\u306e\u540c\u6642\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u5897\u52a0\u3057\u305f\u3044\u5834\u5408\u4e0a\u8a18\u306e\u3088\u3046\u306b\u8ffd\u8a18\u3059\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u25a01\u30d7\u30ed\u30bb\u30b9\u304c\u540c\u6642\u306b\u958b\u3051\u308b\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u5897\u3084\u3059 \u3000\u4ee5\u524dLinux\u304cOS\u3068\u3057\u3066\u540c\u6642\u306b\u958b\u3051\u308b\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u5897\u3084\u3059\u624b\u6bb5\u306f\u7d39\u4ecb\u3057\u305f\u304c\u3001\u4eca\u56de\u306f\uff11\u30d7\u30ed\u30bb\u30b9\u304c\u540c\u6642\u306b\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u308b\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u5897\u3084\u3059\u65b9\u6cd5\u306e\u30e1\u30e2\u3002\u30e6\u30fc\u30b6\u5358\u4f4d\u306e\u8a2d\u5b9a\u306b\u306a\u308b\u306e\u3067\u6ce8 &hellip; <a href=\"https:\/\/blog.isnext.net\/issy\/archives\/378\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;1\u30d7\u30ed\u30bb\u30b9\u304c\u540c\u6642\u306b\u958b\u3051\u308b\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u5897\u3084\u3059&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[20,49],"class_list":["post-378","post","type-post","status-publish","format-standard","hentry","category-linux","tag-centos","tag-tune"],"_links":{"self":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts\/378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/comments?post=378"}],"version-history":[{"count":1,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts\/378\/revisions"}],"predecessor-version":[{"id":379,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts\/378\/revisions\/379"}],"wp:attachment":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/media?parent=378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/categories?post=378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/tags?post=378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}