{"id":318,"date":"2020-12-31T11:30:36","date_gmt":"2020-12-31T10:30:36","guid":{"rendered":"https:\/\/nissel.it\/?p=318"},"modified":"2020-12-31T11:30:37","modified_gmt":"2020-12-31T10:30:37","slug":"groesse-von-var-log-journal-begrenzen","status":"publish","type":"post","link":"https:\/\/nissel.it\/index.php\/2020\/12\/31\/groesse-von-var-log-journal-begrenzen\/","title":{"rendered":"Gr\u00f6\u00dfe von \/var\/log\/journal begrenzen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u00dcber die Zeit w\u00e4chst das Verzeichnis \/var\/log\/journal deutlich an. Gerade auf kleinen vServern ist das unangenehm. Dies kann schnell auf mehrere Gigabyte anwachsen. Dies kann man in der Datei \/etc\/systemd\/journald.conf begrenzen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;Journal]\nSystemMaxUse=32M\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Einmalig kann dies auch mit folgenden Befehl aufger\u00e4umt werden.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>journalctl --vacuum-size=32M<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Links<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/askubuntu.com\/questions\/1238214\/big-var-log-journal\">https:\/\/askubuntu.com\/questions\/1238214\/big-var-log-journal<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00dcber die Zeit w\u00e4chst das Verzeichnis \/var\/log\/journal deutlich an. Gerade auf kleinen vServern ist das unangenehm. Dies kann schnell auf mehrere Gigabyte anwachsen. Dies kann man in der Datei \/etc\/systemd\/journald.conf begrenzen: Einmalig kann dies auch mit folgenden Befehl aufger\u00e4umt werden. Links https:\/\/askubuntu.com\/questions\/1238214\/big-var-log-journal<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-318","post","type-post","status-publish","format-standard","hentry","category-webserver"],"_links":{"self":[{"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/posts\/318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/comments?post=318"}],"version-history":[{"count":1,"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/posts\/318\/revisions"}],"predecessor-version":[{"id":319,"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/posts\/318\/revisions\/319"}],"wp:attachment":[{"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/media?parent=318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/categories?post=318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/tags?post=318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}