You are not logged in.
I ran a pacman -Syu for the first time in several months yesterday, and my computer has become almost useless due the fact that everything.log, kernel.log and messages.log gets extremely large (3.8 GB) after a while, causing / to become 100% full.
I've located the following in kernel.log:
Mar 14 15:06:44 elvix attempt to access beyond end of device
Mar 14 15:06:45 elvix attempt to access beyond end of device
Mar 14 15:06:45 elvix sda5: rw=0, want=1812442544, limit=412115382
Mar 14 15:06:45 elvix attempt to access beyond end of device
Mar 14 15:06:45 elvix sda5: rw=0, want=1812442544, limit=412115382
Mar 14 15:06:45 elvix attempt to access beyond end of device
Not sure what it means, but the last two lines are repeated XX times and are the reason why log files grow beyond limits. Anyone got ideas to what can be done to fix this?
Last edited by bistrototal (2008-03-14 16:27:15)
Offline
logrotate works really well:
http://www.archlinux.org/packages/14754/
There's quite a few threads about configuration floating around.
Offline
Thanks, i'll look into that. Do you think I can neglect the recurring access issue?
Offline
I'm not an expert here, but I think that you'll first need to manually trim your log files, then add logrotate. After that it should be automated. Of course checking on /var/log now and again is good practice.
Offline
Force a filesystem check on next reboot:
touch /forcefsck
That file is checked in /etc/rc.sysinit
Offline
Thanks. Logrotate and fs check did it
Offline