Running low on diskspace on root partition

Found something amiss in NEMS? Confirm first that you are running the latest version, and then post your bug report here.
Post Reply
baggins
Member
Posts: 50
Joined: Tue Oct 03, 2017 4:46 am

Running low on diskspace on root partition

Post by baggins »

Today I received a warning that on my NEMS (1.4.1) host the root partition was running low on diskspace.
I ssh'd in and found a wtmp file of 1.1G!
I also noticed that apparently no log rotation was taking place. As a matter of fact, 'logrotate' is not installed.
Is there some other service that should be running to take care of this?

Thanks.

User avatar
Robbie Ferguson
Senior Member
Posts: 749
Joined: Wed Mar 07, 2012 3:23 pm
Location: Ontario, Canada
Contact:

Re: Running low on diskspace on root partition

Post by Robbie Ferguson »

Hi baggins,
Thanks for pointing this out. I always setup my own logrotate rules, but I will setup a default config moving forward (beginning with NEMS Linux 1.6), as it really does make sense to have that enabled by default.

I'll setup some basic rules on /var/log.

Cheers!
Robbie // The Bald Nerd

User avatar
Robbie Ferguson
Senior Member
Posts: 749
Joined: Wed Mar 07, 2012 3:23 pm
Location: Ontario, Canada
Contact:

Re: Running low on diskspace on root partition

Post by Robbie Ferguson »

Update: I decided this was just too important to leave for a future release. It has been added as a patch to existing systems with a 7 day log cycle retaining 8 weeks worth of logs in a compressed state.

Thanks baggins.

Robbie // The Bald Nerd

Post Reply