/var/log/lastlog grow up 'til 90929125288?

NethServer Version: 7.5.1804 (final)

It’s quite large, is there a way to reduce it ?

Thanks,
Rémy.

PS : I weight far less …

I thought NethServer has something like logrotate active? The real question is: what makes your logs grow that fast and large?

I donno nothing bad append,
Load 1 / 5 / 15 minutes : 0.19 / 0.18 / 0.19
Uptime : 55 d 5 h 44 m

Only 45 records in its database ???

This is perfectly fine, it’s a sparse file, it does not occupy disk space. It’s a FAQ:
http://www.noah.org/wiki/Lastlog_is_gigantic

2 Likes

sudo du -h /var/log/lastlog

44K /var/log/lastlog

Thanks Filippo.

(I know i wasn’t that big) :wink:

But be aware that (most) backup programs will treat it as a regular file and so try to copy the inflated size.

Cheers.