LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SystemD log size
#1
I think someone posted on this subject once before but I'm looking into it myself now. My systemd log has hit 1.2gig and that would be excessive for users on smaller systems and undoubtedly eventually cause an issue. I suspect that logs are being updated unnecessarily for several applications that are rarely if ever used, but the problem there is that I would have to find some way customize logging according to user preferences. If 1.2gig is the rollover limit for the logs I think it will prove to be to high as some users' systems grow. I once let debsecan run on one of my Debian systems for three years without deleting anything and it didn't even approach that figure even though it reports CVEs back to 2014. Why is this log so big, or configured to be so big? It does not do this in Debian.
TC   
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Reply
#2
Code:
/etc/systemd/journald.conf

Code:
[Journal]
SystemMaxUse=250M
SystemMaxFileSize=50M

ref. - https://wiki.manjaro.org/index.php/Limit...he_journal

This is left unchanged in LL because there may be somewhere in a large log the clue to a problem someone is having. We don't want to eliminate clues.
Reply
#3
This is on LL5 and I did not clear the journal until yesterday. I'm going to monitor it now and see how quickly it builds up again. I suspect some of it was left over from installation, and the fact that I left the system unused for a couple of months thus needing a large update as I mentioned a while back. It may be that not updating regularly increases the journal size when a system is finally updated. I'm sure several usage factors can influence the pace of the journal's growth. It just jumped out at me because this system was barely used, but that may be the actual cause. 

TC   
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)