Eu tenho um problema com a partição / run, seu tamanho NUNCA diminui, então quando estiver cheio, eu tenho que reiniciar.
[root@centos]# df -H
Filesystem Size Used Avail Use% Mounted on
...
tmpfs 6.4G 6.3G 34M 100% /run
...
Oqueseesperaé408MemUsado,não6.3G
[root@centos]#du-h/run/log/journal/408M/run/log/journal/d5b1a7595c414aef867926a90584852b408M/run/log/journal/
Otamanhode/run/log/journaléestável,masnãodiminuiotamanhodapartição/run(tmpfs)
[root@centos]journalctl--disk-usageArchivedandactivejournalstakeup408.0Mondisk.
oqueeutento:Em/etc/systemd/journald.conf,euconfiguroestesparâmetros:
RuntimeMaxUse=400M
RuntimeKeepFree=2G
systemctlkill--signal=SIGUSR2systemd-journald.servicejournalctl--vacuum-size=400Mjournalctl--vacuum-time=1djournalctl--verifylsof-nP+L1/run
COMMANDPIDUSERFDTYPEDEVICESIZE/OFFNLINKNODENAME
systemd1root25uFIFO0,190t019824/run/systemd/initctl/fifo
rsyslogd542rootmemREG0,19167772161393167600/run/log/journal/d5b1a7595c414aef867926a90584852b/sys
rsyslogd542rootmemREG0,1983886081393003455/run/log/journal/d5b1a7595c414aef867926a90584852b/sys0a164e4eada90b8dbc31bb75-0000000000d861da-0005650fb1201005.journal...
Eutenhoquereiniciaroservidortodavezqueacorridaestácheia.Comoresolveresteproblema?
Obrigadopelasuaajuda.
InformaçõesdoSO:centos7.2linux3.10.0-327.el7.x86_64#1SMPQuiOct2917:29:29EDT2015x86_64x86_64x86_64GNU/Linux
journalctl--version
systemd219+PAM+AUDIT+SELINUX+IMA-APPARMOR+SMACK+SYSVINIT+UTMP+LIBCRYPTSETUP+GCRYPT+GNUTLS+ACL+XZ-LZ4-SECCOMP+BLKID+ELFUTILS+KMOD+IDN
[EDIT]:RuntimeMaxUseeRuntimeKeepFreenãoajudam
Tags tmpfs systemd-journald