disk space clean!!

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

disk space clean!!

Postby RukuBaruku » Mon Apr 28, 2014 10:25 am

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
Vicibox 5.03 from .iso | VERSION: 2.10-450a BUILD: 140822-1034 | 1.8.23.0-vici | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | HP ProLiant DL580 G5 E7310 1.6GHz Quad Core
RukuBaruku
 
Posts: 23
Joined: Mon Mar 17, 2014 4:47 am

Re: disk space clean!!

Postby RukuBaruku » Mon Apr 28, 2014 11:08 am

/dev/cciss/c0d1p1 137808 119094 11714 92% /var

Can i delete this file?
Vicibox 5.03 from .iso | VERSION: 2.10-450a BUILD: 140822-1034 | 1.8.23.0-vici | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | HP ProLiant DL580 G5 E7310 1.6GHz Quad Core
RukuBaruku
 
Posts: 23
Joined: Mon Mar 17, 2014 4:47 am

Re: disk space clean!!

Postby boybawang » Tue Apr 29, 2014 3:28 am

try doing du -m /var

so you can see what folders are eating up sizes
Vicidial Installation + Configuration + Support + Custom Development
Download my ebook on installing vicidial for free http://download.vicidial.com/ubuntu/VIC ... 100331.pdf
skype: deodax.cordova@gmail.com
m: +639172063730
boybawang
 
Posts: 989
Joined: Sat Nov 14, 2009 1:18 pm
Location: Dumaguete City, Negros Oriental, Philippines

Re: disk space clean!!

Postby boybawang » Tue Apr 29, 2014 3:30 am

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
Vicidial Installation + Configuration + Support + Custom Development
Download my ebook on installing vicidial for free http://download.vicidial.com/ubuntu/VIC ... 100331.pdf
skype: deodax.cordova@gmail.com
m: +639172063730
boybawang
 
Posts: 989
Joined: Sat Nov 14, 2009 1:18 pm
Location: Dumaguete City, Negros Oriental, Philippines

Re: disk space clean!!

Postby williamconley » Sat May 03, 2014 11:44 pm

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20346
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: disk space clean!!

Postby RukuBaruku » Mon May 12, 2014 8:37 am

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???
Vicibox 5.03 from .iso | VERSION: 2.10-450a BUILD: 140822-1034 | 1.8.23.0-vici | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | HP ProLiant DL580 G5 E7310 1.6GHz Quad Core
RukuBaruku
 
Posts: 23
Joined: Mon Mar 17, 2014 4:47 am

Re: disk space clean!!

Postby geoff3dmg » Mon May 12, 2014 9:31 am

Do you use voicemail?
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK

Re: disk space clean!!

Postby RukuBaruku » Mon May 12, 2014 3:51 pm

No! I dont use voice-mail.
Vicibox 5.03 from .iso | VERSION: 2.10-450a BUILD: 140822-1034 | 1.8.23.0-vici | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | HP ProLiant DL580 G5 E7310 1.6GHz Quad Core
RukuBaruku
 
Posts: 23
Joined: Mon Mar 17, 2014 4:47 am

Re: disk space clean!!

Postby geoff3dmg » Tue May 13, 2014 3:18 am

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'.
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK


Return to Support

Who is online

Users browsing this forum: No registered users and 62 guests