Slow Server performance !!

All installation and configuration problems and questions

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

Slow Server performance !!

Postby mohankumar » Fri Mar 23, 2007 12:53 am

I have installed asterisk and vicidial, And it successfully throws calls .But the problem is the server is slow so that when the agent dispositions calls the call is still active and it drops after few seconds.Also all the agents are able to listen to the same call.

Even whwn the agent logins into the agent page he is getting the ring so late...

Please help me to solve the issue....
mohankumar
 
Posts: 53
Joined: Mon Jan 22, 2007 5:40 am
Location: India

Postby enjay » Fri Mar 23, 2007 12:00 pm

Sounds like you have a couple problems.

A. the server load is so high that it is taking a while for the line to hangup.
B. Your agents are logging into the same conference (this typically happens when agents do not log out properly).

Please provide the following information:

a. asterisk version
b. system load details
c. vicidial version
d. what kind of lines? ZAP/SIP/IAX2?
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

@enjay

Postby mohankumar » Sun Mar 25, 2007 11:59 pm

a.My asterisk version is 1.2.14 the version in the scratch installation
b.for testing we used 10 clients.
c.System configuration : P4 3Ghz ,1 GB RAM.
d.astguiclient 2.0.2b2 version.
e.SIP
mohankumar
 
Posts: 53
Joined: Mon Jan 22, 2007 5:40 am
Location: India

Works for two hours!!

Postby mohankumar » Mon Mar 26, 2007 12:08 am

Server works for two hours and then it slows down...We can see a Live call but it shows the Time out screen and asking us to disposition the call....
mohankumar
 
Posts: 53
Joined: Mon Jan 22, 2007 5:40 am
Location: India

Postby mflorell » Tue Mar 27, 2007 5:35 am

What is the loadavg when this happens?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby mohankumar » Thu Mar 29, 2007 5:20 am

LoaAvg on the system is 26.49
mohankumar
 
Posts: 53
Joined: Mon Jan 22, 2007 5:40 am
Location: India

These are the processes running

Postby mohankumar » Thu Mar 29, 2007 5:35 am

Should i stop any of these processes..

top - 15:58:54 up 2:57, 1 user, load average: 19.79, 21.89, 21.95
Tasks: 201 total, 4 running, 194 sleeping, 0 stopped, 3 zombie
Cpu(s): 21.0% us, 8.7% sy, 0.0% ni, 0.0% id, 70.3% wa, 0.0% hi, 0.0% si
Mem: 1035100k total, 971076k used, 64024k free, 7984k buffers
Swap: 2096472k total, 160k used, 2096312k free, 762880k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
23385 root 18 0 4440 656 452 R 5.0 0.1 0:01.09 soxmix
23945 root 18 0 4848 656 452 R 4.7 0.1 0:01.01 soxmix
23895 root 18 0 4064 656 452 D 4.3 0.1 0:00.36 soxmix
23896 root 18 0 4544 656 452 D 4.0 0.1 0:00.35 soxmix
24183 root 18 0 3280 656 452 D 2.0 0.1 0:00.07 soxmix
1975 root 16 0 0 0 0 D 1.3 0.0 0:14.06 kjournald
2948 mysql 16 0 145m 27m 3864 S 1.0 2.7 3:05.93 mysqld
54 root 16 0 0 0 0 S 0.7 0.0 0:11.87 kswapd0
3403 root 16 0 2908 792 488 S 0.3 0.1 0:00.97 screen
13444 root 15 0 4984 2212 1312 S 0.3 0.2 0:00.71 AST_CRON_mix_re
1 root 16 0 3372 552 472 S 0.0 0.1 0:00.92 init
2 root 34 19 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/0
3 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 events/0
4 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 khelper
5 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 kacpid
34 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 kblockd/0
35 root 15 0 0 0 0 S 0.0 0.0 0:00.05 khubd
55 root 9 -10 0 0 0 S 0.0 0.0 0:00.00 aio/0
199 root 25 0 0 0 0 S 0.0 0.0 0:00.00 kseriod
310 root 24 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
311 root 15 0 0 0 0 S 0.0 0.0 0:00.00 ahd_dv_0
313 root 19 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1
314 root 15 0 0 0 0 S 0.0 0.0 0:00.00 ahd_dv_1
317 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 ata/0
319 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_2
332 root 15 0 0 0 0 S 0.0 0.0 0:00.12 kjournald
1497 root 6 -10 2740 452 380 S 0.0 0.0 0:00.00 udevd
1834 root 6 -10 0 0 0 S 0.0 0.0 0:00.00 kauditd
1903 root 6 -10 0 0 0 S 0.0 0.0 0:00.00 kmirrord
1974 root 19 0 0 0 0 S 0.0 0.0 0:00.00 kjournald
2577 root 15 0 2988 544 456 D 0.0 0.1 0:00.07 syslogd
2581 root 16 0 2340 384 316 S 0.0 0.0 0:00.00 klogd
2605 named 19 0 36988 2556 1696 S 0.0 0.2 0:00.00 named
2676 root 15 0 3064 724 620 S 0.0 0.1 0:00.00 rpc.statd
2702 root 16 0 4900 344 172 S 0.0 0.0 0:00.00 rpc.idmapd
2766 root 16 0 2268 508 300 S 0.0 0.0 0:00.00 smartd
2775 root 20 0 1620 436 368 S 0.0 0.0 0:00.00 acpid
mohankumar
 
Posts: 53
Joined: Mon Jan 22, 2007 5:40 am
Location: India

Postby mflorell » Thu Mar 29, 2007 7:42 am

That's your problem, that lodavg is way too high, you need to get at least one more server to move some of that load off.

You can also switch your codec to Ulaw or use another machine to do transcoding for you.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby eijal » Thu Mar 29, 2007 10:23 am

And for timer what are you using?
ztdummy or any card?
eijal
 
Posts: 186
Joined: Thu Feb 08, 2007 6:34 pm

Postby mohankumar » Thu Mar 29, 2007 12:28 pm

I am using ztdummy card....Also i found that sox
is taking more CPU usage...
Should i remove sox package ?
mohankumar
 
Posts: 53
Joined: Mon Jan 22, 2007 5:40 am
Location: India

Postby mflorell » Thu Mar 29, 2007 2:08 pm

Are you recording ALLCALLS as well?

If so, you will want to modify your crontab settings to only run the mix_recordings script during off-hours.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 138 guests