Page 1 of 1

disk space clean!!

PostPosted: Mon Apr 28, 2014 10:25 am
by RukuBaruku
I need to clean some space in my vicidial server. I have deleted all recording in var/spool/asterisk/monitorDONE/ORIG and the situation is like this!

Code: Select all
Filesystem           1M-blocks      Used Available Use% Mounted on
/dev/cciss/c0d0p2        29230      2113     25632   8% /
devtmpfs                  1508         1      1508   1% /dev
tmpfs                     1509         1      1509   1% /dev/shm
/dev/cciss/c0d0p1          486        26       435   6% /boot
/dev/cciss/c0d1p1       137808    119094     11714  92% /var
tmpfs                     1509         2      1508   1% /var/spool/asterisk/monitor

[edited for legibility - williamconley]

CAN SOMEONE HELP

Re: disk space clean!!

PostPosted: Mon Apr 28, 2014 11:08 am
by RukuBaruku
/dev/cciss/c0d1p1 137808 119094 11714 92% /var

Can i delete this file?

Re: disk space clean!!

PostPosted: Tue Apr 29, 2014 3:28 am
by boybawang
try doing du -m /var

so you can see what folders are eating up sizes

Re: disk space clean!!

PostPosted: Tue Apr 29, 2014 3:30 am
by boybawang
my guess is that it would be /var/log/astguiclient and /var/log/apache2 or /var/log/httpd folders are eating up space, you will need to disable AGI and Server logging on your server and also apache2 or httpd logging

Re: disk space clean!!

PostPosted: Sat May 03, 2014 11:44 pm
by williamconley
boybawang wrote:my guess is that it would be /var/log/astguiclient and /var/log/apache2 or /var/log/httpd folders are eating up space, you will need to disable AGI and Server logging on your server and also apache2 or httpd logging

concur. Also the /var/log/asterisk folder can help bog down the drive. It is SAFE to delete all logs in /var/log/astguiclient and /var/log/asterisk any time you get bored, even during operation (although the /var/log/astguiclient/archive folder SHOULD have your backups in it ... don't delete those until after you've copied them to another location!). You can also check /var/log itself (and ALL subfolders) to see if you have any stray errors causing excess log entries and filling the drive.

Note that while you may clear out the ORIG folder for sounds, if you are not archiving your client audio recordings they will eventually fill the drive with GSM or MP3 (whichever you are using). Activate the audio archiving function and get yourself a nice FTP/Web service to permanently store your audio files. They can remain linked in the vicidial report screens if you perform this operation properly (ie: clicking on a recording in Vicidial will play the recording from the new archived location seamlessly to the user). Do not store audio files on Vicidial servers as Vicidial kills hard drives ...and all this data will disappear when the drive dies. You should also be pushing your database backups to an FTP server (either the same one or a different one). The /etc/astguiclient.conf file is where the credentials should go for pushing the audio files and the backup files (which go to the "Reports" FTP server). There is an audio "pusher" script in "crontab -e" and there is an Admin Backup script in /usr/share/astguiclient which can be PUT in "crontab -e" after you test it to automatically push your DB every night at 11:45PM to get "yesterday's data" backed up every night and pushed OFF the server without any intervention (or memory) on your part.

Re: disk space clean!!

PostPosted: Mon May 12, 2014 8:37 am
by RukuBaruku
i checked and the folders that are eating my space are all in
var/spool/asterisk/voicemail

ABOUT 93 GB :shock:

should I DELETE SOME OF THEM???

Re: disk space clean!!

PostPosted: Mon May 12, 2014 9:31 am
by geoff3dmg
Do you use voicemail?

Re: disk space clean!!

PostPosted: Mon May 12, 2014 3:51 pm
by RukuBaruku
No! I dont use voice-mail.

Re: disk space clean!!

PostPosted: Tue May 13, 2014 3:18 am
by geoff3dmg
I would investigate as to how these are being generated, it's either your agents messing around calling each others extensions or you have a ingroup set to go to voicemail. You can simply delete the contents of '/var/spool/asterisk/voicemail/default'.