Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Applies to

  • All versions of openSUSE

Purpose

This article describes how to limit the size of the journal logs. Since the journal logs are likely to grow up to hundreds of MB, they might occupy a significant amount of disk space on your Cryptshare Server.

Solution

To limit the size of the journal logs to 10MB, please follow the instructions below:

  1. Connect to your Cryptshare Server via SSH
  2. Verify current disk space usage:

    Code Block
    languagebash
    themeEmacs
    df -h


  3. Limit the size of the journal:

    Code Block
    languagebash
    themeEmacs
    sed -i -e 's/#SystemMaxUse=/SystemMaxUse=10M/' /etc/systemd/journald.conf


  4. Reboot your Cryptshare ServerRestart the journal daemon:

    Code Block
    languagebash
    themeEmacs
    rebootsystemctl restart systemd-journald


  5. Verify that the disk space usage went down:

    Code Block
    languagebash
    themeEmacs
    df -h


Related articles

Content by Label
showLabelsfalse
max5
spacesCKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("journal","disk-space") and type = "page" and space = "CKB"
labelsupgrade update opensuse leap os low disk space betriebssystem distribution

Page properties
hiddentrue


Related issues




Include Page
ATT:Footer
ATT:Footer