You are not logged in.
Pages: 1
Maybe not Arch related .... but check out one of me log files
-rw-r--r-- 1 root root 358M 2007-01-16 08:48 slim.log
dude thats some serious disk usage
maybe I need a cron job to clear/trim log files from time to time
I could install a distro in that small lol......
Mr Green
Offline
There is logrotate. Just add a the slim log to the configuration files of it. Of course, the slim-package maintainer should take care of that. Thanks for pointing that out. *goes and checks his slim.log*
Todays mistakes are tomorrows catastrophes.
Offline
Would never have looked, only all this talk about .pacsave ~ files got me thinking ...
kernel, everything, messages
yeah thanks for the heads up ;-)
Mr Green
Offline
this is an issue that has been around for quite some versions of slim now. usually i had a logfile of about 200mb size, even when i deleted it and it was created new. some weeks ago it suddenly grew up to 900mb cluttering my whole /var partition so i switched to gdm. i don't like gdm that much but it's stll way better than slim with its large logfiles...
Offline
I pity the foo who doesn't use logrotate.d files!
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
Well me not as clever as some....
Mr Green
Offline
/etc/logrotate.d/slim
/var/log/slim.log {
compress
dateext
weekly
rotate 4
size=+1024k
notifempty
missingok
copytruncate
olddir /var/log/old
}
man logrotate
Because you're worth it!
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
rofl I was looking honest ... .... well you learn something everyday ...
seems a bit long winded to me ... setting up each log file rotation cron job has confused me ... setting a certain day date time why can I not run logrotate when I want? ... system is not running 24/7 so...
to hell with it reinstall Arch.....
not to mention everything.log
thanks ;-)
Mr Green
Offline
Try fcron from community...replaces dcron nicely for computers that don't run all the time; it will run missed jobs upon boot so logrotate, updatedb, etc. still work.
Offline
cool thanks I will check it out....
Mr Green
Offline
Try fcron from community...replaces dcron nicely for computers that don't run all the time; it will run missed jobs upon boot so logrotate, updatedb, etc. still work.
I really like slim and want to keep it, but not the huge log! I checked out fcron, but I don't get how to set it up. I followed FUBAR's advise:
/etc/logrotate.d/slim
Code:/var/log/slim.log {
compress
dateext
weekly
rotate 4
size=+1024k
notifempty
missingok
copytruncate
olddir /var/log/old
}
How do I set up fcron to run to minimize the log size?
Offline
There is logrotate. Just add a the slim log to the configuration files of it. Of course, the slim-package maintainer should take care of that. Thanks for pointing that out. *goes and checks his slim.log*
This is not done yet. I was surprised to find a 7GB slim log filling half of my partition
Offline
Here we are:
http://bugs.archlinux.org/task/8015
Offline
Sorry to revive this thread, but my slim.log was just 21.27 gb, and slim.log.1 was 1.95 gb...
Noticed my / partition had run out of space, did a quick search, and assumed it was my /proc/kcore, which is reported as 128 Tb (apparently 0 real disc space) on a 39 gb partition, but further searching took me to the enormous slim.log. I mounted a blu ray .iso, and the next day I noticed my slim.log had filled the entire partition with crap like "libbluray/hdmv/hdmv_vm.c:324: _resume_from_play_pl(): object not playing playlist !"
So yes, 23.22 Gb slim log files in 1 day
Any society that would give up a little liberty to gain a little security will deserve neither and lose both.
-Benjamin Franklin
The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.
-George Bernard Shaw
Offline
Moderator note: This is an ancient thread. Normally, I would ask that you start a new thread and link back to this one -- but I really don't want another Slim thread to be spawned. I'll leave this thread be in that things have not changed in 4 1/2 years.
I might say, however, I looks as if something else may be broken. i assume your system is now set to rotate Slim logs in accordance with the bug report linked to be ezzetabi. If so, I'd be taking a look at hdmv_vm.c.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Pages: 1