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
Posting Freak
Posts: 835
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
Posting Freak
Posts: 835
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
Bridgelectrics
Junior Member
Posts: 1
Joined: Tue Jun 28, 2022 8:50 pm

Re: Running low on diskspace on root partition

Post by Bridgelectrics »

My NEMS (1.4.1) host's root partition ran out of space today.
Using ssh, I found a 1.1G wtmp file.
I detected no log rotation. Logrotate isn't installed.
Should another service handle this? geometry dash
Post Reply