Bug 18775 - journal has no space limit
Summary: journal has no space limit
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Colin Guthrie
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-23 14:47 CEST by Tamás Hajdu
Modified: 2017-08-29 17:20 CEST (History)
2 users (show)

See Also:
Source RPM: systemd-217-11.1.mga5
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.