Load Averages almost 100%

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

Load Averages almost 100%

Postby ca.torrez » Fri Nov 12, 2010 4:30 pm

Goautodial 2.0 from .iso | Vicidial 2.2.1 Build 100510-2015 | Asterisk 1.4.27.1-vici | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation

I'm worried about my server performance, I got more than 90% on load averages and my server is getting slower. I hope I can get some tips to improve my server's performance.[/img]
ca.torrez
 
Posts: 5
Joined: Fri Nov 05, 2010 5:40 pm

Postby ca.torrez » Fri Nov 12, 2010 5:58 pm

Server Info:
Microprocessor: Intel DualCore 1.8Ghz
Ram: 1 GB.
HD: 150 GB.

And I have only 3 agents using the dialer. Any help will be appreciated.

Thanks.
ca.torrez
 
Posts: 5
Joined: Fri Nov 05, 2010 5:40 pm

Postby gardo » Fri Nov 12, 2010 7:16 pm

Are you recording all calls? What codec are you using? Can you post the output of "top -c" when you're dialing? What do you mean you're server is getting slower?
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby ca.torrez » Fri Nov 12, 2010 9:11 pm

Campaign Recording: ALL FORCE
Codecs: aLaw, uLaw

Output of top -c

15961 root 18 0 3752 1860 616 R 57.8 0.2 0:03.48 /usr/bin/lame -b 16 -m m --silent /var/spool/asterisk/monitorDONE/201011
16067 root 18 0 4500 864 620 R 18.0 0.1 0:00.54 /usr/bin/soxmix /var/spool/asterisk/monitor/20101112-212627_2146576920-i
14076 apache 21 0 63548 21m 15m S 6.0 2.2 0:08.95 /usr/sbin/httpd
2422 mysql 16 0 157m 29m 5176 S 3.0 3.0 3:39.35 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql
16086 root 19 0 6268 4424 1744 S 2.7 0.4 0:00.08 /usr/bin/perl /usr/share/astguiclient/AST_send_action_child.pl --SYSLOG
2594 root 15 0 84944 24m 5492 S 1.7 2.5 7:12.82 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgcT
435 root 10 -5 0 0 0 S 1.0 0.0 0:08.60 [kjournald]
199 root 10 -5 0 0 0 S 0.7 0.0 0:05.98 [kswapd0]
2565 apache 15 0 63504 29m 23m S 0.7 3.0 0:18.90 /usr/sbin/httpd
2960 root 16 0 12624 7272 2736 S 0.7 0.7 4:18.22 /usr/bin/perl /usr/share/astguiclient/AST_update.pl
2975 root 15 0 14652 9276 2632 S 0.7 0.9 0:50.52 /usr/bin/perl /usr/share/astguiclient/AST_VDadapt.pl --debug
2561 apache 15 0 62984 21m 15m S 0.3 2.1 0:18.58 /usr/sbin/httpd
2564 apache 15 0 63128 21m 15m S 0.3 2.1 0:19.28 /usr/sbin/httpd
2955 root 16 0 6312 4436 1780 S 0.3 0.4 0:03.46 /usr/bin/perl /usr/share/goautodial/goautodiald.pl
5855 root 15 0 0 0 0 S 0.3 0.0 0:00.20 [pdflush]
14721 apache 15 0 63476 22m 16m S 0.3 2.2 0:10.41 /usr/sbin/httpd
14740 apache 15 0 61432 12m 8296 S 0.3 1.2 0:07.31 /usr/sbin/httpd
1 root 18 0 2072 628 540 S 0.0 0.1 0:00.49 init [3]
2 root RT -5 0 0 0 S 0.0 0.0 0:00.07 [migration/0]
3 root 34 19 0 0 0 S 0.0 0.0 0:00.01 [ksoftirqd/0]
4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 [watchdog/0]
5 root RT -5 0 0 0 S 0.0 0.0 0:00.19 [migration/1]
6 root 34 19 0 0 0 S 0.0 0.0 0:00.01 [ksoftirqd/1]
7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 [watchdog/1]
8 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 [events/0]
9 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 [events/1]
10 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 [khelper]
11 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 [kthread]
15 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 [kblockd/0]
16 root 10 -5 0 0 0 S 0.0 0.0 0:00.04 [kblockd/1]

My Server is run slow, because my agents were having problems logging in and server is not running as fast as before.
ca.torrez
 
Posts: 5
Joined: Fri Nov 05, 2010 5:40 pm

Postby ca.torrez » Sat Nov 13, 2010 9:41 am

My server is overloaded and I'm really worried since we have only 3 agents using it. One other thing that I realized is that my server is recording my calls in mp3 and wav formats. How can I have my server record my calls only in mp3 format?.

Im getting now:

Load averages 100%
and I have to delete my temp files all the time so we can have enough space to record all calls.

Any help will be appreciated. Thanks.
ca.torrez
 
Posts: 5
Joined: Fri Nov 05, 2010 5:40 pm

Postby gardo » Sat Nov 13, 2010 2:37 pm

You didn't post the complete output of "top -c". Specially the header part. Transcoding calls to MP3 really eats a lot of CPU resources. Either you change this to GSM or schedule the MP3 transcoding during off peak hours.

What kind of harddrive do you have? 150GB sounds pretty small and quite old nowadays. Try enabling RAM drives for your recordings. This will offload a lot of disk IO and CPU resources when you're recording all calls.
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 » Sat Nov 13, 2010 2:49 pm

ca.torrez wrote:And I have only 3 agents using the dialer.
the number of agents is a "hint" but not actually useful. how many simultaneous phone calls?

You can break it down by "prospect" and "agent" if you like, but the TOTAL number of calls is a determining factor in load, the number of agent can be ... misleading. ie: broadcast dialing can use 100 prospect lines per agent whereas manual dialing can often mean .9 prospect lines per agent.

I'm pretty sure your dialer should be able to handle 6 calls, but 303 calls is debatable (at best).

You could also mention your codec (compression is expensive in terms of CPU). And I would suggest you record in WAV and convert to mp3 at night if you are short on disk space (in which case you should have an archive server for your recordings anyway, and THAT box could convert from WAV to MP3).

And you should definitely get more RAM and set up a RAM disk for recording.
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!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 105 guests