{"id":1862,"date":"2017-01-11T17:20:42","date_gmt":"2017-01-11T08:20:42","guid":{"rendered":"https:\/\/www.manageengine.jp\/support\/kb\/EventLog_Analyzer\/?p=1862"},"modified":"2020-05-21T17:46:49","modified_gmt":"2020-05-21T08:46:49","slug":"elasticsearch%e3%81%a7too-many-open-filesga","status":"publish","type":"post","link":"https:\/\/www.manageengine.jp\/support\/kb\/EventLog_Analyzer\/?p=1862","title":{"rendered":"Elasticsearch\u3067Too many open files\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u6642\u306e\u5bfe\u51e6\u6cd5"},"content":{"rendered":"<p><strong>\u25a0\u5bfe\u8c61OS<\/strong><\/p>\n<p>Linux<\/p>\n<p><strong>\u25a0\u5bfe\u8c61\u30d3\u30eb\u30c9<\/strong><\/p>\n<p>11025\u4ee5\u964d<\/p>\n<p>&nbsp;<\/p>\n<p>Elasticsearch\u306f\u51e6\u7406\u30b9\u30d4\u30fc\u30c9\u5411\u4e0a\u306e\u305f\u3081\u3001\u540c\u6642\u306b\u8907\u6570\u306e\u30c7\u30fc\u30bf\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u51e6\u7406\u3092\u884c\u3044\u3001\u30c7\u30fc\u30bf\u306e\u7d50\u5408\u3068\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u51e6\u7406\u3092\u4e26\u884c\u3057\u3066\u5b9f\u65bd\u3057\u307e\u3059\u3002\u3053\u306e\u51e6\u7406\u306e\u969b\u306b\u5927\u91cf\u306e<strong>*1<\/strong>\u30d5\u30a1\u30a4\u30eb\u30c7\u30a3\u30b9\u30af\u30ea\u30d7\u30bf\u3092\u30aa\u30fc\u30d7\u30f3\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u3001Linux\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3067\u306f\u6700\u5c0f\u8a2d\u5b9a\u304c\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u51e6\u7406\u306e\u9014\u4e2d\u3067\u4e0a\u9650\u5024\u3092\u8d85\u3048\u308b\u3053\u3068\u3067\u3001Too many open files\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3001Elasticsearch\u304c\u52d5\u4f5c\u3092\u505c\u6b62\u3057\u3066\u3057\u307e\u3046\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<div class=\"point\">\n<p><strong>*1<\/strong>\u30d5\u30a1\u30a4\u30eb\u30c7\u30a3\u30b9\u30af\u30ea\u30d7\u30bf\u30fb\u30fb\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u30a2\u30af\u30bb\u30b9\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3084\u6a19\u6e96\u51fa\u5165\u529b\u3092OS\u304c\u8b58\u5225\u3059\u308b\u305f\u3081\u306e\u8b58\u5225\u5b50<\/p>\n<\/div>\n<p>\u672c\u554f\u984c\u306fEventLog Analyzer\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u3067\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u30c7\u30a3\u30b9\u30af\u30ea\u30d7\u30bf\u306e\u5236\u9650\u5024\u3092\u5897\u52a0\u3055\u305b\u308b\u3053\u3068\u3067\u3001\u56de\u907f\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\u306a\u304a\u30d5\u30a1\u30a4\u30eb\u30c7\u30a3\u30b9\u30af\u30ea\u30d7\u30bf\u306e\u5236\u9650\u5024\u306e\u5909\u66f4\u65b9\u6cd5\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001\u5404\u30d9\u30f3\u30c0\u30fc\u3078\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u203b\u672c\u30ca\u30ec\u30c3\u30b8\u30d9\u30fc\u30b9\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u6761\u4ef6\u306b\u57fa\u3065\u304d\u8a2d\u5b9a\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote>\n<ul>\n<li>\u4e0a\u9650\u5024\u306f32000<\/li>\n<li>\u5168\u30e6\u30fc\u30b6\u30fc\u3092\u5bfe\u8c61<\/li>\n<li>\u30bd\u30d5\u30c8\u30ea\u30df\u30c3\u30c8\/\u30cf\u30fc\u30c9\u30ea\u30df\u30c3\u30c8\u5171\u306b\u540c\u3058\u5024<\/li>\n<\/ul>\n<\/blockquote>\n<div class=\"point\">\n<p>\u4e0a\u9650\u5024\u306e\u7a2e\u985e\u306b\u306f\u300c\u30bd\u30d5\u30c8\u30ea\u30df\u30c3\u30c8\u300d\u3068\u300c\u30cf\u30fc\u30c9\u30ea\u30df\u30c3\u30c8\u300d\u306e2\u3064\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u30cf\u30fc\u30c9\u30ea\u30df\u30c3\u30c8\u306e\u5834\u5408\u306f\u3001\u4e0a\u9650\u5024\u3092\u8d85\u3048\u305d\u3046\u306b\u306a\u308b\u3068\u5373\u5ea7\u306b\u30a8\u30e9\u30fc\u3092\u8fd4\u3057\u3001\u30c7\u30a3\u30b9\u30af\u3078\u306e\u66f8\u304d\u8fbc\u307f\u51e6\u7406\u3092\u505c\u6b62\u3057\u307e\u3059\u3002\u4e00\u65b9\u30bd\u30d5\u30c8\u30ea\u30df\u30c3\u30c8\u306e\u5834\u5408\u306f\u7336\u4e88\u6642\u9593\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u7336\u4e88\u6642\u9593\u5185\u3067\u3042\u308c\u3070\u4e0a\u9650\u5024\u3092\u8d85\u3048\u3066\u3082\u30a8\u30e9\u30fc\u3092\u8fd4\u3057\u307e\u305b\u3093\u3002<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000\"><strong>\u3054\u6ce8\u610f\uff1a<\/strong>\u4ee5\u4e0b\u306b\u8a18\u8f09\u3057\u3066\u3044\u308b\u306e\u306f\u3001\u8a2d\u5b9a\u624b\u9806\u306e\u4e00\u4f8b\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/p>\n<p>\u5bfe\u8c61OS\uff1aCentOS 6<\/p>\n<p><strong>&lt; \u8a2d\u5b9a\u624b\u9806(\u4f8b) &gt;<\/strong><\/p>\n<p>1\uff0eroot\u30e6\u30fc\u30b6\u30fc\u3068\u3057\u3066\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002<\/p>\n<p>2\uff0e\"\/etc\/security\/limits.conf\"\u3092vi\u7b49\u3067\u7de8\u96c6\u3057\u307e\u3059\u3002<\/p>\n<p>3\uff0e\u4ee5\u4e0b\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u8ffd\u8a18\u3057\u307e\u3059\uff1a<\/p>\n<blockquote>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>* soft nofile\u00a032000<\/ul>\n<\/li>\n<li style=\"list-style-type: none\">\n<ul>* hard nofile\u00a032000<\/ul>\n<\/li>\n<\/ul>\n<\/blockquote>\n<p>4\uff0e\u8a2d\u5b9a\u3092\u4fdd\u5b58\u3057\u3066\u30a8\u30c7\u30a3\u30bf\u3092\u7d42\u4e86\u3057\u307e\u3059\u3002<\/p>\n<p>5\uff0esu - \u3092\u5b9f\u884c\u3057\u3066\u518d\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002<\/p>\n<p>6\uff0e\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001\u5024\u304c\u53cd\u6620\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\uff1a<\/p>\n<blockquote>\n<ul># ulimit -n<\/ul>\n<\/blockquote>\n<p>\u624b\u9806\u306f\u4ee5\u4e0a\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u25a0\u5bfe\u8c61OS Linux \u25a0\u5bfe\u8c61\u30d3\u30eb\u30c9 11025\u4ee5\u964d &nbsp; Elasticsearch\u306f\u51e6\u7406\u30b9\u30d4\u30fc\u30c9\u5411\u4e0a\u306e\u305f\u3081\u3001\u540c\u6642\u306b\u8907\u6570\u306e\u30c7\u30fc\u30bf\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u2026 <a href=\"https:\/\/www.manageengine.jp\/support\/kb\/EventLog_Analyzer\/?p=1862\" class=\"more\">\uff3b\u7d9a\u304d\u3092\u8aad\u3080\uff3d<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[15],"tags":[277,288,91,289],"class_list":["post-1862","post","type-post","status-publish","format-standard","hentry","category-trouble-ela","tag-277","tag-elasticsearch","tag-linux","tag-289"],"modified_by":null,"_links":{"self":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/EventLog_Analyzer\/index.php?rest_route=\/wp\/v2\/posts\/1862","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/EventLog_Analyzer\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/EventLog_Analyzer\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/EventLog_Analyzer\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/EventLog_Analyzer\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1862"}],"version-history":[{"count":28,"href":"https:\/\/www.manageengine.jp\/support\/kb\/EventLog_Analyzer\/index.php?rest_route=\/wp\/v2\/posts\/1862\/revisions"}],"predecessor-version":[{"id":4017,"href":"https:\/\/www.manageengine.jp\/support\/kb\/EventLog_Analyzer\/index.php?rest_route=\/wp\/v2\/posts\/1862\/revisions\/4017"}],"wp:attachment":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/EventLog_Analyzer\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1862"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/EventLog_Analyzer\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1862"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/EventLog_Analyzer\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}