{"id":9556,"date":"2017-03-15T23:00:33","date_gmt":"2017-03-15T14:00:33","guid":{"rendered":"http:\/\/www.itblog.jp\/?p=9556"},"modified":"2017-03-15T23:00:33","modified_gmt":"2017-03-15T14:00:33","slug":"hhvm%e3%81%ae%e3%83%ad%e3%82%b0%e3%83%ad%e3%83%bc%e3%83%86%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%81%ae%e8%a8%ad%e5%ae%9a%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.itblog.jp\/?p=9556","title":{"rendered":"hhvm\u306e\u30ed\u30b0\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5"},"content":{"rendered":"<p>\u904b\u7528\u3057\u3066\u3044\u308b\u3068\u3042\u308b\u30b5\u30a4\u30c8\u306e\u30b5\u30fc\u30d0\u304c\u4f4e\u901f\u5316\u3057\u3066\u3044\u305f\u306e\u3067\u3001\u539f\u56e0\u3092\u8abf\u3079\u3066\u307f\u308b\u3068hhvm\u306e\u30ed\u30b0\u30b5\u30a4\u30ba\u304c\u80a5\u5927\u5316\u3057\u3066\u3044\u305f\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001linu\uff58\u3067\u3069\u306e\u30d5\u30a9\u30eb\u30c0\u304c\u80a5\u5927\u5316\u3057\u3066\u3044\u308b\u304b\u3092\u8abf\u3079\u308b\u306b\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u304c\u4fbf\u5229<\/p>\n<p>\u5bb9\u91cf\u3092\u4f7f\u3063\u3066\u3044\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e0a\u304b\u308930\u500b\u8868\u793a<br \/>\ndu \/ | sort -nr | head -30<\/p>\n<p>\u8abf\u3079\u3066\u307f\u305f\u3068\u3053\u308d\u3001hhvm\u306e\u30a8\u30e9\u30fc\u30ed\u30b0\u304c\u80a5\u5927\u5316\u3057\u3066\u3044\u305f\u3002<\/p>\n<p>\/var\/log\/hhvmd\/error.log<\/p>\n<p>\u3053\u308c\u304c\u30b5\u30fc\u30d0\u5168\u4f53\u3092\u5727\u8feb\u3059\u308b\u307b\u3069\u5de8\u5927\u5316\u3057\u3066\u5bb9\u91cf\u3092\u5360\u6709\u3057\u3066\u3044\u305f<\/p>\n<p>\u8a72\u5f53\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u307e\u3067\u79fb\u52d5\u3057\u3001\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3068\u308a\u3042\u3048\u305a\u7a7a\u306b\u3059\u308b<\/p>\n<p>: > error.log<\/p>\n<p>hhvm\u306e\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306e\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u3060\u304c\u3001\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u7de8\u96c6\u3067\u304d\u308b<\/p>\n<p>\/etc\/logrotate.d\/hhvmd<\/p>\n<p>\u7de8\u96c6\u3059\u308b\u3068\u3001\u521d\u671f\u8a2d\u5b9a\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u305f<\/p>\n<p>\/var\/log\/hhvmd\/*log {<br \/>\n      daily<br \/>\n      rotate 52<br \/>\n      missingok<br \/>\n      notifempty<br \/>\n      compress<br \/>\n      delaycompress<br \/>\n      sharedscripts<br \/>\n     copytruncate<br \/>\n}<\/p>\n<p>\u30c7\u30a4\u30ea\u30fc\u3067\u30ed\u30b0\u3092\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u3057\u300152\u4e16\u4ee3\u307e\u3067\u6b8b\u3059\u8a2d\u5b9a\u3068\u306a\u3063\u3066\u3044\u305f\u3002<br \/>\n\u30d5\u30a1\u30a4\u30eb\u306e\u4e0a\u9650\u304c\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u3092\u8ffd\u8a18\u3057\u3066\u304a\u3044\u305f\u3002<\/p>\n<p>\/var\/log\/hhvmd\/*log {<br \/>\n      daily<br \/>\n      rotate 52<br \/>\n      size 5M<br \/>\n      missingok<br \/>\n      notifempty<br \/>\n      compress<br \/>\n      delaycompress<br \/>\n      sharedscripts<br \/>\n     copytruncate<br \/>\n}<\/p>\n<p>\u4e0a\u8a18\u306e\u8a2d\u5b9a\u3067\u306f5M\u3092\u8d85\u3048\u308b\u3068\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u3055\u308c\u308b\u306e\u3067\u3001\u6700\u5927\u3067\u3082 5M\u00d752\u3067250M\u7a0b\u5ea6\u3057\u304b\u5bb9\u91cf\u3092\u5727\u8feb\u3059\u308b\u3053\u3068\u306f\u306a\u3044\u3002<\/p>\n<p>\u8a2d\u5b9a\u5f8c\u3001Apache\u306e\u518d\u8d77\u52d5\u3092\u884c\u3063\u3066\u53cd\u6620\u3055\u305b\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u904b\u7528\u3057\u3066\u3044\u308b\u3068\u3042\u308b\u30b5\u30a4\u30c8\u306e\u30b5\u30fc\u30d0\u304c\u4f4e\u901f\u5316\u3057\u3066\u3044\u305f\u306e\u3067\u3001\u539f\u56e0\u3092\u8abf\u3079\u3066\u307f\u308b\u3068hhvm\u306e\u30ed\u30b0\u30b5\u30a4\u30ba\u304c\u80a5\u5927\u5316\u3057\u3066\u3044\u305f\u3002 \u3061\u306a\u307f\u306b\u3001linu\uff58\u3067\u3069\u306e\u30d5\u30a9\u30eb\u30c0\u304c\u80a5\u5927\u5316\u3057\u3066\u3044\u308b\u304b\u3092\u8abf\u3079\u308b\u306b\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u304c\u4fbf\u5229 \u5bb9\u91cf\u3092\u4f7f\u3063\u3066\u3044\u308b\u30c7\u30a3\u30ec [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[114],"tags":[],"class_list":["post-9556","post","type-post","status-publish","format-standard","hentry","category-it"],"_links":{"self":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts\/9556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9556"}],"version-history":[{"count":0,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts\/9556\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}