{"id":2584,"date":"2016-02-23T20:37:17","date_gmt":"2016-02-23T11:37:17","guid":{"rendered":"http:\/\/blog.rutake.com\/techmemo\/?p=2584"},"modified":"2016-02-23T20:37:17","modified_gmt":"2016-02-23T11:37:17","slug":"aws-t2-nanot2-micro%e3%81%af%e7%aa%81%e7%84%b6%e3%81%aeoomkiller%e3%81%ab%e6%b3%a8%e6%84%8f","status":"publish","type":"post","link":"https:\/\/blog.rutake.com\/techmemo\/2016\/02\/23\/aws-t2-nanot2-micro%e3%81%af%e7%aa%81%e7%84%b6%e3%81%aeoomkiller%e3%81%ab%e6%b3%a8%e6%84%8f\/","title":{"rendered":"AWS t2.nano\/t2.micro\u306f\u7a81\u7136\u306eOOMKiller\u306b\u6ce8\u610f"},"content":{"rendered":"<p>AWS\u306fSwap\u9818\u57df\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u5b58\u5728\u3057\u306a\u3044\u305f\u3081\u3001\u30e1\u30e2\u30ea\u4e0d\u8db3\u306b\u306a\u308b\u3068\u30d7\u30ed\u30bb\u30b9\u304c\u52dd\u624b\u306bkill\u3055\u308c\u308b\u3002<\/p>\n<p>\u306a\u3093\u304b\u52d5\u304d\u304c\u9045\u3044\u3068\u601d\u3063\u305f\u3089\/var\/log\/message\u3092\u307f\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u3066\u3044\u306a\u3044\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u307f\u308b\u3079\u3057\u3002<\/p>\n<p>Out of memory: Kill process 12288 (java) score 689 or sacrifice child<\/p>\n<p>\u3053\u306e\u6642\u306ft2.nano\u306bnginx\/Tomcat8\/jenkins\u3067\u30d3\u30eb\u30c9\u3092\u8d70\u3089\u305b\u305f\u3060\u3051\u3067\u30e1\u30e2\u30ea\u4e0d\u8db3\u3068\u306a\u308aTomcat\u304c\u5fdc\u7b54\u4e0d\u80fd\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u3002<br \/>\nnginx\u306e\u30d7\u30ed\u30bb\u30b9\u306f\u6b8b\u3063\u3066\u3044\u305f\u306e\u3067\u30e1\u30e2\u30ea\u3092\u5360\u6709\u3059\u308bJava\u306e\u30d7\u30ed\u30bb\u30b9\u304ckill\u3055\u308c\u305f\u6a21\u69d8\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>AWS\u306fSwap\u9818\u57df\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u5b58\u5728\u3057\u306a\u3044\u305f\u3081\u3001\u30e1\u30e2\u30ea\u4e0d\u8db3\u306b\u306a\u308b\u3068\u30d7\u30ed\u30bb\u30b9\u304c &hellip; <a href=\"https:\/\/blog.rutake.com\/techmemo\/2016\/02\/23\/aws-t2-nanot2-micro%e3%81%af%e7%aa%81%e7%84%b6%e3%81%aeoomkiller%e3%81%ab%e6%b3%a8%e6%84%8f\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[333],"tags":[430,509],"_links":{"self":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/2584"}],"collection":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/comments?post=2584"}],"version-history":[{"count":1,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/2584\/revisions"}],"predecessor-version":[{"id":2585,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/2584\/revisions\/2585"}],"wp:attachment":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/media?parent=2584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/categories?post=2584"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/tags?post=2584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}