Bug 18775

Summary: journal has no space limit
Product: Mageia Reporter: Tamás Hajdu <fathom>
Component: RPM PackagesAssignee: Colin Guthrie <mageia>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: marja11, tmb
Version: 5   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: systemd-217-11.1.mga5 CVE:
Status comment:

Description Tamás Hajdu 2016-06-23 14:47:06 CEST
Description of problem:
Journal can grow as big as the partition it is on. This is usually the root, which cause troubles. 
There should be a default maximum size or maximum numbers of days or maybe both.

Version-Release number of selected component (if applicable):
mga5

How reproducible:
always

Steps to Reproduce:
1. 
2.
3.
Comment 1 Marja Van Waes 2016-06-23 17:11:10 CEST
(In reply to Tamás Hajdu from comment #0)
> Description of problem:
> Journal can grow as big as the partition it is on. This is usually the root,
> which cause troubles. 
> There should be a default maximum size or maximum numbers of days or maybe
> both.
> 

@ Colin

Not sure whether this is related, forget what I write if it isn't and doesn't help:
Recently in a cauldron ( with systemd 229) I saw messages that the journal was set to a maximum size of 2GB, but it kept growing bigger than that, anyway, and instead of deleting the oldest part, it started only partially storing what was new. Sorry for having forgotten to report that. I've deleted 80% of the logs before installing systemd 230.

CC: (none) => marja11
Assignee: bugsquad => mageia

Comment 2 Thomas Backlund 2016-06-23 17:35:35 CEST
hm, IIRC we fixed it once  to have a limit of "leave atleast 15% free diskspace always"... but maybe that has been changed/broken since that...

CC: (none) => tmb

Comment 3 Tamás Hajdu 2017-08-29 17:20:18 CEST
closing

Status: NEW => RESOLVED
Resolution: (none) => INVALID