Translated message

A translation of this page exists in English.

systemd-journald が、SystemMaxUse パラメーターで設定した永続ジャーナルログの制限を遵守していない

Solution In Progress - Updated -

Issue

  • systemd-journald が、SystemMaxUse で設定した永続ジャーナルログの制限を遵守していません。
  • journalctl の vaccum-time オプションを使用しても、/var/log/journal/ のファイルが削除されません。そのため、ディスク容量が圧迫されています。
  • systemd-journald ログが設定されたディスク容量を超過しています。

    # grep -v ^# /etc/systemd/journald.conf 
    [Journal]
    Storage=persistent
    Compress=yes
    SystemMaxUse=330M
    ForwardToSyslog=yes
    
  • ディスク上のジャーナル使用量:

    # journalctl --disk-usage  
    Archived and active journals take up 2.8G on disk.
    
    # df -h /var
    Filesystem               Size  Used Avail Use% Mounted on
    /dev/mapper/vg-lv_var   20G   11G  8.0G  58% /var
    

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • rsyslog
  • systemd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content