{"id":9456,"date":"2023-02-11T10:59:51","date_gmt":"2023-02-11T01:59:51","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=9456"},"modified":"2023-09-12T22:45:32","modified_gmt":"2023-09-12T13:45:32","slug":"linux%e3%81%a7%e5%88%a9%e7%94%a8%e7%92%b0%e5%a2%83%e3%81%ae%e5%88%b6%e9%99%90%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b%ef%bc%81%ef%bc%88ulimit%ef%bc%89","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/9456","title":{"rendered":"Linux\u3067\u5229\u7528\u74b0\u5883\u306e\u5236\u9650\u3092\u8868\u793a\u3059\u308b\uff01\uff08ulimit\uff09"},"content":{"rendered":"<p>Linux\u3067\u5229\u7528\u74b0\u5883\u306e\u5236\u9650\u3092\u8868\u793a\u3057\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>\u5229\u7528\u74b0\u5883\u306e\u5236\u9650\u5024\u3092\u78ba\u8a8d\u3059\u308b\uff01\uff08ulimit -a\uff09<\/h2>\n<p>\u300culimit -a\u300d\u30b3\u30de\u30f3\u30c9\u3067\u3001\u5229\u7528\u74b0\u5883\u306e\u5236\u9650\u5024\u3092\u3059\u3079\u3066\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ ulimit -a\r\ncore file size          (blocks, -c) unlimited\r\ndata seg size           (kbytes, -d) unlimited\r\nscheduling priority             (-e) 0\r\nfile size               (blocks, -f) unlimited\r\npending signals                 (-i) 7032\r\nmax locked memory       (kbytes, -l) 64\r\nmax memory size         (kbytes, -m) unlimited\r\nopen files                      (-n) 1024\r\npipe size            (512 bytes, -p) 8\r\nPOSIX message queues     (bytes, -q) 819200\r\nreal-time priority              (-r) 0\r\nstack size              (kbytes, -s) 8192\r\ncpu time               (seconds, -t) unlimited\r\nmax user processes              (-u) 7032\r\nvirtual memory          (kbytes, -v) unlimited\r\nfile locks                      (-x) unlimited\r\n<\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306e\u3088\u3044\u3068\u3053\u308d\u306f\u3001\u8a2d\u5b9a\u5909\u66f4\u3059\u308b\u305f\u3081\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3082\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<h2>\u300copen files\u300d\u306e\u5024\u3092\u5909\u66f4\u3057\u3066\u307f\u308b\uff01<\/h2>\n<p>\u300copen files\u300d\u306e\u5024\u309210000\u306b\u5909\u66f4\u3092\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1,2]; title: ; notranslate\" title=\"\">\r\n$ ulimit -n 10000\r\n$ ulimit -n\r\n10000\r\n<\/pre>\n<p>\u3061\u306a\u307f\u306b\u4ee5\u4e0b\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u8a2d\u5b9a\u5024\u306e\u5236\u9650\u306b\u304b\u304b\u308a\u3001\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ ulimit -n 10001\r\n-bash: ulimit: open files: cannot modify limit: Operation not permitted\r\n<\/pre>\n<p>\u305d\u306e\u3088\u3046\u306a\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30bd\u30d5\u30c8\u30ea\u30df\u30c3\u30c8\u3001\u30cf\u30fc\u30c9\u30ea\u30df\u30c3\u30c8\u306e\u5909\u66f4\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1,3]; title: ; notranslate\" title=\"\">\r\n$ ulimit -S -n\r\n10000\r\n$ ulimit -H -n\r\n10000\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>\u30b7\u30b9\u30c6\u30e0\u306b\u95a2\u3059\u308b\u5236\u9650\u5024\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u8a2d\u5b9a\u3068\u5408\u308f\u305b\u3066\u884c\u308f\u306a\u3044\u3068\u3001\u7c21\u5358\u306b\u306f\u5909\u66f4\u3067\u304d\u306a\u3044\u5834\u5408\u304c\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/8868\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Linux\u3067\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u6210\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2021\/02\/fi_linux_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Linux\u3067\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u6210\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\uff01<\/div><div class=\"substr\">Linux\u3067\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u6210\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<h2>\u95a2\u9023\u66f8\u7c4d\uff08Amazon\uff09<\/h2>\n<p><iframe sandbox=\"allow-popups allow-scripts allow-modals allow-forms allow-same-origin\" style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&bc1=000000&IS2=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=infotecr-22&language=ja_JP&o=9&p=8&l=as4&m=amazon&f=ifr&ref=as_ss_li_til&asins=4774174041&linkId=1be31975ee817bf3bb17e2a366509519\"><\/iframe><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u3067\u5229\u7528\u74b0\u5883\u306e\u5236\u9650\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":5527,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[192],"tags":[282,1182,25,1181],"class_list":["post-9456","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-configurations","tag-linux","tag-ulimit","tag-25","tag-1181"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/9456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=9456"}],"version-history":[{"count":1,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/9456\/revisions"}],"predecessor-version":[{"id":15056,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/9456\/revisions\/15056"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/5527"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=9456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=9456"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=9456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}