I am a very junior Asterisk user, and it has been some time since I have used linux....Now that I got that out of my way I was curious if someone could point me in the right direction to find out how to clean up my asterisk server. The hard drive has 150 gigs on it and it only has 200 mb free. I am cleaning out the /var/logs just to keep the system running, but I need to find out if asterisk is dumping voice messages somewhere that should have been deleted, or some other issue that might be causing this space to be used up??? Any thoughts???
You could use a find command and search for large files but that won?t help if there are many small files in a directory. You can use du and pipe it into sort -n du | sort -n | tail -1000 | more that will give you the 1000 LARGEST directories. You can go from there.... Alex ? Kindly consider the environment before printing this e-mail.> -----Original Message----- > From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users- > bounces at lists.digium.com] On Behalf Of Mr surfit > Sent: Saturday, September 27, 2008 6:58 AM > To: asterisk-users at lists.digium.com > Subject: [asterisk-users] running out of disk space > > I am a very junior Asterisk user, and it has been some time since I > have used linux....Now that I got that out of my way I was curious if > someone could point me in the right direction to find out how to clean > up my asterisk server. The hard drive has 150 gigs on it and it only > has 200 mb free. I am cleaning out the /var/logs just to keep the > system running, but I need to find out if asterisk is dumping voice > messages somewhere that should have been deleted, or some other issue > that might be causing this space to be used up??? Any thoughts??? > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2008 - September 22 - 25 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Probably its saving its calls in wav format Just check your recording directory , probably a lot of wav files in there. rm *.wav -f will then do the trick -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Mr surfit Sent: Samstag, 27. September 2008 12:58 To: asterisk-users at lists.digium.com Subject: [asterisk-users] running out of disk space I am a very junior Asterisk user, and it has been some time since I have used linux....Now that I got that out of my way I was curious if someone could point me in the right direction to find out how to clean up my asterisk server. The hard drive has 150 gigs on it and it only has 200 mb free. I am cleaning out the /var/logs just to keep the system running, but I need to find out if asterisk is dumping voice messages somewhere that should have been deleted, or some other issue that might be causing this space to be used up??? Any thoughts??? _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.169 / Virus Database: 270.7.3/1694 - Release Date: 26.09.2008 18:55