{"id":4286,"date":"2026-04-04T00:03:56","date_gmt":"2026-04-03T15:03:56","guid":{"rendered":"https:\/\/blog.id774.net\/entry\/?p=4286"},"modified":"2026-04-04T00:10:47","modified_gmt":"2026-04-03T15:10:47","slug":"%e3%82%b7%e3%82%b9%e3%83%86%e3%83%a0%e3%83%ad%e3%82%b0%e8%82%a5%e5%a4%a7%e5%8c%96%e3%81%a8%e3%81%9d%e3%81%ae%e5%af%be%e5%87%a6%e8%a8%ad%e8%a8%88","status":"publish","type":"post","link":"https:\/\/blog.id774.net\/entry\/2026\/04\/04\/4286\/","title":{"rendered":"\u30b7\u30b9\u30c6\u30e0\u30ed\u30b0\u80a5\u5927\u5316\u3068\u305d\u306e\u5bfe\u51e6\u8a2d\u8a08"},"content":{"rendered":"<p><a href=\"https:\/\/blog.id774.net\/entry\/2026\/03\/15\/4010\/\">Linux<\/a> \u3092\u9577\u304f\u904b\u7528\u3057\u3066\u3044\u308b\u3068\u3001CPU \u4f7f\u7528\u7387\u3084\u30e1\u30e2\u30ea\u30fc\u4f7f\u7528\u91cf\u3088\u308a\u3082\u5148\u306b\u3001\u30ed\u30b0\u304c\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u5b89\u5b9a\u6027\u3092\u58ca\u3059\u3053\u3068\u304c\u3042\u308b\u3002systemd-journald \u306f\u30ab\u30fc\u30cd\u30eb\u30e1\u30c3\u30bb\u30fc\u30b8\u3001syslog\u3001\u30b5\u30fc\u30d3\u30b9\u30ed\u30b0\u306a\u3069\u3092\u53ce\u96c6\u3059\u308b\u57fa\u76e4\u3067\u3042\u308a<a class=\"ref\" href=\"#ref1\">[1]<\/a>\u3001journald.conf \u3067\u306f\u4fdd\u5b58\u91cf\u305d\u306e\u3082\u306e\u306b\u4e0a\u9650\u3092\u8a2d\u3051\u308b\u3053\u3068\u3082\u3067\u304d\u308b<a class=\"ref\" href=\"#ref2\">[2]<\/a>\u3002\u4e00\u65b9\u3001<a href=\"https:\/\/blog.id774.net\/entry\/2026\/02\/09\/3515\/\">Debian<\/a> \u3067\u306f rsyslog \u304c\u53e4\u5178\u7684\u306a\u30c6\u30ad\u30b9\u30c8\u30ed\u30b0\u57fa\u76e4\u3068\u3057\u3066\u5e83\u304f\u4f7f\u308f\u308c\u3066\u304a\u308a<a class=\"ref\" href=\"#ref3\">[3]<\/a>\u3001logrotate \u306f \/var\/log \u914d\u4e0b\u306e\u30ed\u30b0\u3092<a href=\"https:\/\/blog.id774.net\/entry\/2025\/09\/30\/3008\/\">\u65e5\u6b21\u3084\u30b5\u30a4\u30ba\u6761\u4ef6\u3067\u5faa\u74b0\u3055\u305b\u308b<\/a>\u6a19\u6e96\u624b\u6bb5\u306b\u306a\u3063\u3066\u3044\u308b<a class=\"ref\" href=\"#ref4\">[4]<\/a><a class=\"ref\" href=\"#ref5\">[5]<\/a>\u3002\u3064\u307e\u308a\u3001\u73fe\u4ee3\u306e Debian \u7cfb\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u300cjournald \u304c\u96c6\u3081\u3001rsyslog \u304c syslog \u3092\u66f8\u304d\u3001logrotate \u304c\u53e4\u3044\u30ed\u30b0\u3092\u56de\u3059\u300d\u3068\u3044\u3046\u4e09\u5c64\u69cb\u9020\u3092\u524d\u63d0\u306b\u8003\u3048\u308b\u5fc5\u8981\u304c\u3042\u308b<a class=\"ref\" href=\"#ref6\">[6]<\/a>\u3002<\/p>\n<p>\u4eca\u56de\u306e\u51fa\u6765\u4e8b\u306f\u3001\u305d\u306e\u4e09\u5c64\u69cb\u9020\u306e\u3069\u308c\u304b\u4e00\u3064\u304c\u58ca\u308c\u305f\u3068\u3044\u3046\u3088\u308a\u3001\u300csyslog \u306f\u6b8b\u3057\u305f\u3044\u300d\u300c90 \u65e5\u4fdd\u6301\u3057\u305f\u3044\u300d\u300c\u3057\u304b\u3057 10 GB \u8d85\u306e\u5358\u4e00\u30d5\u30a1\u30a4\u30eb\u306f\u4f5c\u308a\u305f\u304f\u306a\u3044\u300d\u3068\u3044\u3046\u8907\u6570\u306e\u8981\u6c42\u304c\u3076\u3064\u304b\u3063\u305f\u4f8b\u3060\u3063\u305f\u3002\u3057\u304b\u3082\u3001\u554f\u984c\u306e\u4e2d\u5fc3\u306f GPU \u306e\u8a73\u7d30\u539f\u56e0\u3084\u7279\u5b9a\u30c9\u30e9\u30a4\u30d0\u30fc\u306e\u7656\u3088\u308a\u3082\u3001\u300c\u30ed\u30b0\u30b9\u30d1\u30e0\u304c\u767a\u751f\u3057\u305f\u3068\u304d\u3001\u3069\u306e\u4fa1\u5024\u3092\u5b88\u308a\u3001\u3069\u3053\u3067\u5272\u308a\u5207\u308b\u304b\u300d\u3068\u3044\u3046\u904b\u7528\u601d\u60f3\u306e\u307b\u3046\u306b\u3042\u3063\u305f\u3002\u672c\u7a3f\u3067\u306f\u3001\u5b9f\u969b\u306b\u8d77\u304d\u305f\u4e8b\u8c61\u3092\u8d77\u70b9\u3068\u3057\u3066\u3001\u8abf\u67fb\u3067\u4f55\u3092\u898b\u305f\u304b\u3001\u3069\u3053\u3067\u8aa4\u89e3\u3057\u3084\u3059\u304b\u3063\u305f\u304b\u3001\u6700\u7d42\u7684\u306b\u3069\u306e\u3088\u3046\u306b\u904b\u7528\u8a2d\u8a08\u3078\u843d\u3068\u3057\u305f\u304b\u3092\u9806\u306b\u6574\u7406\u3059\u308b\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u9805\u76ee<\/th>\n<th>\u4eca\u56de\u306e\u524d\u63d0<\/th>\n<th>\u610f\u5473<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30ed\u30b0\u57fa\u76e4<\/td>\n<td>journald + rsyslog + logrotate<\/td>\n<td>\u53ce\u96c6\u3001\u4fdd\u5b58\u3001\u5faa\u74b0\u304c\u5225\u30ec\u30a4\u30e4\u3067\u52d5\u3044\u3066\u3044\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u4fdd\u6301\u65b9\u91dd<\/td>\n<td>syslog \u3092 90 \u65e5\u4fdd\u6301<\/td>\n<td>\u77ed\u671f\u5206\u6790\u3060\u3051\u3067\u306a\u304f\u3001\u904e\u53bb\u6bd4\u8f03\u306b\u3082\u4f7f\u3046\u524d\u63d0\u3067\u3042\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u4eca\u56de\u306e\u969c\u5bb3\u50cf<\/td>\n<td>syslog \u304c 10 GB \u8d85\u306b\u80a5\u5927\u5316<\/td>\n<td>\u5358\u306a\u308b\u300c\u30ed\u30b0\u304c\u591a\u3044\u300d\u3067\u306f\u306a\u304f\u3001\u904b\u7528\u8a2d\u8a08\u306e\u9650\u754c\u304c\u9732\u51fa\u3057\u305f\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h2>1. \u307e\u305a\u4f55\u304c\u8d77\u304d\u305f\u306e\u304b<\/h2>\n<p>\u6700\u521d\u306b\u89b3\u6e2c\u3055\u308c\u305f\u306e\u306f\u3001\/var\/log\/syslog \u304c\u7d04 12 GB \u306b\u9054\u3057\u3066\u3044\u305f\u3068\u3044\u3046\u4e8b\u5b9f\u3067\u3042\u308b\u3002\u3053\u3053\u3067\u91cd\u8981\u306a\u306e\u306f\u3001\u3053\u308c\u306f\u300c90 \u65e5\u4fdd\u6301\u306e\u7d50\u679c\u3068\u3057\u3066\u5f90\u3005\u306b\u5897\u3048\u305f\u300d\u306e\u3067\u306f\u306a\u304f\u3001\u77ed\u6642\u9593\u306b\u5358\u4e00\u30d5\u30a1\u30a4\u30eb\u304c\u7570\u5e38\u306b\u5927\u304d\u304f\u306a\u3063\u305f\u3068\u3044\u3046\u70b9\u3067\u3042\u308b\u3002logrotate \u306f\u3001\u672c\u6765\u3053\u3046\u3057\u305f\u30ed\u30b0\u80a5\u5927\u5316\u3092\u907f\u3051\u308b\u305f\u3081\u306e\u6a19\u6e96\u6a5f\u69cb\u3067\u3042\u308a\u3001\u65e5\u6b21\u3001\u9031\u6b21\u3001\u6708\u6b21\u3001\u3042\u308b\u3044\u306f\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u3092\u6761\u4ef6\u306b\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u3067\u304d\u308b\u3088\u3046\u8a2d\u8a08\u3055\u308c\u3066\u3044\u308b<a class=\"ref\" href=\"#ref4\">[4]<\/a><a class=\"ref\" href=\"#ref7\">[7]<\/a>\u3002\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u5358\u4e00\u306e syslog \u304c 12 GB \u307e\u3067\u4f38\u3073\u305f\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u5c11\u306a\u304f\u3068\u3082\u305d\u306e\u6642\u70b9\u306e\u69cb\u6210\u3067\u306f\u3001\u77ed\u6642\u9593\u30b9\u30d1\u30a4\u30af\u306b\u5bfe\u3059\u308b\u9632\u5fa1\u304c\u4e0d\u8db3\u3057\u3066\u3044\u305f\u3068\u8aad\u3081\u308b\u3002<\/p>\n<p>\u3053\u306e\u6642\u70b9\u3067\u3084\u308b\u3079\u304d\u3053\u3068\u306f\u3001\u539f\u56e0\u3092\u3059\u3050\u306b\u65ad\u8a00\u3059\u308b\u3053\u3068\u3067\u306f\u306a\u304f\u3001\u73fe\u8c61\u3092\u5206\u89e3\u3059\u308b\u3053\u3068\u3067\u3042\u308b\u3002syslog \u304c\u5927\u304d\u3044\u3068\u3044\u3046\u7d50\u679c\u3060\u3051\u3092\u898b\u3066\u3044\u308b\u3068\u3001\u300c\u30c7\u30a3\u30b9\u30af\u304c\u8db3\u308a\u306a\u3044\u300d\u300crsyslog \u304c\u58ca\u308c\u305f\u300d\u300clogrotate \u304c\u52d5\u3044\u3066\u3044\u306a\u3044\u300d\u3068\u3044\u3063\u305f\u8907\u6570\u306e\u4eee\u8aac\u304c\u540c\u5217\u306b\u4e26\u3076\u3002\u3057\u304b\u3057\u5b9f\u969b\u306b\u306f\u3001\u300c\u30ed\u30b0\u304c\u66f8\u304b\u308c\u3059\u304e\u305f\u300d\u306e\u304b\u3001\u300c\u56de\u8ee2\u304c\u9593\u306b\u5408\u308f\u306a\u304b\u3063\u305f\u300d\u306e\u304b\u3001\u300c\u4fdd\u6301\u8a2d\u8a08\u304c\u77ed\u671f\u30b9\u30d1\u30a4\u30af\u3092\u60f3\u5b9a\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u300d\u306e\u304b\u3067\u3001\u5bfe\u7b56\u306f\u307e\u3063\u305f\u304f\u5909\u308f\u308b\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u89b3\u6e2c\u4e8b\u5b9f<\/th>\n<th>\u76f4\u611f\u7684\u306a\u898b\u3048\u65b9<\/th>\n<th>\u5b9f\u969b\u306b\u5207\u308a\u5206\u3051\u308b\u3079\u304d\u8ad6\u70b9<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>syslog \u304c 12 GB<\/td>\n<td>logrotate \u304c\u58ca\u308c\u305f\u3088\u3046\u306b\u898b\u3048\u308b\u3002<\/td>\n<td>\u51fa\u529b\u91cf\u306e\u7570\u5e38\u304b\u3001\u56de\u8ee2\u6761\u4ef6\u306e\u4e0d\u8db3\u304b\u3001\u4fdd\u6301\u601d\u60f3\u306e\u4e0d\u8db3\u304b\u3092\u5206\u3051\u3066\u8003\u3048\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>GUI \u304c\u4e0d\u5b89\u5b9a<\/td>\n<td>GPU \u969c\u5bb3\u306e\u3088\u3046\u306b\u898b\u3048\u308b\u3002<\/td>\n<td>GPU \u305d\u306e\u3082\u306e\u3088\u308a\u3001\u30ed\u30b0\u30b9\u30d1\u30e0\u3068\u8868\u793a\u7cfb\u306e\u4e0d\u6574\u5408\u304c\u5225\u7cfb\u7d71\u3067\u91cd\u306a\u3063\u3066\u3044\u306a\u3044\u304b\u3092\u898b\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>SSH \u306f\u751f\u304d\u3066\u3044\u308b<\/td>\n<td>\u5b8c\u5168\u969c\u5bb3\u3067\u306f\u306a\u3044\u3002<\/td>\n<td>OS \u672c\u4f53\u306f\u7a3c\u50cd\u3057\u3066\u304a\u308a\u3001\u8abf\u67fb\u3068\u5fa9\u65e7\u3092\u30b7\u30b9\u30c6\u30e0\u5916\u304b\u3089\u7d99\u7d9a\u3067\u304d\u308b\u72b6\u614b\u3060\u3063\u305f\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h2>2. \u8abf\u67fb\u3067\u898b\u305f\u3053\u3068<\/h2>\n<p>\u4eca\u56de\u306e\u8abf\u67fb\u3067\u6700\u521d\u306b\u91cd\u8981\u3060\u3063\u305f\u306e\u306f\u3001\u6642\u7cfb\u5217\u3092\u5d29\u3055\u306a\u3044\u3053\u3068\u3060\u3063\u305f\u3002\u5f8c\u304b\u3089\u30ab\u30fc\u30cd\u30eb\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u89e6\u308a\u3001\u8868\u793a\u7cfb\u3092\u3044\u3058\u308a\u3001GDM \u306e\u5fa9\u65e7\u3082\u884c\u3063\u305f\u304c\u3001syslog \u306e\u80a5\u5927\u5316\u305d\u306e\u3082\u306e\u306f\u305d\u308c\u4ee5\u524d\u304b\u3089\u8d77\u304d\u3066\u3044\u305f\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u3053\u306e\u8a2d\u5b9a\u5909\u66f4\u306f\u300cGUI \u306e\u6df7\u4e71\u300d\u306b\u306f\u95a2\u4fc2\u3057\u3066\u3082\u3001\u300c\u6700\u521d\u306b syslog \u304c\u81a8\u5f35\u3057\u305f\u7406\u7531\u300d\u305d\u306e\u3082\u306e\u3068\u306f\u5206\u3051\u3066\u8003\u3048\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3002\u3053\u3053\u3092\u6df7\u540c\u3059\u308b\u3068\u3001\u5f8c\u304b\u3089\u3084\u3063\u305f\u4f5c\u696d\u3092\u771f\u56e0\u3068\u8aa4\u8a8d\u3057\u3084\u3059\u3044\u3002<\/p>\n<p>\u6b21\u306b\u3001Linux \u306e\u8868\u793a\u7cfb\u3092\u5c11\u3057\u3067\u3082\u89e6\u3063\u3066\u3044\u308b\u3068\u3001GPU \u5468\u8fba\u306e\u30ed\u30b0\u3092\u771f\u3063\u5148\u306b\u7591\u3044\u305f\u304f\u306a\u308b\u3002\u5b9f\u969b\u3001Kernel Mode Setting \u306f\u30ab\u30fc\u30cd\u30eb\u7a7a\u9593\u3067\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u89e3\u50cf\u5ea6\u3084\u30d5\u30ec\u30fc\u30e0\u30d0\u30c3\u30d5\u30a1\u3092\u521d\u671f\u5316\u3059\u308b\u4ed5\u7d44\u307f\u3067\u3042\u308a<a class=\"ref\" href=\"#ref8\">[8]<\/a>\u3001DRM\/KMS \u306f\u8d77\u52d5\u6642\u3084\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u306e\u72b6\u614b\u5909\u5316\u3067\u591a\u304f\u306e\u30ed\u30b0\u3092\u51fa\u3057\u3046\u308b\u3002\u3057\u304b\u3057\u3001\u3053\u3053\u3067\u91cd\u8981\u306a\u306e\u306f\u300cGPU \u304c\u602a\u3057\u3044\u304b\u3069\u3046\u304b\u300d\u3088\u308a\u3001\u300cGPU \u3092\u542b\u3080\u3069\u3053\u304b\u304c\u9ad8\u983b\u5ea6\u306e\u7e70\u308a\u8fd4\u3057\u30ed\u30b0\u3092\u51fa\u3057\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u300d\u3068\u3044\u3046\u89b3\u70b9\u3067\u3042\u308b\u3002\u30ed\u30b0\u30b9\u30d1\u30e0\u306f\u3001\u539f\u56e0\u306e\u7a2e\u985e\u3088\u308a\u3082\u3001\u983b\u5ea6\u3068\u7d99\u7d9a\u6642\u9593\u306e\u7a4d\u306b\u3088\u3063\u3066\u5bb9\u91cf\u3092\u7834\u58ca\u3059\u308b\u304b\u3089\u3060\u3002<\/p>\n<p>\u307e\u305f\u3001rsyslog \u306e\u5165\u529b\u7d4c\u8def\u306b\u3082\u76ee\u3092\u5411\u3051\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002rsyslog \u306e imuxsock \u306f Unix \u30bd\u30b1\u30c3\u30c8\u7d4c\u7531\u306e\u53e4\u5178\u7684\u306a syslog \u5165\u529b\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3042\u308a\u3001rate limiting \u3092\u5099\u3048\u3066\u3044\u308b<a class=\"ref\" href=\"#ref9\">[9]<\/a><a class=\"ref\" href=\"#ref10\">[10]<\/a><a class=\"ref\" href=\"#ref11\">[11]<\/a>\u3002\u4e00\u65b9\u3067 repeated message reduction \u306e\u3088\u3046\u306a\u300c\u540c\u3058\u30ed\u30b0\u3092 \u201cLast message repeated n times\u201d \u306e\u3088\u3046\u306b\u7573\u307f\u8fbc\u3080\u300d\u6a5f\u80fd\u3082\u5b58\u5728\u3059\u308b\u304c\u3001rsyslog \u81ea\u8eab\u304c\u3053\u308c\u3092\u53e4\u3044\u904b\u7528\u5411\u3051\u306e\u6a5f\u80fd\u3068\u898b\u306a\u3057\u3066\u304a\u308a\u3001\u73fe\u4ee3\u7684\u306a\u30ed\u30b0\u89e3\u6790\u3067\u306f\u526f\u4f5c\u7528\u3082\u3042\u308b\u3068\u660e\u8a18\u3057\u3066\u3044\u308b<a class=\"ref\" href=\"#ref12\">[12]<\/a>\u3002\u3064\u307e\u308a\u3001\u30ed\u30b0\u30b9\u30d1\u30e0\u5bfe\u7b56\u306f\u5b58\u5728\u3059\u308b\u304c\u3001\u300c\u96d1\u306b\u5168\u90e8\u307e\u3068\u3081\u308c\u3070\u3088\u3044\u300d\u3068\u3044\u3046\u307b\u3069\u5358\u7d14\u3067\u306f\u306a\u3044\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u8abf\u67fb\u9805\u76ee<\/th>\n<th>\u898b\u305f\u7406\u7531<\/th>\n<th>\u8981\u70b9<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>syslog \u306e\u30b5\u30a4\u30ba\u3068\u6642\u7cfb\u5217<\/td>\n<td>\u3044\u3064\u304b\u3089\u80a5\u5927\u5316\u3057\u3066\u3044\u305f\u304b\u3092\u56fa\u5b9a\u3059\u308b\u305f\u3081\u3002<\/td>\n<td>\u5f8c\u304b\u3089\u89e6\u3063\u305f\u8a2d\u5b9a\u3068\u3001\u6700\u521d\u306e\u80a5\u5927\u5316\u3092\u5206\u96e2\u3057\u3066\u8003\u3048\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>GPU \/ DRM \/ KMS \u5468\u8fba<\/td>\n<td>\u8868\u793a\u7cfb\u30ed\u30b0\u306f\u5927\u91cf\u51fa\u529b\u306e\u5019\u88dc\u306b\u306a\u308a\u3084\u3059\u3044\u305f\u3081\u3002<\/td>\n<td>GPU \u306e\u5584\u60aa\u3067\u306f\u306a\u304f\u3001\u9ad8\u983b\u5ea6\u53cd\u5fa9\u306e\u53ef\u80fd\u6027\u3068\u3057\u3066\u6271\u3046\u3079\u304d\u3067\u3042\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>rsyslog \u306e\u5165\u529b\u6a5f\u69cb<\/td>\n<td>\u4fdd\u5b58\u524d\u306b\u6291\u5236\u3067\u304d\u308b\u5834\u6240\u304c\u3069\u3053\u304b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u3002<\/td>\n<td>rsyslog \u306b\u306f rate limiting \u7cfb\u306e\u4ed5\u7d44\u307f\u304c\u3042\u308b\u304c\u3001\u4f55\u3092\u5b88\u308b\u304b\u3067\u4f7f\u3044\u65b9\u304c\u5909\u308f\u308b\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h2>3. \u9014\u4e2d\u3067\u9665\u3063\u305f\u8aa4\u89e3<\/h2>\n<p>\u4eca\u56de\u3001\u9014\u4e2d\u3067\u6700\u3082\u8aa4\u89e3\u3057\u3084\u3059\u304b\u3063\u305f\u306e\u306f\u3001\u300c\u5f8c\u304b\u3089\u89e6\u3063\u305f\u30ab\u30fc\u30cd\u30eb\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3084 Xorg \u8a2d\u5b9a\u304c\u3001syslog \u80a5\u5927\u5316\u306e\u6839\u672c\u539f\u56e0\u3067\u3082\u3042\u308b\u300d\u3068\u898b\u3048\u3066\u3057\u307e\u3046\u70b9\u3060\u3063\u305f\u3002\u5b9f\u969b\u306b\u306f\u3001\u30ab\u30fc\u30cd\u30eb\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u5909\u66f4\u3084\u624b\u52d5\u306e Xorg \u8a2d\u5b9a\u306f\u3001\u5f8c\u6bb5\u306e GUI \u4e0d\u8abf\u3092\u8907\u96d1\u306b\u3057\u305f\u304c\u3001syslog \u304c\u5de8\u5927\u5316\u3057\u3066\u3044\u305f\u4e8b\u5b9f\u305d\u306e\u3082\u306e\u306f\u5148\u306b\u5b58\u5728\u3057\u3066\u3044\u305f\u3002\u3053\u306e\u9806\u756a\u3092\u53d6\u308a\u9055\u3048\u308b\u3068\u3001\u5fa9\u65e7\u4f5c\u696d\u306e\u526f\u4f5c\u7528\u3068\u5143\u306e\u554f\u984c\u304c\u4e00\u3064\u306b\u898b\u3048\u3066\u3057\u307e\u3046\u3002<\/p>\n<p>\u3082\u3046\u4e00\u3064\u306e\u8aa4\u89e3\u306f\u3001\u300c\u539f\u56e0\u3092\u5b8c\u5168\u306b\u7a81\u304d\u6b62\u3081\u306a\u3051\u308c\u3070\u8a2d\u8a08\u3092\u6c7a\u3081\u3089\u308c\u306a\u3044\u300d\u3068\u3044\u3046\u767a\u60f3\u3067\u3042\u308b\u3002\u3082\u3061\u308d\u3093\u3001\u539f\u56e0\u304c\u78ba\u5b9a\u3059\u308c\u3070\u3088\u308a\u92ed\u3044\u5bfe\u7b56\u306f\u6253\u3066\u308b\u3002\u3057\u304b\u3057\u9577\u671f\u904b\u7528\u306e\u8a2d\u8a08\u3067\u306f\u3001\u539f\u56e0\u306e\u7a2e\u985e\u3088\u308a\u3082\u5148\u306b\u3001\u300c\u540c\u3058\u3088\u3046\u306a\u30b9\u30d1\u30a4\u30af\u304c\u518d\u767a\u3057\u305f\u3068\u304d\u306b\u30b7\u30b9\u30c6\u30e0\u3092\u58ca\u3055\u306a\u3044\u300d\u3053\u3068\u304c\u91cd\u8981\u306b\u306a\u308b\u3002systemd-journald \u306f\u30ed\u30b0\u53ce\u96c6\u3068\u4fdd\u5b58\u306e\u57fa\u76e4\u3067\u3042\u308a<a class=\"ref\" href=\"#ref1\">[1]<\/a><a class=\"ref\" href=\"#ref13\">[13]<\/a>\u3001journalctl \u3067\u5f8c\u8ffd\u3044\u5206\u6790\u3082\u3067\u304d\u308b<a class=\"ref\" href=\"#ref14\">[14]<\/a>\u3002\u305d\u308c\u3067\u3082\u3001\u65e5\u3005\u306e\u904b\u7528\u3067\u4e3b\u306b\u53c2\u7167\u3059\u308b\u306e\u304c \/var\/log\/syslog \u306a\u3089\u3001syslog \u81ea\u4f53\u306e\u4fdd\u5b58\u8a2d\u8a08\u3092\u8a70\u3081\u308b\u5fc5\u8981\u306f\u6b8b\u308b\u3002<\/p>\n<p>\u3055\u3089\u306b\u3001rsyslog \u3092 journald \u306b\u623b\u3059\u69cb\u6210\u3084\u3001\u9006\u306b journal \u3060\u3051\u3067\u904b\u7528\u3059\u308b\u69cb\u6210\u3082\u7406\u8ad6\u4e0a\u306f\u3042\u308a\u3046\u308b\u3002\u3060\u304c Debian \u3067\u306f rsyslog \u306f\u4eca\u3082\u6a19\u6e96\u7684\u306a\u30c6\u30ad\u30b9\u30c8\u30ed\u30b0\u57fa\u76e4\u3068\u3057\u3066\u4f7f\u308f\u308c\u3066\u304a\u308a<a class=\"ref\" href=\"#ref3\">[3]<\/a><a class=\"ref\" href=\"#ref18\">[18]<\/a>\u3001\u4eca\u56de\u306e\u524d\u63d0\u3067\u3082 syslog \u306f\u5ec3\u6b62\u3057\u306a\u3044\u3002\u3057\u305f\u304c\u3063\u3066\u8b70\u8ad6\u306e\u8ef8\u306f\u3001\u300csyslog \u3092\u3084\u3081\u308b\u304b\u3069\u3046\u304b\u300d\u3067\u306f\u306a\u304f\u3001\u300c\u6b8b\u3057\u305f\u307e\u307e\u3069\u3053\u307e\u3067\u5b88\u308b\u304b\u300d\u306b\u7f6e\u304f\u306e\u304c\u81ea\u7136\u3060\u3063\u305f\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u8aa4\u89e3<\/th>\n<th>\u306a\u305c\u8d77\u304d\u3084\u3059\u3044\u304b<\/th>\n<th>\u4fee\u6b63\u5f8c\u306e\u7406\u89e3<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u5f8c\u304b\u3089\u3044\u3058\u3063\u305f\u8a2d\u5b9a\u304c\u771f\u56e0\u3060\u3068\u601d\u3046\u3002<\/td>\n<td>\u5fa9\u65e7\u4f5c\u696d\u306e\u76f4\u5f8c\u306b\u75c7\u72b6\u304c\u5909\u308f\u308b\u305f\u3081\u3002<\/td>\n<td>\u5143\u306e\u80a5\u5927\u5316\u3068\u5f8c\u6bb5\u306e GUI \u4e0d\u8abf\u306f\u6642\u7cfb\u5217\u3067\u5206\u3051\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u539f\u56e0\u3092\u5b8c\u5168\u7279\u5b9a\u3057\u306a\u3044\u3068\u8a2d\u8a08\u3067\u304d\u306a\u3044\u3002<\/td>\n<td>\u969c\u5bb3\u89e3\u6790\u3068\u904b\u7528\u8a2d\u8a08\u3092\u540c\u4e00\u8996\u3057\u3084\u3059\u3044\u305f\u3081\u3002<\/td>\n<td>\u8a2d\u8a08\u306f\u300c\u518d\u767a\u6642\u306b\u4f55\u3092\u5b88\u308b\u304b\u300d\u306e\u512a\u5148\u9806\u4f4d\u3067\u6c7a\u3081\u3089\u308c\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>syslog \u3092\u3084\u3081\u308c\u3070\u3088\u3044\u3002<\/td>\n<td>journald \u304c\u3042\u308b\u305f\u3081\u4ee3\u66ff\u53ef\u80fd\u306b\u898b\u3048\u308b\u305f\u3081\u3002<\/td>\n<td>\u4eca\u56de\u306e\u524d\u63d0\u3067\u306f syslog \u3092\u6b8b\u3059\u3002\u554f\u984c\u306f\u5b58\u5728\u3067\u306f\u306a\u304f\u904b\u7528\u306e\u6761\u4ef6\u3067\u3042\u308b\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h2>4. \u554f\u984c\u306e\u672c\u8cea\u306f\u4f55\u3060\u3063\u305f\u306e\u304b<\/h2>\n<p>\u3053\u3053\u3067\u3088\u3046\u3084\u304f\u554f\u984c\u3092\u62bd\u8c61\u5316\u3067\u304d\u308b\u3002\u4eca\u56de\u306e\u672c\u8cea\u306f\u3001\u300c\u539f\u56e0\u304c GPU \u304b rsyslog \u304b\u300d\u3067\u306f\u306a\u3044\u3002\u554f\u984c\u306f\u3001\u30ed\u30b0\u91cf\u3092\u6642\u9593\u3060\u3051\u3067\u7ba1\u7406\u3057\u3066\u3044\u305f\u3053\u3068\u306b\u3042\u308b\u3002\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306e\u7dcf\u91cf\u306f\u3001\u5358\u7d14\u5316\u3059\u308c\u3070\u300c\u51fa\u529b\u983b\u5ea6 \u00d7 \u7d99\u7d9a\u6642\u9593\u300d\u3067\u6c7a\u307e\u308b\u3002\u65e5\u6b21\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u3060\u3051\u3092\u524d\u63d0\u306b\u3059\u308b\u3068\u3001\u901a\u5e38\u6642\u306e\u3086\u308b\u3084\u304b\u306a\u5897\u52a0\u306b\u306f\u5f37\u3044\u304c\u3001\u77ed\u6642\u9593\u3067\u7570\u5e38\u306b\u9ad8\u983b\u5ea6\u306a\u51fa\u529b\u304c\u8d77\u304d\u305f\u5834\u5408\u306b\u306f\u8106\u3044\u3002logrotate \u306e man page \u304c\u793a\u3059\u3088\u3046\u306b\u3001logrotate \u306f\u6642\u9593\u6761\u4ef6\u3067\u3082\u30b5\u30a4\u30ba\u6761\u4ef6\u3067\u3082\u56de\u305b\u308b\u304c<a class=\"ref\" href=\"#ref4\">[4]<\/a><a class=\"ref\" href=\"#ref7\">[7]<\/a>\u3001\u6642\u9593\u3060\u3051\u306b\u4f9d\u5b58\u3057\u3066\u3044\u308b\u9650\u308a\u3001\u77ed\u671f\u30b9\u30d1\u30a4\u30af\u306f\u305d\u306e\u65e5\u4e00\u676f\u307e\u3067\u5358\u4e00\u30d5\u30a1\u30a4\u30eb\u306b\u84c4\u7a4d\u3055\u308c\u308b\u3002<\/p>\n<p>Debian \u306e Policy \u3082\u3001\u30ed\u30b0\u306f\u7121\u9650\u306b\u6210\u9577\u3055\u305b\u3066\u306f\u306a\u3089\u305a\u3001\u9069\u5207\u306b\u30ed\u30fc\u30c6\u30fc\u30c8\u3059\u3079\u304d\u3060\u3068\u660e\u8a00\u3057\u3066\u3044\u308b<a class=\"ref\" href=\"#ref5\">[5]<\/a>\u3002Debian Handbook \u3082\u3001\/etc\/logrotate.d \u306b\u7f6e\u304f\u65b9\u91dd\u3092\u7ba1\u7406\u8005\u304c\u8abf\u6574\u3067\u304d\u308b\u3068\u8ff0\u3079\u3066\u3044\u308b<a class=\"ref\" href=\"#ref6\">[6]<\/a>\u3002\u3064\u307e\u308a\u3001\u4eca\u56de\u306e 10 GB \u8d85\u554f\u984c\u306f\u300c\u60f3\u5b9a\u5916\u306e\u4f8b\u5916\u300d\u3068\u3044\u3046\u3088\u308a\u3001\u300c\u671f\u9593\u30d9\u30fc\u30b9\u8a2d\u8a08\u3060\u3051\u3067\u306f\u983b\u5ea6\u7570\u5e38\u306b\u5f31\u3044\u300d\u3068\u3044\u3046\u3001logrotate \u306e\u524d\u63d0\u3069\u304a\u308a\u306e\u9650\u754c\u304c\u8868\u9762\u5316\u3057\u305f\u4f8b\u3060\u3068\u7406\u89e3\u3057\u305f\u307b\u3046\u304c\u6b63\u78ba\u3067\u3042\u308b\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u8996\u70b9<\/th>\n<th>\u671f\u9593\u30d9\u30fc\u30b9\u3060\u3051\u306e\u8a2d\u8a08<\/th>\n<th>\u4eca\u56de\u9732\u51fa\u3057\u305f\u5f31\u70b9<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u901a\u5e38\u6642<\/td>\n<td>1 \u65e5 1 \u56de\u306e\u5faa\u74b0\u3067\u5341\u5206\u6a5f\u80fd\u3059\u308b\u3002<\/td>\n<td>\u554f\u984c\u306f\u898b\u3048\u306b\u304f\u3044\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u77ed\u671f\u30b9\u30d1\u30a4\u30af\u6642<\/td>\n<td>\u6b21\u306e\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u307e\u3067\u73fe\u884c\u30d5\u30a1\u30a4\u30eb\u306b\u6e9c\u307e\u308a\u7d9a\u3051\u308b\u3002<\/td>\n<td>\u5358\u4e00\u30d5\u30a1\u30a4\u30eb\u304c\u5de8\u5927\u5316\u3059\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u8a2d\u8a08\u4e0a\u306e\u672c\u8cea<\/td>\n<td>\u6642\u9593\u306f\u898b\u3066\u3044\u308b\u304c\u983b\u5ea6\u3092\u898b\u3066\u3044\u306a\u3044\u3002<\/td>\n<td>\u300c\u6025\u306b\u5897\u3048\u308b\u300d\u4e8b\u8c61\u3078\u306e\u8010\u6027\u304c\u5f31\u3044\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h2>5. \u3067\u306f\u4f55\u3092\u5b88\u308b\u3079\u304d\u304b<\/h2>\n<p>\u3053\u306e\u6bb5\u968e\u3067\u8b70\u8ad6\u306f\u6280\u8853\u304b\u3089\u4fa1\u5024\u5224\u65ad\u306b\u79fb\u308b\u3002\u4eca\u56de\u306e\u691c\u8a0e\u3067\u6700\u3082\u91cd\u8981\u3060\u3063\u305f\u306e\u306f\u3001\u300c\u7570\u5e38\u6642\u306e\u30ed\u30b0\u3092\u5168\u90e8\u6b8b\u3059\u5fc5\u8981\u304c\u3042\u308b\u306e\u304b\u300d\u3068\u3044\u3046\u554f\u3044\u3060\u3063\u305f\u3002\u7d50\u8ad6\u306f\u3001\u5168\u90e8\u6b8b\u3059\u5fc5\u8981\u306f\u306a\u3044\u3001\u3067\u3042\u308b\u3002\u306a\u305c\u306a\u3089\u3001\u30ed\u30b0\u30b9\u30d1\u30e0\u306e\u591a\u304f\u306f\u300c\u65b0\u3057\u3044\u60c5\u5831\u304c\u5897\u3048\u7d9a\u3051\u3066\u3044\u308b\u300d\u306e\u3067\u306f\u306a\u304f\u3001\u300c\u540c\u3058\u7a2e\u985e\u306e\u60c5\u5831\u304c\u9ad8\u983b\u5ea6\u3067\u7e70\u308a\u8fd4\u3055\u308c\u3066\u3044\u308b\u300d\u3060\u3051\u3060\u304b\u3089\u3060\u3002rsyslog \u306b repeated message reduction \u304c\u3042\u308b\u3053\u3068\u81ea\u4f53\u3001\u53e4\u304f\u304b\u3089\u3053\u306e\u554f\u984c\u304c\u5b58\u5728\u3057\u3066\u3044\u305f\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u308b<a class=\"ref\" href=\"#ref12\">[12]<\/a>\u3002\u305f\u3060\u3057\u3001\u305d\u306e\u6a5f\u80fd\u3092\u5e38\u6642\u6709\u52b9\u5316\u3059\u308b\u3068\u3001\u5f8c\u304b\u3089\u306e\u89e3\u6790\u3067\u4e0d\u90fd\u5408\u3082\u3042\u308b\u3002\u3060\u304b\u3089\u3053\u305d\u3001\u7406\u5ff5\u3068\u3057\u3066\u306f\u300c\u3059\u3079\u3066\u306e\u91cd\u8907\u3092\u5727\u7e2e\u3059\u308b\u300d\u306e\u3067\u306f\u306a\u304f\u3001\u300c\u5b88\u308b\u3079\u304d\u3082\u306e\u306e\u512a\u5148\u9806\u4f4d\u3092\u6c7a\u3081\u308b\u300d\u3053\u3068\u304c\u5148\u306b\u306a\u308b\u3002<\/p>\n<p>\u4eca\u56de\u306e\u512a\u5148\u9806\u4f4d\u306f\u660e\u78ba\u3060\u3063\u305f\u3002\u7b2c\u4e00\u306b\u5b88\u308b\u3079\u304d\u306a\u306e\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u5b89\u5b9a\u6027\u3001\u7b2c\u4e8c\u306b\u5b88\u308b\u3079\u304d\u306a\u306e\u306f\u901a\u5e38\u6642\u306e 90 \u65e5\u5c65\u6b74\u3001\u7b2c\u4e09\u306b\u7570\u5e38\u6642\u30b9\u30d1\u30e0\u306e\u5b8c\u5168\u4fdd\u5b58\u3001\u3068\u3044\u3046\u9806\u3067\u3042\u308b\u3002\u3053\u306e\u9806\u5e8f\u306b\u7acb\u3064\u3068\u3001\u300c\u5358\u767a\u306e\u30b9\u30d1\u30e0\u65e5\u306e\u3059\u3079\u3066\u3092\u7121\u5236\u9650\u306b\u6b8b\u3059\u300d\u3088\u308a\u3082\u3001\u300c\u305d\u306e\u305b\u3044\u3067\u904e\u53bb 90 \u65e5\u306e\u901a\u5e38\u5c65\u6b74\u3084 system \u5168\u4f53\u306e\u5b89\u5b9a\u6027\u304c\u58ca\u308c\u306a\u3044\u300d\u3053\u3068\u306e\u307b\u3046\u304c\u91cd\u8981\u306b\u306a\u308b\u3002\u3053\u3053\u3092\u8a00\u8a9e\u5316\u3067\u304d\u305f\u3053\u3068\u3067\u3001\u8a2d\u8a08\u306e\u5272\u308a\u5207\u308a\u304c\u53ef\u80fd\u306b\u306a\u3063\u305f\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u512a\u5148\u9806\u4f4d<\/th>\n<th>\u5b88\u308b\u5bfe\u8c61<\/th>\n<th>\u7406\u7531<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>\u30b7\u30b9\u30c6\u30e0\u306e\u5b89\u5b9a\u6027<\/td>\n<td>\u30ed\u30b0\u306e\u305f\u3081\u306b OS \u304c\u4e0d\u5b89\u5b9a\u306b\u306a\u308b\u306e\u306f\u672c\u672b\u8ee2\u5012\u3060\u304b\u3089\u3067\u3042\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>\u901a\u5e38\u6642\u306e 90 \u65e5\u5c65\u6b74<\/td>\n<td>\u65e5\u3005\u306e\u6bd4\u8f03\u3084\u969c\u5bb3\u524d\u5f8c\u306e\u5dee\u5206\u78ba\u8a8d\u306b\u4fa1\u5024\u304c\u3042\u308b\u304b\u3089\u3067\u3042\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>\u7570\u5e38\u6642\u30b9\u30d1\u30e0\u306e\u5b8c\u5168\u4fdd\u5b58<\/td>\n<td>\u91cd\u8907\u306e\u591a\u3044\u5927\u91cf\u30ed\u30b0\u306f\u5bb9\u91cf\u3092\u98df\u3046\u5272\u306b\u60c5\u5831\u4fa1\u5024\u304c\u4f4e\u3044\u304b\u3089\u3067\u3042\u308b\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h2>6. syslog \u306b\u4f59\u8a08\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u66f8\u304b\u305b\u306a\u3044\u3068\u3044\u3046\u51e6\u7f6e<\/h2>\n<p>\u4eca\u56de\u3001\u4fdd\u5b58\u5074\u306e\u8a2d\u8a08\u3060\u3051\u3092\u898b\u76f4\u3057\u305f\u308f\u3051\u3067\u306f\u306a\u3044\u3002\/etc\/rsyslog.d \u306e\u4e0b\u306b\u8ffd\u52a0\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u304d\u3001\u660e\u3089\u304b\u306b\u4e0d\u8981\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u3092 syslog \u306b\u66f8\u304b\u305b\u306a\u3044\u51e6\u7f6e\u3082\u5165\u308c\u305f\u3002\u3053\u308c\u306f\u300c\u539f\u56e0\u305d\u306e\u3082\u306e\u3092\u76f4\u3057\u305f\u300d\u3068\u3044\u3046\u3088\u308a\u3001\u300c\u5c11\u306a\u304f\u3068\u3082 syslog \u3068\u3044\u3046\u5171\u901a\u30ed\u30b0\u306b\u3001\u4fa1\u5024\u306e\u4f4e\u3044\u53cd\u5fa9\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u6d41\u3057\u8fbc\u307f\u7d9a\u3051\u306a\u3044\u300d\u3068\u3044\u3046\u65b9\u91dd\u306b\u57fa\u3065\u304f\u3002rsyslog \u306f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092 \/etc\/rsyslog.d \u914d\u4e0b\u306b\u5206\u5272\u914d\u7f6e\u3067\u304d\u3001\u6761\u4ef6\u5206\u5c90\u3084 stop \u30eb\u30fc\u30eb\u306b\u3088\u308b\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3082\u53ef\u80fd\u3067\u3042\u308b<a class=\"ref\" href=\"#ref19\">[19]<\/a><a class=\"ref\" href=\"#ref20\">[20]<\/a><a class=\"ref\" href=\"#ref21\">[21]<\/a>\u3002<\/p>\n<p>\u3053\u3053\u3067\u91cd\u8981\u306a\u306e\u306f\u3001\u3053\u308c\u306f\u300c\u30ed\u30b0\u3092\u96a0\u3059\u300d\u306e\u3067\u306f\u306a\u304f\u3001\u300csyslog \u306b\u4fdd\u5b58\u3059\u308b\u4fa1\u5024\u306e\u3042\u308b\u30ed\u30b0\u3060\u3051\u3092\u901a\u3059\u300d\u3068\u3044\u3046\u9078\u5225\u3060\u3068\u3044\u3046\u70b9\u3067\u3042\u308b\u3002\u3059\u3079\u3066\u306e\u30ed\u30b0\u304c\u540c\u3058\u4fa1\u5024\u3092\u6301\u3064\u308f\u3051\u3067\u306f\u306a\u3044\u3002\u7279\u306b\u3001\u540c\u4e00\u7a2e\u306e\u30ce\u30a4\u30ba\u304c\u5927\u91cf\u306b\u53cd\u5fa9\u3055\u308c\u308b\u5834\u5408\u3001\u305d\u308c\u3092\u5168\u90e8 syslog \u306b\u8a18\u9332\u3059\u308b\u3053\u3068\u306f\u3001\u8a3a\u65ad\u80fd\u529b\u3092\u9ad8\u3081\u308b\u3069\u3053\u308d\u304b\u3001\u901a\u5e38\u6642\u306e\u5c65\u6b74\u3084\u30c7\u30a3\u30b9\u30af\u4f59\u88d5\u3092\u98df\u3044\u3064\u3076\u3057\u3066 system \u5168\u4f53\u3092\u4e0d\u5b89\u5b9a\u306b\u3059\u308b\u3002\u5171\u6709\u30ed\u30b0\u306f\u5168\u91cf\u4fdd\u5b58\u306e\u5834\u3067\u306f\u306a\u304f\u3001\u904b\u7528\u4e0a\u610f\u5473\u306e\u3042\u308b\u60c5\u5831\u3092\u6b8b\u3059\u5c64\u3067\u3042\u308b\u3001\u3068\u3044\u3046\u7406\u89e3\u306b\u7acb\u305f\u306a\u3051\u308c\u3070\u3053\u306e\u5224\u65ad\u306f\u3067\u304d\u306a\u3044\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u4eca\u56de\u306e\u601d\u60f3\u306f\u300c\u30ed\u30b0\u306f\u5168\u90e8\u6b8b\u3059\u3082\u306e\u300d\u3067\u306f\u306a\u304f\u3001\u300c\u5171\u6709\u30ed\u30b0\u306b\u6d41\u3059\u6bb5\u968e\u3067\u9078\u5225\u3059\u3079\u304d\u3082\u306e\u300d\u3068\u3044\u3046\u65b9\u5411\u3078\u5bc4\u3063\u3066\u3044\u308b\u3002<\/p>\n<p>\u4eca\u56de\u5b9f\u969b\u306b\u6291\u6b62\u3057\u305f\u306e\u306f\u3001GPU \u30c9\u30e9\u30a4\u30d0\u30fc\u304c\u51fa\u529b\u3059\u308b\u4f4e\u30ec\u30d9\u30eb\u306a\u5185\u90e8\u51e6\u7406\u30ed\u30b0\u3067\u3042\u308b\u3002\u3053\u308c\u3089\u306f GPU \u306e\u81ea\u5df1\u8a3a\u65ad\u3084\u30b3\u30de\u30f3\u30c9\u6295\u5165\u306b\u95a2\u3059\u308b\u9010\u6b21\u30a4\u30d9\u30f3\u30c8\u3067\u3042\u308a\u3001\u30ab\u30fc\u30cd\u30eb\u958b\u767a\u3084\u30c9\u30e9\u30a4\u30d0\u30fc\u89e3\u6790\u306e\u5c40\u9762\u3067\u306f\u610f\u5473\u3092\u6301\u3064\u3002\u3057\u304b\u3057\u901a\u5e38\u904b\u7528\u3067\u306f\u3001\u9ad8\u983b\u5ea6\u306b\u53cd\u5fa9\u3055\u308c\u308b\u4e00\u65b9\u3067\u3001\u5171\u6709\u30ed\u30b0\u3068\u3057\u3066\u306e\u4fa1\u5024\u306f\u4f4e\u3044\u3002\u4eca\u56de\u7121\u8996\u3057\u305f\u5bfe\u8c61\u3092\u6574\u7406\u3059\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30d5\u30a3\u30eb\u30bf\u6761\u4ef6<\/th>\n<th>\u7121\u8996\u3057\u3066\u3044\u308b\u3082\u306e<\/th>\n<th>\u5b9f\u969b\u306e\u610f\u5473<\/th>\n<th>\u904b\u7528\u4e0a\u306e\u5224\u65ad<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>ring test<\/td>\n<td>GPU \u306e\u30b3\u30de\u30f3\u30c9\u30ea\u30f3\u30b0\u52d5\u4f5c\u78ba\u8a8d\u30ed\u30b0<\/td>\n<td>GPU \u5185\u90e8\u306e\u30b3\u30de\u30f3\u30c9\u30ad\u30e5\u30fc\u304c\u52d5\u304f\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3059\u308b\u81ea\u5df1\u30c6\u30b9\u30c8\u3067\u3042\u308b\u3002<\/td>\n<td>\u9ad8\u983b\u5ea6\u3067\u53cd\u5fa9\u3055\u308c\u3084\u3059\u304f\u3001\u901a\u5e38\u904b\u7528\u306e syslog \u306b\u6b8b\u3059\u4fa1\u5024\u306f\u4f4e\u3044\u3068\u5224\u65ad\u3057\u305f\u3002<\/td>\n<\/tr>\n<tr>\n<td>ib test<\/td>\n<td>Indirect Buffer \u306e\u5b9f\u884c\u7d4c\u8def\u30c6\u30b9\u30c8\u30ed\u30b0<\/td>\n<td>GPU \u306b\u6e21\u3059\u30b3\u30de\u30f3\u30c9\u30d0\u30c3\u30d5\u30a1\u304c\u6b63\u3057\u304f\u6d41\u308c\u308b\u304b\u3092\u78ba\u8a8d\u3059\u308b\u5185\u90e8\u30c6\u30b9\u30c8\u3067\u3042\u308b\u3002<\/td>\n<td>\u5185\u90e8\u5b9f\u884c\u7d4c\u8def\u306e\u78ba\u8a8d\u30ed\u30b0\u3067\u3042\u308a\u3001\u53cd\u5fa9\u6642\u306f\u30ce\u30a4\u30ba\u5316\u3057\u3084\u3059\u3044\u305f\u3081\u9664\u5916\u5bfe\u8c61\u3068\u3057\u305f\u3002<\/td>\n<\/tr>\n<tr>\n<td>schedule ib \/ schedule IB<\/td>\n<td>GPU \u3078\u306e\u51e6\u7406\u6295\u5165\u30a4\u30d9\u30f3\u30c8\u30ed\u30b0<\/td>\n<td>GPU \u306e\u5b9f\u884c\u30ad\u30e5\u30fc\u306b\u30b8\u30e7\u30d6\u3092\u6295\u5165\u3057\u305f\u3053\u3068\u3092\u793a\u3059\u5185\u90e8\u30b9\u30b1\u30b8\u30e5\u30fc\u30ea\u30f3\u30b0\u30ed\u30b0\u3067\u3042\u308b\u3002<\/td>\n<td>\u9010\u6b21\u30a4\u30d9\u30f3\u30c8\u3068\u3057\u3066\u5927\u91cf\u767a\u751f\u3057\u3084\u3059\u304f\u3001\u5171\u6709\u30ed\u30b0\u306e\u53ef\u8aad\u6027\u3092\u8457\u3057\u304f\u4e0b\u3052\u308b\u305f\u3081\u9664\u5916\u5bfe\u8c61\u3068\u3057\u305f\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8981\u3059\u308b\u306b\u3001\u3053\u3053\u3067\u7121\u8996\u3057\u3066\u3044\u308b\u306e\u306f GPU \u969c\u5bb3\u305d\u306e\u3082\u306e\u3067\u306f\u306a\u304f\u3001GPU \u5185\u90e8\u306e\u53cd\u5fa9\u7684\u306a\u51e6\u7406\u30a4\u30d9\u30f3\u30c8\u3067\u3042\u308b\u3002ring test\u3001ib test\u3001schedule ib \u306f\u3044\u305a\u308c\u3082\u300cGPU \u304c\u3044\u307e\u4f55\u3092\u5185\u90e8\u3067\u8a66\u3057\u3001\u4f55\u3092\u6295\u5165\u3057\u305f\u304b\u300d\u3068\u3044\u3046\u9010\u6b21\u30ed\u30b0\u3067\u3042\u308a\u3001\u901a\u5e38\u904b\u7528\u306e syslog \u3067\u9577\u671f\u306b\u8ffd\u8de1\u3057\u305f\u3044\u7a2e\u985e\u306e\u60c5\u5831\u3067\u306f\u306a\u3044\u3002\u9006\u306b\u3001\u521d\u671f\u5316\u5931\u6557\u3001\u30cf\u30f3\u30b0\u3001\u30ea\u30bb\u30c3\u30c8\u3001\u81f4\u547d\u7684\u30a8\u30e9\u30fc\u306e\u3088\u3046\u306a\u3001\u72b6\u614b\u5909\u5316\u3084\u969c\u5bb3\u3092\u793a\u3059\u30b7\u30b0\u30ca\u30eb\u307e\u3067\u4e38\u3054\u3068\u6368\u3066\u308b\u8a2d\u8a08\u306f\u63a1\u3063\u3066\u3044\u306a\u3044\u3002\u3053\u3053\u3067\u5207\u3063\u3066\u3044\u308b\u306e\u306f\u3001\u3042\u304f\u307e\u3067\u9ad8\u983b\u5ea6\u30fb\u4f4e\u60c5\u5831\u91cf\u306e\u30ce\u30a4\u30ba\u3067\u3042\u308b\u3002<\/p>\n<div class=\"code-block\">\n<div class=\"codecolorer-container text geshi\" style=\"overflow:auto;white-space:nowrap;width:1000px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/><\/div><\/td><td><div class=\"text codecolorer\" style=\"white-space:nowrap\">:msg, contains, &quot;ring test&quot; stop<br \/>\n:msg, contains, &quot;ib test&quot; stop<br \/>\n:msg, contains, &quot;schedule ib&quot; stop<br \/>\n:msg, contains, &quot;schedule IB&quot; stop<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<\/div>\n<p>\u3082\u3061\u308d\u3093\u3001\u30d5\u30a3\u30eb\u30bf\u306b\u306f\u526f\u4f5c\u7528\u304c\u3042\u308b\u3002\u6368\u3066\u305f\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u5f8c\u304b\u3089\u8aad\u3081\u306a\u3044\u3002\u3060\u304b\u3089\u3001\u4f55\u3067\u3082\u304b\u3093\u3067\u3082 stop \u3059\u308c\u3070\u3088\u3044\u308f\u3051\u3067\u306f\u306a\u3044\u3002\u4eca\u56de\u306e\u3088\u3046\u306b\u300c\u660e\u3089\u304b\u306b\u4fa1\u5024\u304c\u4f4e\u304f\u3001\u3057\u304b\u3082\u9ad8\u983b\u5ea6\u306b\u53cd\u5fa9\u3055\u308c\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u300d\u306b\u9650\u5b9a\u3057\u3066\u6291\u6b62\u3059\u308b\u304b\u3089\u3053\u305d\u3001\u901a\u5e38\u5c65\u6b74\u306e\u4fa1\u5024\u3092\u5b88\u308b\u8a2d\u8a08\u306b\u306a\u308b\u3002rsyslog \u306b\u306f rate limit \u3084 repeated message reduction \u306e\u7cfb\u7d71\u3082\u3042\u308b\u304c<a class=\"ref\" href=\"#ref9\">[9]<\/a><a class=\"ref\" href=\"#ref10\">[10]<\/a><a class=\"ref\" href=\"#ref11\">[11]<\/a><a class=\"ref\" href=\"#ref12\">[12]<\/a>\u3001\u4eca\u56de\u306f\u305d\u308c\u3089\u3092\u5168\u9762\u7684\u306a\u4e2d\u5fc3\u6a5f\u80fd\u306b\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u660e\u793a\u7684\u306a\u30d5\u30a3\u30eb\u30bf\u3068\u4fdd\u5b58\u5074\u306e\u5236\u5fa1\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u8003\u3048\u65b9\u3092\u63a1\u3063\u305f\u3002<\/p>\n<p>\u8a00\u3044\u63db\u3048\u308b\u3068\u3001\u4eca\u56de\u306e\u5bfe\u7b56\u306f\u300c\u5165\u529b\u5236\u5fa1\u300d\u3068\u300c\u51fa\u529b\u5236\u5fa1\u300d\u306e\u4e8c\u6bb5\u69cb\u3048\u306b\u306a\u3063\u3066\u3044\u308b\u3002\u5165\u529b\u5236\u5fa1\u3068\u306f\u3001rsyslog \u306e\u30d5\u30a3\u30eb\u30bf\u3067\u305d\u3082\u305d\u3082 syslog \u306b\u66f8\u304b\u305b\u306a\u3044\u3053\u3068\u3067\u3042\u308a\u3001\u51fa\u529b\u5236\u5fa1\u3068\u306f\u3001logrotate \u306e maxsize \u3067\u4e07\u4e00\u6d41\u5165\u3057\u305f\u5834\u5408\u306b\u3082\u5358\u4e00\u30d5\u30a1\u30a4\u30eb\u306e\u80a5\u5927\u5316\u3092\u9632\u3050\u3053\u3068\u3067\u3042\u308b\u3002syslog \u306f\u3001\u4f55\u3067\u3082\u304b\u3093\u3067\u3082\u6368\u3066\u305a\u306b\u6e9c\u3081\u8fbc\u3080\u5009\u5eab\u3067\u306f\u306a\u3044\u3002\u9078\u5225\u3055\u308c\u305f\u60c5\u5831\u3060\u3051\u3092\u84c4\u7a4d\u3059\u308b\u5c64\u3068\u3057\u3066\u6271\u3046\u3079\u304d\u3067\u3042\u308a\u3001\u305d\u306e\u610f\u5473\u3067\u4eca\u56de\u306e \/etc\/rsyslog.d \u306e\u8a2d\u5b9a\u306f\u5358\u306a\u308b\u5c0f\u6280\u3067\u306f\u306a\u304f\u3001\u30ed\u30b0\u89b3\u305d\u306e\u3082\u306e\u306e\u4fee\u6b63\u3060\u3063\u305f\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u5bfe\u7b56\u30ec\u30a4\u30e4<\/th>\n<th>\u4eca\u56de\u306e\u51e6\u7f6e<\/th>\n<th>\u610f\u5473<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u5165\u529b\u5236\u5fa1<\/td>\n<td>\/etc\/rsyslog.d \u306e\u30d5\u30a3\u30eb\u30bf\u8a2d\u5b9a<\/td>\n<td>\u4fa1\u5024\u306e\u4f4e\u3044\u30ce\u30a4\u30ba\u3092 syslog \u306b\u6d41\u3057\u8fbc\u307e\u306a\u3044\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u51fa\u529b\u5236\u5fa1<\/td>\n<td>logrotate \u306e maxsize<\/td>\n<td>\u4e07\u4e00\u6d41\u5165\u3057\u3066\u3082\u5358\u4e00\u30d5\u30a1\u30a4\u30eb\u80a5\u5927\u5316\u3092\u9632\u3050\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u80cc\u666f\u601d\u60f3<\/td>\n<td>\u66f8\u304b\u306a\u3044\u8a2d\u8a08\u3068\u6e9c\u3081\u306a\u3044\u8a2d\u8a08\u306e\u4e21\u7acb<\/td>\n<td>\u5165\u53e3\u3068\u51fa\u53e3\u306e\u4e21\u65b9\u3067 system \u3092\u5b88\u308b\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h2>7. \u8a2d\u8a08\u8981\u6c42\u3069\u3046\u3057\u304c\u885d\u7a81\u3057\u305f\u70b9<\/h2>\n<p>\u3053\u3053\u3067\u4e00\u3064\u306e\u96e3\u3057\u3055\u304c\u3042\u308b\u3002\u4eca\u56de\u306e\u904b\u7528\u306b\u306f\u3001\u3059\u3067\u306b\u300csyslog.1 \u3092\u524d\u63d0\u306b\u3057\u305f\u756a\u53f7\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u300d\u3068\u300c90 \u65e5\u4fdd\u6301\u300d\u3068\u3044\u3046\u65e2\u5b58\u8a2d\u8a08\u304c\u3042\u3063\u305f\u3002\u3057\u304b\u3082\u305d\u306e\u65b9\u91dd\u306f\u3001\u81ea\u5206\u306e <a href=\"https:\/\/github.com\/id774\/scripts\">scripts<\/a> \u7fa4\u306e\u4e2d\u3067\u3082 <a href=\"https:\/\/github.com\/id774\/scripts\/blob\/master\/installer\/setup_rsyslog_logrotate.sh\">setup_rsyslog_logrotate.sh<\/a> \u306b\u53cd\u6620\u3055\u308c\u3066\u3044\u308b<a class=\"ref\" href=\"#ref17\">[17]<\/a>\u3002\u3053\u306e\u65e2\u5b58\u8a2d\u8a08\u3092\u58ca\u3055\u305a\u306b\u3001\u77ed\u671f\u30b9\u30d1\u30a4\u30af\u3060\u3051\u3092\u9632\u304e\u305f\u3044\u3002\u3053\u3053\u304c\u4eca\u56de\u306e\u8a2d\u8a08\u4e0a\u306e\u885d\u7a81\u70b9\u3060\u3063\u305f\u3002<\/p>\n<p>\u3082\u3057 dateext \u306e\u3088\u3046\u306a\u5225\u547d\u540d\u3078\u5168\u9762\u79fb\u884c\u3059\u308c\u3070\u3001\u65e5\u4ed8\u5358\u4f4d\u306e\u7ba1\u7406\u306f\u3057\u3084\u3059\u304f\u306a\u308b\u3002\u3057\u304b\u3057 syslog.1 \u3092\u524d\u63d0\u3068\u3057\u305f\u65e2\u5b58\u904b\u7528\u306f\u58ca\u308c\u308b\u3002\u9006\u306b rotate 90 \u306e\u307e\u307e\u3067 size \u3084 maxsize \u3092\u5165\u308c\u308b\u3068\u3001\u901a\u5e38\u6642\u306f\u4eca\u307e\u3067\u901a\u308a\u3067\u3082\u3001\u7570\u5e38\u65e5\u306b\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u56de\u6570\u304c\u5897\u3048\u3066\u4e16\u4ee3\u6d88\u8cbb\u304c\u65e9\u304f\u306a\u308a\u3001\u904e\u53bb\u30ed\u30b0\u304c\u62bc\u3057\u51fa\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3002\u3053\u306e\u30c8\u30ec\u30fc\u30c9\u30aa\u30d5\u3092\u898b\u305f\u3068\u304d\u306b\u3001\u300c\u7406\u60f3\u7684\u306b\u5168\u90e8\u3092\u540c\u6642\u306b\u5b88\u308b\u300d\u306e\u3067\u306f\u306a\u304f\u3001\u300c\u3069\u308c\u3092\u512a\u5148\u3057\u3066\u3069\u308c\u3092\u53d7\u3051\u5165\u308c\u308b\u304b\u300d\u3092\u5148\u306b\u6c7a\u3081\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u5206\u304b\u3063\u305f\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u8981\u6c42<\/th>\n<th>\u5b88\u308c\u308b\u3082\u306e<\/th>\n<th>\u5d29\u308c\u3084\u3059\u3044\u3082\u306e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>syslog.1 \u524d\u63d0\u3092\u7dad\u6301\u3057\u305f\u3044\u3002<\/td>\n<td>\u65e2\u5b58\u904b\u7528\u306e\u4e92\u63db\u6027<\/td>\n<td>\u7570\u5e38\u6642\u306e\u67d4\u8edf\u306a\u547d\u540d\u7ba1\u7406<\/td>\n<\/tr>\n<tr>\n<td>90 \u65e5\u4fdd\u6301\u3092\u7dad\u6301\u3057\u305f\u3044\u3002<\/td>\n<td>\u901a\u5e38\u6642\u306e\u6bd4\u8f03\u53ef\u80fd\u6027<\/td>\n<td>\u30b9\u30d1\u30a4\u30af\u6642\u306e\u5b8c\u5168\u4fdd\u6301<\/td>\n<\/tr>\n<tr>\n<td>\u5358\u4e00\u30d5\u30a1\u30a4\u30eb\u80a5\u5927\u5316\u3092\u9632\u304e\u305f\u3044\u3002<\/td>\n<td>\u30c7\u30a3\u30b9\u30af\u5b89\u5168\u6027<\/td>\n<td>\u7570\u5e38\u65e5\u306e\u5168\u91cf\u4fdd\u5b58<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h2>8. \u6700\u7d42\u7684\u306b\u3069\u3046\u8003\u3048\u305f\u304b<\/h2>\n<p>\u3053\u3053\u307e\u3067\u6574\u7406\u3059\u308b\u3068\u3001\u7b54\u3048\u306f\u304b\u306a\u308a\u5358\u7d14\u306b\u306a\u308b\u3002\u4eca\u56de\u306f\u3001\u7570\u5e38\u6642\u30ed\u30b0\u306e\u5b8c\u5168\u4fdd\u5b58\u3092\u6700\u512a\u5148\u3057\u306a\u3044\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u901a\u5e38\u904b\u7528\u306e\u4e92\u63db\u6027\u3092\u58ca\u3055\u305a\u306b\u3001\u5358\u4e00\u30d5\u30a1\u30a4\u30eb\u80a5\u5927\u5316\u3060\u3051\u3092\u9632\u3050\u65b9\u5411\u3078\u5bc4\u305b\u308b\u306e\u304c\u81ea\u7136\u3060\u3063\u305f\u3002logrotate \u306f\u3001\u6642\u9593\u6761\u4ef6\u306b\u52a0\u3048\u3066\u300c\u30d5\u30a1\u30a4\u30eb\u304c\u4e00\u5b9a\u30b5\u30a4\u30ba\u3092\u8d85\u3048\u305f\u3089\u3001\u305d\u306e\u6642\u70b9\u3067\u3082\u56de\u3059\u300d\u3068\u3044\u3046 maxsize \u3092\u6301\u3063\u3066\u3044\u308b<a class=\"ref\" href=\"#ref4\">[4]<\/a>\u3002\u3053\u308c\u3092\u4f7f\u3048\u3070\u3001\u901a\u5e38\u6642\u306b\u306f\u3053\u308c\u307e\u3067\u901a\u308a\u306e daily + rotate 90 \u306e\u6319\u52d5\u3092\u4fdd\u3061\u3064\u3064\u3001\u7570\u5e38\u6642\u3060\u3051\u8ffd\u52a0\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u304c\u767a\u52d5\u3059\u308b\u3002<\/p>\n<p>\u3082\u3061\u308d\u3093\u3001\u3053\u306e\u65b9\u5f0f\u306b\u306f\u660e\u78ba\u306a\u4ee3\u511f\u304c\u3042\u308b\u3002\u30ed\u30b0\u30b9\u30d1\u30e0\u304c\u6fc0\u3057\u3044\u65e5\u306b\u4f55\u5ea6\u3082\u56de\u308c\u3070\u3001\u305d\u306e\u3076\u3093\u4e16\u4ee3\u6d88\u8cbb\u304c\u9032\u307f\u3001\u53e4\u3044\u30ed\u30b0\u304c\u62bc\u3057\u51fa\u3055\u308c\u308b\u53ef\u80fd\u6027\u306f\u6b8b\u308b\u3002\u3057\u304b\u3057\u3053\u308c\u306f\u3001\u4eca\u56de\u306e\u4fa1\u5024\u5224\u65ad\u3068\u6574\u5408\u3057\u3066\u3044\u308b\u3002\u3059\u306a\u308f\u3061\u3001\u300c\u7570\u5e38\u6642\u30b9\u30d1\u30e0\u3092\u5168\u90e8\u6b8b\u3059\u3053\u3068\u300d\u3088\u308a\u300c10 GB \u8d85\u306e\u5358\u4e00\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3089\u306a\u3044\u3053\u3068\u300d\u3068\u300c\u901a\u5e38\u904b\u7528\u306e\u4e92\u63db\u6027\u3092\u5d29\u3055\u306a\u3044\u3053\u3068\u300d\u3092\u512a\u5148\u3059\u308b\u3001\u3068\u3044\u3046\u5224\u65ad\u3067\u3042\u308b\u3002\u5b8c\u5168\u89e3\u3067\u306f\u306a\u3044\u304c\u3001\u65e2\u5b58\u8a2d\u8a08\u3092\u58ca\u3055\u305a\u306b\u9632\u5fa1\u7dda\u3092\u4e00\u6bb5\u3060\u3051\u5897\u3084\u3059\u3001\u3068\u3044\u3046\u610f\u5473\u3067\u306f\u975e\u5e38\u306b\u5b9f\u52d9\u7684\u3067\u3042\u308b\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u5019\u88dc<\/th>\n<th>\u5229\u70b9<\/th>\n<th>\u6b20\u70b9<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>dateext \u306a\u3069\u3078\u5168\u9762\u79fb\u884c<\/td>\n<td>\u65e5\u4ed8\u7ba1\u7406\u306f\u660e\u78ba\u306b\u306a\u308b\u3002<\/td>\n<td>syslog.1 \u524d\u63d0\u306e\u65e2\u5b58\u904b\u7528\u3092\u58ca\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u8ffd\u52a0\u30b9\u30af\u30ea\u30d7\u30c8\u3067 overflow \u3092\u5206\u96e2<\/td>\n<td>\u901a\u5e38\u5c65\u6b74\u3068\u7570\u5e38\u30ed\u30b0\u3092\u5206\u3051\u3084\u3059\u3044\u3002<\/td>\n<td>\u904b\u7528\u304c\u8907\u96d1\u306b\u306a\u308a\u3001\u4f5c\u308a\u8fbc\u307f\u304c\u5897\u3048\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>maxsize \u3092\u8ffd\u52a0\u3059\u308b<\/td>\n<td>\u901a\u5e38\u6642\u306e\u4e92\u63db\u6027\u3092\u4fdd\u3061\u3064\u3064\u3001\u5de8\u5927\u5358\u4e00\u30d5\u30a1\u30a4\u30eb\u3092\u9632\u304e\u3084\u3059\u3044\u3002<\/td>\n<td>\u7570\u5e38\u6642\u306f\u4e16\u4ee3\u6d88\u8cbb\u304c\u901f\u304f\u306a\u308a\u3001\u904e\u53bb\u30ed\u30b0\u62bc\u3057\u51fa\u3057\u306e\u53ef\u80fd\u6027\u306f\u6b8b\u308b\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h2>9. \u904b\u7528\u8a2d\u8a08\u306b\u843d\u3068\u3057\u305f\u7d50\u679c<\/h2>\n<p>\u6700\u7d42\u7684\u306b\u63a1\u3063\u305f\u306e\u306f\u3001daily \u3068 rotate 90 \u3092\u7dad\u6301\u3057\u305f\u307e\u307e\u3001maxsize \u3092\u8ffd\u52a0\u3059\u308b\u3068\u3044\u3046\u6700\u5c0f\u5909\u66f4\u3060\u3063\u305f\u3002logrotate \u306e man page \u3069\u304a\u308a\u3001maxsize \u306f\u6642\u9593\u6761\u4ef6\u306b\u52a0\u3048\u3066\u30b5\u30a4\u30ba\u6761\u4ef6\u3067\u3082\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u3092\u8d77\u52d5\u3067\u304d\u308b<a class=\"ref\" href=\"#ref4\">[4]<\/a>\u3002\u3053\u306e\u9078\u629e\u306e\u610f\u5473\u306f\u3001\u300c\u4f55\u3082\u8d77\u304d\u306a\u3051\u308c\u3070\u4eca\u307e\u3067\u901a\u308a\u300d\u300c\u7570\u5e38\u6642\u3060\u3051\u8ffd\u52a0\u3067\u56de\u3059\u300d\u3067\u3042\u308b\u3002\u3064\u307e\u308a\u3001\u666e\u6bb5\u306e\u898b\u3048\u65b9\u306f\u5909\u3048\u305a\u3001\u4e8b\u6545\u306e\u3068\u304d\u3060\u3051\u30d6\u30ec\u30fc\u30ad\u3092\u304b\u3051\u308b\u3002\u8a00\u3044\u63db\u3048\u308c\u3070\u3001maxsize \u306f\u6642\u9593\u8ef8\u306e\u8a2d\u8a08\u306b\u8ffd\u52a0\u3055\u308c\u305f\u3001\u5bb9\u91cf\u8ef8\u306e\u30d6\u30ec\u30fc\u30ad\u3067\u3042\u308b\u3002<\/p>\n<p>\u3053\u3053\u3067\u91cd\u8981\u306a\u306e\u306f\u3001\u3053\u306e\u8a2d\u5b9a\u3092\u300c\u5b8c\u5168\u306b\u3059\u3079\u3066\u3092\u5b88\u308b\u4ed5\u7d44\u307f\u300d\u3068\u8aa4\u89e3\u3057\u306a\u3044\u3053\u3068\u3060\u3002\u3053\u308c\u306f\u3042\u304f\u307e\u3067\u3001\u65e2\u5b58\u8a2d\u8a08\u3092\u5d29\u3055\u305a\u306b\u81f4\u547d\u50b7\u3092\u6e1b\u3089\u3059\u305f\u3081\u306e\u5c0f\u3055\u306a\u9632\u5fa1\u3067\u3042\u308b\u3002\u3055\u3089\u306b\u4eca\u56de\u306f\u3001\/etc\/rsyslog.d \u914d\u4e0b\u306e\u30d5\u30a3\u30eb\u30bf\u3067 syslog \u306b\u66f8\u304b\u305b\u306a\u3044\u51e6\u7f6e\u3082\u5165\u308c\u3066\u3044\u308b\u3002\u3064\u307e\u308a\u3001\u4fdd\u5b58\u524d\u306b\u30ce\u30a4\u30ba\u3092\u843d\u3068\u3057\u3001\u4fdd\u5b58\u5f8c\u306b\u5de8\u5927\u5316\u3092\u6291\u3048\u308b\u3068\u3044\u3046\u4e8c\u6bb5\u69cb\u3048\u306b\u306a\u3063\u3066\u3044\u308b\u3002rsyslog \u306b\u306f rate limiting \u3082\u3042\u308a<a class=\"ref\" href=\"#ref9\">[9]<\/a><a class=\"ref\" href=\"#ref10\">[10]<\/a><a class=\"ref\" href=\"#ref11\">[11]<\/a><a class=\"ref\" href=\"#ref16\">[16]<\/a>\u3001imjournal \u3088\u308a imuxsock \u306e\u307b\u3046\u304c\u8efd\u304f\u9ad8\u901f\u3060\u3068\u3044\u3046 upstream \u306e\u8aac\u660e\u3082\u3042\u308b<a class=\"ref\" href=\"#ref15\">[15]<\/a>\u3002\u3057\u304b\u3057\u4eca\u56de\u306e\u7126\u70b9\u306f\u3001\u5165\u529b\u7d4c\u8def\u306e\u4f5c\u308a\u8fbc\u307f\u3092\u5897\u3084\u3059\u3053\u3068\u3067\u306f\u306a\u304f\u3001\u4eca\u306e syslog \u904b\u7528\u306b\u300c\u6700\u5c0f\u9650\u306e\u5b89\u5168\u5f01\u300d\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u306b\u3042\u3063\u305f\u3002\u305d\u306e\u610f\u5473\u3067\u3001rsyslog \u30d5\u30a3\u30eb\u30bf\u3068 maxsize \u306e\u7d44\u307f\u5408\u308f\u305b\u306f\u3001\u8a2d\u8a08\u601d\u60f3\u3068\u5b9f\u88c5\u91cf\u306e\u30d0\u30e9\u30f3\u30b9\u304c\u6700\u3082\u3088\u304b\u3063\u305f\u3002<\/p>\n<p>\u5b9f\u969b\u306e\u8a2d\u5b9a\u306f syslog \u3060\u3051\u3067\u306a\u304f\u3001mail.log\u3001kern.log\u3001auth.log\u3001user.log\u3001cron.log \u3092\u542b\u3080\u4e3b\u8981\u30ed\u30b0\u7fa4\u5168\u4f53\u306b\u5bfe\u3057\u3066\u540c\u3058\u65b9\u91dd\u3092\u9069\u7528\u3057\u3066\u3044\u308b\u3002\u672c\u6587\u3067\u306f syslog \u3092\u4e3b\u8ef8\u306b\u8b70\u8ad6\u3057\u3066\u3044\u308b\u304c\u3001\u5b9f\u904b\u7528\u3067\u306f\u300c\u5358\u4e00\u306e\u4ee3\u8868\u30ed\u30b0\u3060\u3051\u3092\u5b88\u308b\u300d\u306e\u3067\u306f\u306a\u304f\u3001rsyslog \u7ba1\u7406\u4e0b\u306e\u4e3b\u8981\u30ed\u30b0\u7fa4\u306b\u5bfe\u3057\u3066\u540c\u3058\u5bb9\u91cf\u8ef8\u306e\u30d6\u30ec\u30fc\u30ad\u3092\u5165\u308c\u305f\u3001\u3068\u3044\u3046\u7406\u89e3\u304c\u6b63\u78ba\u3067\u3042\u308b\u3002<\/p>\n<div class=\"code-block\">\n<div class=\"codecolorer-container text geshi\" style=\"overflow:auto;white-space:nowrap;width:1000px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/>7<br \/>8<br \/>9<br \/>10<br \/>11<br \/>12<br \/>13<br \/>14<br \/>15<br \/>16<br \/>17<br \/>18<br \/>19<br \/><\/div><\/td><td><div class=\"text codecolorer\" style=\"white-space:nowrap\">\/var\/log\/syslog<br \/>\n\/var\/log\/mail.log<br \/>\n\/var\/log\/kern.log<br \/>\n\/var\/log\/auth.log<br \/>\n\/var\/log\/user.log<br \/>\n\/var\/log\/cron.log<br \/>\n{<br \/>\n&nbsp; &nbsp; rotate 90<br \/>\n&nbsp; &nbsp; daily<br \/>\n&nbsp; &nbsp; missingok<br \/>\n&nbsp; &nbsp; notifempty<br \/>\n&nbsp; &nbsp; compress<br \/>\n&nbsp; &nbsp; delaycompress<br \/>\n&nbsp; &nbsp; sharedscripts<br \/>\n&nbsp; &nbsp; postrotate<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; \/usr\/lib\/rsyslog\/rsyslog-rotate<br \/>\n&nbsp; &nbsp; endscript<br \/>\n&nbsp; &nbsp; maxsize 100M<br \/>\n}<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<\/div>\n<p>\u672c\u7a3f\u3067\u306f syslog \u3092\u4e3b\u8ef8\u306b\u8b70\u8ad6\u3057\u3066\u3044\u308b\u304c\u3001\u5b9f\u904b\u7528\u3067\u306f rsyslog \u7ba1\u7406\u4e0b\u306e\u4e3b\u8981\u30ed\u30b0\u7fa4\u5168\u4f53\u306b\u540c\u3058\u8a2d\u8a08\u3092\u9069\u7528\u3057\u3066\u3044\u308b\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u72b6\u614b<\/th>\n<th>\u6319\u52d5<\/th>\n<th>\u610f\u5473<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u901a\u5e38\u6642<\/td>\n<td>1 \u65e5 1 \u56de\u306e\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u304c\u4e2d\u5fc3<\/td>\n<td>\u898b\u305f\u76ee\u306e\u904b\u7528\u306f\u307b\u307c\u5f93\u6765\u901a\u308a\u306b\u306a\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u7570\u5e38\u6642<\/td>\n<td>100 MB \u3092\u8d85\u3048\u305f\u6642\u70b9\u3067\u8ffd\u52a0\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3<\/td>\n<td>\u5358\u4e00\u30d5\u30a1\u30a4\u30eb\u304c\u6975\u7aef\u306b\u5de8\u5927\u5316\u3059\u308b\u4e8b\u614b\u3092\u907f\u3051\u3084\u3059\u304f\u306a\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u4fdd\u5b58\u524d\u5bfe\u7b56<\/td>\n<td>rsyslog \u30d5\u30a3\u30eb\u30bf\u3067\u4e0d\u8981\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u843d\u3068\u3059<\/td>\n<td>\u4f4e\u4fa1\u5024\u306a\u30ce\u30a4\u30ba\u3092\u5171\u6709\u30ed\u30b0\u3078\u6d41\u3057\u8fbc\u307e\u306a\u3044\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u4ee3\u511f<\/td>\n<td>\u30b9\u30d1\u30e0\u65e5\u306f\u4e16\u4ee3\u6d88\u8cbb\u304c\u901f\u304f\u306a\u308a\u3001\u6368\u3066\u305f\u30ed\u30b0\u306f\u623b\u3089\u306a\u3044<\/td>\n<td>\u7570\u5e38\u6642\u306e\u5168\u91cf\u4fdd\u5b58\u3088\u308a\u3001\u901a\u5e38\u904b\u7528\u306e\u4e92\u63db\u6027\u3068\u5b89\u5168\u6027\u3092\u512a\u5148\u3059\u308b\u8a2d\u8a08\u3067\u3042\u308b\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h2>10. \u4eca\u56de\u306e\u4e8b\u8c61\u304b\u3089\u5f97\u305f\u6559\u8a13<\/h2>\n<p>\u4eca\u56de\u306e\u4ef6\u3067\u4e00\u756a\u5927\u304d\u304b\u3063\u305f\u306e\u306f\u3001\u300c\u30ed\u30b0\u306f\u6b8b\u3059\u304b\u6368\u3066\u308b\u304b\u300d\u3068\u3044\u3046\u5358\u7d14\u306a\u4e8c\u629e\u3067\u306f\u306a\u304f\u3001\u300c\u3069\u306e\u30ed\u30b0\u3092\u3069\u306e\u512a\u5148\u9806\u4f4d\u3067\u5b88\u308b\u304b\u300d\u3092\u5148\u306b\u6c7a\u3081\u306a\u3044\u3068\u3001\u8a2d\u5b9a\u8ad6\u304c\u8ff7\u8d70\u3059\u308b\u3068\u3044\u3046\u4e8b\u5b9f\u3060\u3063\u305f\u3002\u30ed\u30b0\u306f\u672c\u8cea\u7684\u306b\u8a3a\u65ad\u60c5\u5831\u3067\u3042\u3063\u3066\u3001\u91cf\u305d\u306e\u3082\u306e\u306b\u4fa1\u5024\u304c\u3042\u308b\u308f\u3051\u3067\u306f\u306a\u3044\u3002systemd \u306e journal \u306f\u69cb\u9020\u5316\u3055\u308c\u305f\u4fdd\u5b58\u57fa\u76e4\u3068\u3057\u3066\u5f37\u529b\u3067\u3042\u308a<a class=\"ref\" href=\"#ref1\">[1]<\/a><a class=\"ref\" href=\"#ref14\">[14]<\/a>\u3001rsyslog \u306f\u9ad8\u6027\u80fd\u3067\u67d4\u8edf\u306a\u30c6\u30ad\u30b9\u30c8\u30ed\u30b0\u57fa\u76e4\u3067\u3042\u308a<a class=\"ref\" href=\"#ref3\">[3]<\/a><a class=\"ref\" href=\"#ref19\">[19]<\/a>\u3001logrotate \u306f\u305d\u306e\u4fdd\u5b58\u671f\u9593\u3068\u5bb9\u91cf\u7ba1\u7406\u3092\u62c5\u3046<a class=\"ref\" href=\"#ref4\">[4]<\/a><a class=\"ref\" href=\"#ref6\">[6]<\/a>\u3002\u3057\u304b\u3057\u3001\u4e09\u8005\u3092\u3069\u3046\u7d44\u307f\u5408\u308f\u305b\u3066\u3082\u3001\u300c\u7570\u5e38\u6642\u306e\u5168\u91cf\u4fdd\u5b58\u300d\u3068\u300c\u901a\u5e38\u5c65\u6b74\u306e\u7dad\u6301\u300d\u3068\u300c\u904b\u7528\u306e\u5358\u7d14\u3055\u300d\u3092\u5168\u90e8 100 % \u6e80\u305f\u3059\u3053\u3068\u306f\u96e3\u3057\u3044\u3002<\/p>\n<p>\u305d\u306e\u610f\u5473\u3067\u3001\u4eca\u56de\u306e\u7d50\u8ad6\u306f\u304b\u306a\u308a\u73fe\u5b9f\u7684\u3060\u3063\u305f\u3002\u3059\u306a\u308f\u3061\u3001syslog \u306f\u7dad\u6301\u3059\u308b\u300290 \u65e5\u4fdd\u6301\u306e\u756a\u53f7\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u3082\u7dad\u6301\u3059\u308b\u3002\u305d\u306e\u4ee3\u308f\u308a\u3001\u7570\u5e38\u6642\u30b9\u30d1\u30e0\u306e\u5b8c\u5168\u4fdd\u5b58\u306f\u8ae6\u3081\u3001\u5358\u4e00\u5de8\u5927\u30d5\u30a1\u30a4\u30eb\u3092\u9632\u3050\u305f\u3081\u306b maxsize \u3092\u52a0\u3048\u308b\u3002\u3055\u3089\u306b\u3001\u305d\u3082\u305d\u3082 syslog \u306b\u6d41\u3057\u8fbc\u3080\u3079\u304d\u3067\u306a\u3044\u30ce\u30a4\u30ba\u306f \/etc\/rsyslog.d \u306e\u30d5\u30a3\u30eb\u30bf\u3067\u843d\u3068\u3059\u3002\u3053\u308c\u306f\u83ef\u3084\u304b\u306a\u89e3\u3067\u306f\u306a\u3044\u304c\u3001\u9577\u671f\u904b\u7528\u3067\u306f\u3080\u3057\u308d\u3053\u306e\u7a2e\u306e\u5730\u5473\u306a\u5272\u308a\u5207\u308a\u306e\u307b\u3046\u304c\u52b9\u304f\u3002Debian \u3067\u3082\u3001\u30ed\u30b0\u306f\u80a5\u5927\u5316\u3057\u3046\u308b\u305f\u3081\u30ed\u30fc\u30c6\u30fc\u30c8\u3059\u3079\u304d\u3060\u3068\u3044\u3046\u524d\u63d0\u304c\u7e70\u308a\u8fd4\u3057\u78ba\u8a8d\u3055\u308c\u3066\u3044\u308b<a class=\"ref\" href=\"#ref5\">[5]<\/a><a class=\"ref\" href=\"#ref6\">[6]<\/a>\u3002\u4eca\u56de\u306e\u51fa\u6765\u4e8b\u306f\u3001\u305d\u306e\u4e00\u822c\u8ad6\u3092\u3001\u81ea\u5206\u306e\u904b\u7528\u6761\u4ef6\u306b\u7167\u3089\u3057\u3066\u5177\u4f53\u7684\u306b\u8a00\u3044\u76f4\u3057\u305f\u4f8b\u3060\u3063\u305f\u3002<\/p>\n<p>\u4eca\u56de\u306e\u5224\u65ad\u306f\u3001syslog \u3092\u5ec3\u6b62\u305b\u305a\u300190 \u65e5\u4fdd\u6301\u3092\u7dad\u6301\u3057\u3064\u3064\u3001\u5165\u529b\u5236\u5fa1\u3068\u51fa\u529b\u5236\u5fa1\u306b\u3088\u3063\u3066\u30ed\u30b0\u306e\u632f\u308c\u5e45\u3092\u6291\u3048\u308b\u8a2d\u8a08\u3060\u3063\u305f\u3002\u6700\u5f8c\u306b\u4e00\u6587\u3067\u307e\u3068\u3081\u308b\u306a\u3089\u3001\u3053\u3046\u8868\u73fe\u3067\u304d\u308b\u3002\u30ed\u30b0\u306f\u4fdd\u5b58\u5bfe\u8c61\u3067\u3042\u308b\u524d\u306b\u3001\u5236\u5fa1\u5bfe\u8c61\u3067\u3042\u308b\u3002\u4f55\u3092\u8a18\u9332\u3057\u3001\u4f55\u3092\u5171\u6709\u30ed\u30b0\u304b\u3089\u5916\u3057\u3001\u3069\u3053\u3067\u30d6\u30ec\u30fc\u30ad\u3092\u304b\u3051\u308b\u304b\u3092\u8a2d\u8a08\u3057\u306a\u3044\u9650\u308a\u3001\u30ed\u30b0\u306f\u8a3a\u65ad\u8cc7\u6e90\u3067\u306f\u306a\u304f\u969c\u5bb3\u8981\u56e0\u306b\u5909\u308f\u308b\u3002\u9006\u306b\u8a00\u3048\u3070\u3001\u91cf\u3067\u306f\u306a\u304f\u9078\u5225\u3068\u69cb\u9020\u3067\u30ed\u30b0\u3092\u6349\u3048\u76f4\u3059\u3053\u3068\u3067\u3001\u521d\u3081\u3066 syslog \u306f\u9577\u671f\u904b\u7528\u306b\u8010\u3048\u308b\u57fa\u76e4\u306b\u306a\u308b\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u6559\u8a13<\/th>\n<th>\u4eca\u56de\u306e\u5f62\u3067\u8a00\u3044\u76f4\u3059\u3068<\/th>\n<th>\u904b\u7528\u4e0a\u306e\u610f\u5473<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u539f\u56e0\u7a76\u660e\u3068\u8a2d\u8a08\u306f\u5206\u3051\u308b\u3002<\/td>\n<td>\u771f\u56e0\u672a\u78ba\u5b9a\u3067\u3082\u3001\u5b88\u308b\u4fa1\u5024\u306e\u9806\u4f4d\u306f\u6c7a\u3081\u3089\u308c\u308b\u3002<\/td>\n<td>\u969c\u5bb3\u89e3\u6790\u304c\u9577\u5f15\u3044\u3066\u3082\u904b\u7528\u6539\u5584\u3092\u6b62\u3081\u306a\u304f\u3066\u3088\u3044\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u6642\u9593\u3060\u3051\u3067\u306f\u8db3\u308a\u306a\u3044\u3002<\/td>\n<td>\u77ed\u671f\u30b9\u30d1\u30a4\u30af\u306b\u306f\u30b5\u30a4\u30ba\u6761\u4ef6\u304c\u5fc5\u8981\u306b\u306a\u308b\u3002<\/td>\n<td>\u300c90 \u65e5\u4fdd\u6301\u300d\u3060\u3051\u3067\u306f\u5358\u4e00\u5de8\u5927\u30d5\u30a1\u30a4\u30eb\u3092\u9632\u3052\u306a\u3044\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u5b8c\u5168\u4fdd\u6301\u3092\u76ee\u6a19\u306b\u3057\u306a\u3044\u3002<\/td>\n<td>\u7570\u5e38\u6642\u30b9\u30d1\u30e0\u3088\u308a\u3001\u901a\u5e38\u5c65\u6b74\u3068\u30b7\u30b9\u30c6\u30e0\u5b89\u5b9a\u6027\u3092\u512a\u5148\u3059\u308b\u3002<\/td>\n<td>\u8a2d\u5b9a\u304c\u3076\u308c\u306b\u304f\u304f\u306a\u308a\u3001\u5224\u65ad\u3082\u901f\u304f\u306a\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u4fdd\u5b58\u524d\u306b\u3082\u624b\u3092\u5165\u308c\u308b\u3002<\/td>\n<td>\u66f8\u304b\u306a\u3044\u8a2d\u8a08\u3068\u6e9c\u3081\u306a\u3044\u8a2d\u8a08\u3092\u4e21\u7acb\u3059\u308b\u3002<\/td>\n<td>\u5165\u53e3\u3068\u51fa\u53e3\u306e\u4e21\u65b9\u3067\u30b7\u30b9\u30c6\u30e0\u3092\u5b88\u308b\u767a\u60f3\u304c\u5fc5\u8981\u306b\u306a\u308b\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h2>\u53c2\u8003\u6587\u732e<\/h2>\n<ol class=\"references refs\">\n<li id=\"ref1\">systemd-journald.service. <a href=\"https:\/\/www.freedesktop.org\/software\/systemd\/man\/systemd-journald.service.html\">https:\/\/www.freedesktop.org\/software\/systemd\/man\/systemd-journald.service.html<\/a><\/li>\n<li id=\"ref2\">journald.conf. <a href=\"https:\/\/www.freedesktop.org\/software\/systemd\/man\/journald.conf.html\">https:\/\/www.freedesktop.org\/software\/systemd\/man\/journald.conf.html<\/a><\/li>\n<li id=\"ref3\">Debian, Details of package rsyslog in trixie. <a href=\"https:\/\/packages.debian.org\/rsyslog\">https:\/\/packages.debian.org\/rsyslog<\/a><\/li>\n<li id=\"ref4\">logrotate(8), Debian testing manpage. <a href=\"https:\/\/manpages.debian.org\/testing\/logrotate\/logrotate.8.en.html\">https:\/\/manpages.debian.org\/testing\/logrotate\/logrotate.8.en.html<\/a><\/li>\n<li id=\"ref5\">Debian Policy Manual, Chapter 10 Files. <a href=\"https:\/\/www.debian.org\/doc\/debian-policy\/ch-files.html\">https:\/\/www.debian.org\/doc\/debian-policy\/ch-files.html<\/a><\/li>\n<li id=\"ref6\">Debian Handbook, Other Configurations: Time Synchronization, Logs, &#8230; <a href=\"https:\/\/www.debian.org\/doc\/manuals\/debian-handbook\/sect.config-misc.hr.html\">https:\/\/www.debian.org\/doc\/manuals\/debian-handbook\/sect.config-misc.hr.html<\/a><\/li>\n<li id=\"ref7\">logrotate(8), Linux man-pages project. <a href=\"https:\/\/man7.org\/linux\/man-pages\/man8\/logrotate.8.html\">https:\/\/man7.org\/linux\/man-pages\/man8\/logrotate.8.html<\/a><\/li>\n<li id=\"ref8\">Linux Kernel Documentation, Kernel Mode Setting (KMS). <a href=\"https:\/\/docs.kernel.org\/gpu\/drm-kms.html\">https:\/\/docs.kernel.org\/gpu\/drm-kms.html<\/a><\/li>\n<li id=\"ref9\">rsyslog, imuxsock: Unix Socket Input Module. <a href=\"https:\/\/docs.rsyslog.com\/doc\/configuration\/modules\/imuxsock.html\">https:\/\/docs.rsyslog.com\/doc\/configuration\/modules\/imuxsock.html<\/a><\/li>\n<li id=\"ref10\">rsyslog, RateLimit.Interval. <a href=\"https:\/\/docs.rsyslog.com\/doc\/reference\/parameters\/imuxsock-ratelimit-interval.html\">https:\/\/docs.rsyslog.com\/doc\/reference\/parameters\/imuxsock-ratelimit-interval.html<\/a><\/li>\n<li id=\"ref11\">rsyslog, SysSock.RateLimit.Interval. <a href=\"https:\/\/docs.rsyslog.com\/doc\/reference\/parameters\/imuxsock-syssock-ratelimit-interval.html\">https:\/\/docs.rsyslog.com\/doc\/reference\/parameters\/imuxsock-syssock-ratelimit-interval.html<\/a><\/li>\n<li id=\"ref12\">rsyslog, $RepeatedMsgReduction. <a href=\"https:\/\/docs.rsyslog.com\/doc\/configuration\/action\/rsconf1_repeatedmsgreduction.html\">https:\/\/docs.rsyslog.com\/doc\/configuration\/action\/rsconf1_repeatedmsgreduction.html<\/a><\/li>\n<li id=\"ref13\">journald.conf(5), Debian testing manpage. <a href=\"https:\/\/manpages.debian.org\/testing\/systemd\/journald.conf.5.en.html\">https:\/\/manpages.debian.org\/testing\/systemd\/journald.conf.5.en.html<\/a><\/li>\n<li id=\"ref14\">journalctl. <a href=\"https:\/\/www.freedesktop.org\/software\/systemd\/man\/journalctl.html\">https:\/\/www.freedesktop.org\/software\/systemd\/man\/journalctl.html<\/a><\/li>\n<li id=\"ref15\">rsyslog, imjournal: Systemd Journal Input Module. <a href=\"https:\/\/docs.rsyslog.com\/doc\/configuration\/modules\/imjournal.html\">https:\/\/docs.rsyslog.com\/doc\/configuration\/modules\/imjournal.html<\/a><\/li>\n<li id=\"ref16\">rsyslog, Features. <a href=\"https:\/\/docs.rsyslog.com\/doc\/features.html\">https:\/\/docs.rsyslog.com\/doc\/features.html<\/a><\/li>\n<li id=\"ref17\">id774, scripts\/doc\/VERSIONS at master. <a href=\"https:\/\/github.com\/id774\/scripts\/blob\/master\/doc\/VERSIONS\">https:\/\/github.com\/id774\/scripts\/blob\/master\/doc\/VERSIONS<\/a><\/li>\n<li id=\"ref18\">Debian Reference Japanese PDF. <a href=\"https:\/\/www.debian.org\/doc\/manuals\/debian-reference\/debian-reference.ja.pdf\">https:\/\/www.debian.org\/doc\/manuals\/debian-reference\/debian-reference.ja.pdf<\/a><\/li>\n<li id=\"ref19\">rsyslog Documentation Index. <a href=\"https:\/\/docs.rsyslog.com\/doc\/index.html\">https:\/\/docs.rsyslog.com\/doc\/index.html<\/a><\/li>\n<li id=\"ref20\">rsyslog, Actions and Filters. <a href=\"https:\/\/docs.rsyslog.com\/doc\/configuration\/actions.html\">https:\/\/docs.rsyslog.com\/doc\/configuration\/actions.html<\/a><\/li>\n<li id=\"ref21\">rsyslog, Basic Structure. <a href=\"https:\/\/docs.rsyslog.com\/doc\/getting_started\/basic_configuration.html\">https:\/\/docs.rsyslog.com\/doc\/getting_started\/basic_configuration.html<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Linux \u3092\u9577\u304f\u904b\u7528\u3057\u3066\u3044\u308b\u3068\u3001CPU \u4f7f\u7528\u7387\u3084\u30e1\u30e2\u30ea\u30fc\u4f7f\u7528\u91cf\u3088\u308a\u3082\u5148\u306b\u3001\u30ed\u30b0\u304c\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u5b89\u5b9a\u6027\u3092\u58ca\u3059\u3053\u3068\u304c\u3042\u308b\u3002systemd-journald \u306f\u30ab\u30fc\u30cd\u30eb\u30e1\u30c3\u30bb\u30fc\u30b8\u3001syslog\u3001\u30b5\u30fc\u30d3\u30b9\u30ed\u30b0\u306a\u3069\u3092\u53ce\u96c6\u3059\u308b\u57fa\u76e4 &#8230; <a title=\"\u30b7\u30b9\u30c6\u30e0\u30ed\u30b0\u80a5\u5927\u5316\u3068\u305d\u306e\u5bfe\u51e6\u8a2d\u8a08\" class=\"read-more\" href=\"https:\/\/blog.id774.net\/entry\/2026\/04\/04\/4286\/\" aria-label=\"\u30b7\u30b9\u30c6\u30e0\u30ed\u30b0\u80a5\u5927\u5316\u3068\u305d\u306e\u5bfe\u51e6\u8a2d\u8a08 \u306b\u3064\u3044\u3066\u3055\u3089\u306b\u8aad\u3080\">\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-4286","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/blog.id774.net\/entry\/wp-json\/wp\/v2\/posts\/4286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.id774.net\/entry\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.id774.net\/entry\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.id774.net\/entry\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.id774.net\/entry\/wp-json\/wp\/v2\/comments?post=4286"}],"version-history":[{"count":21,"href":"https:\/\/blog.id774.net\/entry\/wp-json\/wp\/v2\/posts\/4286\/revisions"}],"predecessor-version":[{"id":4317,"href":"https:\/\/blog.id774.net\/entry\/wp-json\/wp\/v2\/posts\/4286\/revisions\/4317"}],"wp:attachment":[{"href":"https:\/\/blog.id774.net\/entry\/wp-json\/wp\/v2\/media?parent=4286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.id774.net\/entry\/wp-json\/wp\/v2\/categories?post=4286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.id774.net\/entry\/wp-json\/wp\/v2\/tags?post=4286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}