Page 1 of 1

performance problem

PostPosted: Tue Jan 19, 2010 12:04 pm
by issam123
Hello
we have a vicibox server with a dell dual core xeon 1.86 ghz and 2Go RAM we use a all calls recording campaign and we use ram drive tode recording.
we have a performance problem when the agent have a call he show the lead details after 5second in his web interface.
how can we resolve this
top command:
top - 18:03:21 up 26 min, 2 users, load average: 12.17, 10.84, 7.62
Tasks: 194 total, 1 running, 193 sleeping, 0 stopped, 0 zombie
Cpu(s): 50.2%us, 30.2%sy, 0.0%ni, 18.8%id, 0.0%wa, 0.3%hi, 0.5%si, 0.0%st
Mem: 2075340k total, 779844k used, 1295496k free, 15688k buffers
Swap: 2940920k total, 0k used, 2940920k free, 444380k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4681 mysql 20 0 603m 82m 5264 S 101 4.1 22:48.68 mysqld
5006 root 20 0 69292 24m 5244 S 11 1.2 7:49.88 asterisk
5066 root 20 0 9956 6740 2384 S 5 0.3 0:55.53 AST_update.pl
26731 root 20 0 5808 4256 1660 S 2 0.2 0:00.06 AST_send_action
26728 root 20 0 5808 4260 1660 S 2 0.2 0:00.05 AST_send_action
4977 root 20 0 8596 5408 2296 S 1 0.3 0:10.20 AST_VDauto_dial
14121 www-data 20 0 70900 7136 3720 S 1 0.3 0:00.68 apache2
1 root 20 0 2844 1692 548 S 0 0.1 0:01.44 init
4980 root 20 0 8092 4812 2296 S 0 0.2 0:00.76 AST_VDremote_ag
4999 root 20 0 10792 6552 1424 S 0 0.3 0:00.94 FastAGI_log.pl
5069 root 20 0 8200 4968 2316 S 0 0.2 0:06.44 AST_manager_sen
5072 root 20 0 9664 6436 2380 S 0 0.3 0:05.02 AST_manager_lis
6025 www-data 20 0 70896 7156 3732 S 0 0.3 0:01.26 apache2
6135 www-data 20 0 70900 7220 3792 S 0 0.3 0:00.85 apache2
6423 www-data 20 0 70900 7136 3720 S 0 0.3 0:00.95 apache2
6737 root 20 0 10792 6592 1456 S 0 0.3 0:00.84 FastAGI_log.pl

how can we resolve this? thanks

PostPosted: Wed Jan 20, 2010 1:14 am
by mflorell
loadavg is WAY too high.

How many agents?

What kind of trunks?

line-to-agent ratio?

PostPosted: Wed Jan 20, 2010 11:06 am
by issam123
Hello
Thanks for response
we have a voip trunk , 20 agents and 3.5:1 ratio
Thanks

PostPosted: Thu Jan 21, 2010 10:42 pm
by mflorell
What codec are you using?

PostPosted: Fri Jan 22, 2010 1:53 am
by issam123
no compression for agents and we use g729 for trunk

PostPosted: Fri Jan 22, 2010 7:36 am
by mflorell
I think you need at least one more server, possibly two. G729 compression should be moved to a separate server or at least a codec transcoding card(from Digium or Howler Technologies) because that is causing most of the load on your server.