REcording RAM

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

REcording RAM

Postby braditm » Tue Feb 09, 2010 5:23 am

Hello

Vicidial 2.0.5
Mutltiservers architecture with 4 separated servers:
Each server has 4 x 2,33 Ghz with 4 G of RAM
1 asterisk 1.2
1 my SQL
1 Apache
1 ftp

70 inbound calls
30 outbound calls (manual)

I'm recording all calls
But my CPU is going very high : load average above 8
Without recording, it is using around 2 in load average

1) How can I check if the recording are done on RAM ?
2) What should i do in order to make recording using ram
3) What else should i check
4) Any other ideas to save some CPU
braditm
 
Posts: 7
Joined: Wed Feb 03, 2010 5:03 am

Postby williamconley » Mon Mar 08, 2010 3:15 pm

1) Have you purchased the manager's manual yet?

2) Please post the vicidial version AND BUILD (you were close!)

3) please also mention whether there is any other software on the server.

I note that you say server load 8, but you failed to mention on which server. I am left to assume it is the asterisk server (i hate assuming, but this seems highly likely, so I'll go with it). You may wish to consider using the unused CPU of your other servers by using your MySQL and / or FTP servers as dialers or by simply adding another asterisk server.

I believe the managers manual details setting up RAM recordings (which would be why i asked if you purchased one yet).

However, recording calls IS CPU intense and you may find that configuration does not resolve your lack of available CPU on the single asterisk. so ... combine MySQL and apache and recycle the mysql machine as an asterisk server, perhaps the ftp server ... check all your CPUs during "high use" and see which one has some (or a lot of) available CPU. then stop wasting it :)
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: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby batman256 » Sat Mar 13, 2010 7:04 am

hye,
i have the some problem , i purchased the managers manual (2.2.0) but i don't find how to setting up RAM recordings ? can you give me the pages number please ?
batman256
 
Posts: 21
Joined: Fri Feb 27, 2009 6:45 am

Postby williamconley » Sat Mar 13, 2010 9:06 am

batman256 wrote:hye,
i have the some problem , i purchased the managers manual (2.2.0) but i don't find how to setting up RAM recordings ? can you give me the pages number please ?
I stand corrected, the directions are in the Free Scratch Install Instructions

20. vi /etc/fstab # to include the following line for recording to RAM
tmpfs /var/spool/asterisk/monitor tmpfs rw 0 0


available at http://astguiclient.sourceforge.net/scr ... stall.html
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: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby gardo » Sun Mar 14, 2010 2:45 pm

If you're using VicidialNOW, edit "/etc/rc.local" and uncomment the following:

### uncomment If kernel RAM drive is enabled
#mke2fs -m 0 /dev/ram0
#mount /dev/ram0 /var/spool/asterisk/monitor
#mkdir /var/spool/asterisk/monitor/DONE
#mkdir /var/spool/asterisk/monitor/ORIG

Should look like this:

### uncomment If kernel RAM drive is enabled
mke2fs -m 0 /dev/ram0
mount /dev/ram0 /var/spool/asterisk/monitor
mkdir /var/spool/asterisk/monitor/DONE
mkdir /var/spool/asterisk/monitor/ORIG

You also need to edit "/boot/grub/menu.1st". Look for the line:

kernel /vmlinuz-2.6.18-164.el5.vnow ro root=LABEL=/

Append "ramdisk_size=512000" (512 MB) to it.

Should look like this:

kernel /vmlinuz-2.6.18-164.el5.vnow ro root=LABEL=/ ramdisk_size=512000

Restart your server after the changes.
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby williamconley » Sun Mar 14, 2010 3:37 pm

step by step instructions for setting up ram recordings. very cool.
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: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby batman256 » Wed Mar 17, 2010 6:16 am

thanks for your response
batman256
 
Posts: 21
Joined: Fri Feb 27, 2009 6:45 am


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 58 guests