Koozali.org formerly Contribs.org

Legacy Forums => Experienced User Forum => Topic started by: stancol on January 30, 2004, 07:41:50 PM

Title: Running out of Space
Post by: stancol on January 30, 2004, 07:41:50 PM
I've searched the forms and I can't find anything exactly like I'm experiencing. My SME server's hard drive keeps growing and growing in size. I haven't even been able to pin point the source. I know it's not in the Primary, Users, or IBays sections of the system. I've been watching those and they haven't changed in size at all.
Title: Running out of Space
Post by: RavenIV on January 31, 2004, 01:45:08 AM
did you look at /var/log?
and also the subdirs of /var/log?
that's the place where all (most) logfiles are stored.

first, you can delete all files that are older than one day (maybe with a cron-job)

second, have a look at the size of the files. if they grow up to many megabyte, anything goes wrong with your system.

third, disable the logging of several services. a good candidate is the firewall. have a search in the forum.

cheers klaus
Title: Think I might have it licked
Post by: stancol on January 31, 2004, 09:21:01 AM
Thanks for the /var/log tip. I thought I could delete some of those but I wasn't sure. I used the comand [find / -size +10000k] to find large files. Turns out not only did I have some large files in the /var/log section I had some in the ./recycle bin. The recycle bin was an add on RPM I found. The ./recycle bin wasn't showing up when I was looking at stats for individual users. One of the files - a large 4Gig file - was in the recycle bin 4 times. Each time with an added (#) after it.

Even though I'm experienced I still feel like a newbie and I think I always will.
Title: i have ended up with the same problem
Post by: gasparraposo on March 03, 2007, 11:01:05 AM
I have ended up with the same problem

I saw your command on how to find files over i meg but what command would you use to delete them?
Title: Running out of Space
Post by: bpivk on March 03, 2007, 02:13:46 PM
gasparraposo use rm and filename or use mc (like norton commander) and do it the old fasion way. By marking them with insert and then use F8.
Title: Re: Running out of Space
Post by: CharlieBrady on March 09, 2007, 10:49:20 PM
Quote from: "stancol"

My SME server's hard drive keeps growing and growing in size.


Lucky you! Mine keeps staying the same size.

Beware when following the advice of some to delete log files. Deleting files does not necessarily free up the space they are using. Deleting a file only removes the directory entry of the file. The file contents stay in existence as long as any program has an open file descriptor to the file. So if a logging program has the file open, then the file will continue to grow (invisibly) and the space it uses won't become free until 1) the logging program closes the file or 2) you reboot the system.

Most SME log files are limited in their size, and contain sometimes precious information. Deleting them is seldom a good idea.
Title: i figured it out
Post by: gasparraposo on March 11, 2007, 11:38:01 PM
Hey there. I got it figured out.

a week ago i had installed a backup utility and it by defaulth had a backup entry and a default path. Thats what was causing it. Got it fixed. i am back to normal.

Thanks for responding.