{"id":1375,"date":"2020-09-09T09:37:01","date_gmt":"2020-09-09T09:37:01","guid":{"rendered":"https:\/\/www.ipcpu.com\/?p=1375"},"modified":"2021-02-09T09:37:47","modified_gmt":"2021-02-09T09:37:47","slug":"500g-journal-300g","status":"publish","type":"post","link":"https:\/\/c.ipcpu.com\/2020\/09\/500g-journal-300g\/","title":{"rendered":"500G\u7684\u78c1\u76d8journal\u7528\u6389\u4e86300G"},"content":{"rendered":"

500G\u7684\u78c1\u76d8journal\u7528\u6389\u4e86300G.md
\n\u8fd9\u4e2a\u662fsystemd-journal\u7684bug\uff1f
\n\u670d\u52a1\u5668\u4f7f\u7528\u60c5\u51b5
\n
\n\u67e5\u770bman 5 journald.conf\u5e2e\u52a9\u6587\u4ef6
\n\u627e\u5230\u4ee5\u4e0b\u51e0\u4e2a\u53c2\u6570
\nSystemMaxUse=, SystemKeepFree=, SystemMaxFileSize=, RuntimeMaxUse=, RuntimeKeepFree=, RuntimeMaxFileSize=
\n\u5176\u4e2d\u6709\u53e5\u8bdd\u662f\u8fd9\u4e48\u8bf4\u7684
\nThe first pair defaults to 10% and the second to 15% of the size of the respective file system, but each value is capped to 4G.
\n\u5982\u679c\u6ca1\u7406\u89e3\u9519\u7684\u8bdd\uff0c\u6700\u591a\u75284G\uff0c\u6211\u8fd9300G\u90fd\u51fa\u6765\u4e86\uff0c\u4f60\u9a97\u8c01\u5462
\n\u5728\/etc\/systemd\/journald.conf \u914d\u7f6e\u6587\u4ef6\u52a0\u4e0a\u53c2\u6570<\/p>\n

\n
SystemMaxUse=64G<\/code><\/pre>\n<\/div>\n

\u7136\u540e\u4f7f\u7528 systemctl restart systemd-journald \u91cd\u542f\u4e0b\u670d\u52a1\uff0c \u5c45\u7136\u6062\u590d\u4e86\u3002\u5408\u7740\u4f60\u8fd9\u6839\u672c\u5c31\u6ca1\u6709\u9ed8\u8ba4\u914d\u7f6e\u554a\u3002
\n
\n\u6700\u540e\u516c\u5e03\u4e0b\u8fd9\u4e2asystemd\u7684\u7248\u672c\u3002\u5927\u5bb6\u6ce8\u610f\u4e0b\u3002<\/p>\n

\n
systemd-219-67.el7_7.4.x86_64<\/code><\/pre>\n<\/div>\n

\u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1aIPCPU-\u7f51\u7edc\u4e4b\u8def<\/a> » 500G\u7684\u78c1\u76d8journal\u7528\u6389\u4e86300G<\/a><\/p>","protected":false},"excerpt":{"rendered":"

500G\u7684\u78c1\u76d8journal\u7528\u6389\u4e86300G.md \u8fd9\u4e2a\u662fsystemd-journal\u7684bug\uff1f \u670d\u52a1\u5668\u4f7f\u7528\u60c5\u51b5 \u67e5\u770bman 5 journald.conf\u5e2e\u52a9\u6587\u4ef6 \u627e\u5230\u4ee5\u4e0b\u51e0\u4e2a\u53c2\u6570 SystemMaxUse=, SystemKeepFree=, SystemMaxFileSize=, RuntimeMaxUse=, RuntimeKeepFree=, RuntimeMaxFileSize= \u5176\u4e2d\u6709\u53e5\u8bdd\u662f\u8fd9\u4e48\u8bf4\u7684 The first pair defaults to 10% and the second to 15% of the size of the respective file system, but each value is capped to 4G. \u5982\u679c\u6ca1\u7406\u89e3\u9519\u7684\u8bdd\uff0c\u6700\u591a\u75284G\uff0c\u6211\u8fd9300G\u90fd\u51fa\u6765\u4e86\uff0c\u4f60\u9a97\u8c01\u5462 \u5728\/etc\/systemd\/journald.conf \u914d\u7f6e\u6587\u4ef6\u52a0\u4e0a\u53c2\u6570 SystemMaxUse=64G \u7136\u540e\u4f7f\u7528 systemctl restart systemd-journald \u91cd\u542f\u4e0b\u670d\u52a1\uff0c \u5c45\u7136\u6062\u590d\u4e86\u3002\u5408\u7740\u4f60\u8fd9\u6839\u672c\u5c31\u6ca1\u6709\u9ed8\u8ba4\u914d\u7f6e\u554a\u3002 \u6700\u540e\u516c\u5e03\u4e0b\u8fd9\u4e2asystemd\u7684\u7248\u672c\u3002\u5927\u5bb6\u6ce8\u610f\u4e0b\u3002 systemd-219-67.el7_7.4.x86_64 \u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1aIPCPU-\u7f51\u7edc\u4e4b\u8def » 500G\u7684\u78c1\u76d8journal\u7528\u6389\u4e86300G<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[13],"tags":[17],"_links":{"self":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts\/1375"}],"collection":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/comments?post=1375"}],"version-history":[{"count":1,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts\/1375\/revisions"}],"predecessor-version":[{"id":1376,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts\/1375\/revisions\/1376"}],"wp:attachment":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/media?parent=1375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/categories?post=1375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/tags?post=1375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}