seduction
 Language:
Welcome, Guest. Please login or register.
Did you miss your activation email?
2019/10/22, 18:02:57


Help

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: var/log/journal ..immer voller : may i delete it ?  (Read 1067 times)

0 Members and 1 Guest are viewing this topic.

Offline rueX

  • User
  • Posts: 121
var/log/journal immer voller : may i delete it ?

Langsam aber sicher wird

var/log/journal ....full of data  ( Daten seit dem 07.Juli 2014 )

wird das eigentlich von siduction-system irgendwann mal gelöscht oder sollte da jeder user selbst hand-anlegen ?

ich überleg grad, ob ich das einfach, bis auf die neuesten löschen könnte ?
oder iss das dann wie damals bei windows...dann fehlt mir ein wiederherstellungs-Zeitpunkt ?


?
by the way: gibt es weitere solcher Sammel-dateien, welche eine Festplatte voll laufen lassen täglich ?

Grüsse

Offline musca

  • Global Moderator
  • User
  • *****
  • Posts: 725
  • sid, fly high!
Re: var/log/journal ..immer voller : may i delete it ?
« Reply #1 on: 2014/09/06, 16:08:13 »
Hello rueX,

better define SystemMaxFileSize in /etc/systemd/journald.conf.
See 'man journald.conf' for details.

greetings
musca
„Es irrt der Mensch, solang er strebt.“  (Goethe, Faust)

Offline rueX

  • User
  • Posts: 121
Re: var/log/journal ..immer voller : may i delete it ?
« Reply #2 on: 2014/09/07, 00:00:05 »
hi musca, thx for help.
i read the man ...and google ...

example:
journalctl --disk-usage
Journals take up 645.7M on disk

most have:
SystemMaxUse=20M (but that is EACH date/or day: so 20-date/days=200M ...40date/days=400M
ForwardToSyslog=no

so i decided to have:
mcedit  /etc/systemd/journald.conf
To make this change on your systems just uncomment "SystemMaxUse=" and make the value 100M. Delete the old logs (if you don’t need them for debugging). Finally, restart journald using “systemctl restart systemd-journald”

If a siduction-partition is 12GB - is 650M-journal normal or should i really minimize ... ?

Is there a standard limit ? i can use ?



« Last Edit: 2014/09/07, 00:13:43 by rueX »

Offline melmarker

  • Global Moderator
  • User
  • *****
  • Posts: 2.756
    • g-com.eu
Re: var/log/journal ..immer voller : may i delete it ?
« Reply #3 on: 2014/09/07, 00:23:51 »
if '/' is 12 G - it is 13G to small :D
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)