Page 1 of 1
High Specs Hardware..LOad
Posted:
Tue Jul 20, 2010 11:43 am
by ruben23
- Code: Select all
top - 12:36:25 up 3:24, 2 users, load average: 11.11, 6.47, 3.31
Tasks: 147 total, 4 running, 143 sleeping, 0 stopped, 0 zombie
Cpu(s): 17.4%us, 76.8%sy, 0.0%ni, 5.8%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 4042340k total, 633836k used, 3408504k free, 40740k buffers
Swap: 9928696k total, 0k used, 9928696k free, 177728k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4972 root 20 0 535m 23m 6216 R 164 0.6 206:09.74 asterisk
21134 root 20 0 16356 1580 1240 R 98 0.0 3:36.22 asterisk
4869 mysql 20 0 684m 114m 5668 S 63 2.9 2:40.09 mysqld
5188 root 20 0 42984 8420 2528 S 3 0.2 0:12.02 AST_VDauto_dial
5191 root 20 0 47904 9292 2616 S 3 0.2 0:10.49 AST_manager_lis
5192 root 20 0 41280 6812 2536 S 3 0.2 0:21.17 AST_manager_sen
18303 root 20 0 26692 6132 1792 S 3 0.2 0:00.09 AST_send_action
5210 root 20 0 54276 10m 1520 S 3 0.3 0:03.68 FastAGI_log.pl
17884 root 20 0 26692 6132 1792 S 3 0.2 0:00.16 AST_send_action
18309 root 20 0 26692 6136 1792 S 3 0.2 0:00.08 AST_send_action
18288 root 20 0 26692 6136 1792 S 2 0.2 0:00.07 AST_send_action
18300 root 20 0 26696 6136 1792 S 2 0.2 0:00.07 AST_send_action
5212 root 20 0 54276 10m 1520 S 1 0.3 0:02.93 FastAGI_log.pl
5214 root 20 0 54276 10m 1520 S 1 0.3 0:02.51 FastAGI_log.pl
11381 www-data 20 0 196m 11m 6144 S 1 0.3 0:01.26 apache2
17314 root 20 0 54272 10m 1476 S 1 0.3 0:00.83 FastAGI_log.pl
5190 root 20 0 48156 9580 2624 R 1 0.2 0:21.76 AST_update.pl
18286 root 20 0 26692 6132 1792 S 1 0.2 0:00.06 AST_send_action
5173 root 20 0 23596 1028 596 S 1 0.0 0:02.72 screen
5175 root 20 0 23596 1028 600 S 1 0.0 0:02.28 screen
5179 root 20 0 23596 1028 600 S 1 0.0 0:00.67 screen
5194 root 20 0 45648 10m 2516 S 1 0.3 0:11.71 AST_VDadapt.pl
6825 www-data 20 0 195m 11m 6748 S 1 0.3 0:02.08 apache2
16994 www-data 20 0 195m 9.9m 5060 S 1 0.3 0:00.28 apache2
25393 www-data 20 0 203m 26m 13m S 1 0.7 0:03.78 apache2
7 root 15 -5 0 0 0 S 0 0.0 26:42.58 ksoftirqd/1
5074 www-data 20 0 195m 11m 6480 S 0 0.3 0:02.24 apache2
5075 www-data 20 0 195m 15m 9520 S 0 0.4 0:02.23 apache2
5076 www-data 20 0 195m 14m 9532 S 0 0.4 0:02.25 apache2
5177 root 20 0 23596 1024 600 S 0 0.0 0:01.41 screen
5189 root 20 0 41268 6716 2524 S 0 0.2 0:03.92 AST_VDremote_ag
5211 root 20 0 54276 10m 1520 S 0 0.3 0:03.22 FastAGI_log.pl
6826 www-data 20 0 195m 13m 8488 S 0 0.3 0:01.96 apache2
7165 www-data 20 0 195m 10m 5932 S 0 0.3 0:02.04 apache2
11569 www-data 20 0 195m 13m 8296 S 0 0.3 0:00.98 apache2
12674 www-data 20 0 195m 10m 5756 S 0 0.3 0:01.31 apache2
13635 www-data 20 0 195m 9452 4476 S 0 0.2 0:00.94 apache2
14025 www-data 20 0 195m 9696 4504 S 0 0.2 0:00.59 apache2
15988 www-data 20 0 195m 12m 7828 S 0 0.3 0:00.19 apache2
16441 www-data 20 0 195m 12m 7124 S 0 0.3 0:00.24 apache2
16466 www-data 20 0 195m 9328 4376 S 0 0.2 0:00.81 apache2
16520 www-data 20 0 195m 9032 4084 S 0 0.2 0:00.81 apache2
16961 www-data 20 0 195m 9084 4128 S 0 0.2 0:00.40 apache2
17013 www-data 20 0 195m 9136 4176 S 0 0.2 0:00.21 apache2
The setup is single server with HP Server with specs of:
INtel Quad Core 2.6Ghz
4GB Ram DDR2
250 GB SATA II
-Asterisk 1.4.30-vici
-VERSION: 2.4-261
BUILD: 100703-1322
-Dahdi current version
Im Having Problem getting HIGH load average during Production for only dialing around 8-10 agents.
Im worried of the numbers it reaches with the Server Load average. Its only 10 agents if i set this to 25 agents might the load is really overwhelming. Any suggestion to lessen up load average.? my hardware specs is a bit high.
Posted:
Tue Jul 20, 2010 1:44 pm
by mflorell
Linux distro?
Number of CPU cores?
Why is there more than one asterisk process running?
Your system processor load looks really high.
We haven't really tested 1.4.30-vici, this is a test build that we put up there for people to test. The most recent version we have tested is the 1.4.27.1-vici build.
Posted:
Tue Jul 20, 2010 4:45 pm
by ruben23
Linux Distro - Ubuntu 8.04 LTS
Number od CPU cores - 4 Cores
- Code: Select all
Why is there more than one asterisk process running?
This part im really confused why there are two asterisk running on my system, im not sure about this but during the install i just load the init file vicidial on init.d and also during install with asterisk i also run command make config, because when i wont do that asterisk will not start automatically during reboot by just uisng the init file vicidial..,is this a wrong setup..? please help and make suggestion.
-Does init file vicidial will make asterisk start automatically on reboot no need to run make config on the asterisk side..? this might cause 2 asterisk running
[/code]
Posted:
Tue Jul 20, 2010 8:37 pm
by mflorell
ViciDial needs to start the Asterisk process with the start_asterisk_boot.pl script
Posted:
Wed Jul 21, 2010 12:14 am
by ruben23
@matt
-How do i do that..? able to start with start_asterisk_boot.pl script, is this script not part and separted from the vicidial startup script..?
-any point and ideas you how to do it looks like my 3 installation are having same output 2 asterisk running on the top or htop process monitoring..
-Please a dimple guide would help my setup, Thanks
Posted:
Wed Jul 21, 2010 11:37 am
by ruben23
hi guys any idea on this.. please..?
Posted:
Wed Jul 21, 2010 11:43 am
by boybawang
did you try to reinstall? that loads really high, did you try to do a memory cycle, could be hardware
Posted:
Wed Jul 21, 2010 11:47 am
by ruben23
@boybawang
I think the issue is with my process im running 2 asterisk at the same time., this could be when i run make config while installing asterisk and also adding the vicidial init script.,
Just want to know if vicidial inti script can run asterisk automatically on startup on start_asterisk_boot.pl script, coz when i dont do make config on the asterisk compile i rebooted asterisk its not starting at all, i need to spawn it with asterisk command to run. so thats the reason i executed make config and it work. The only problem is as you see i got two asterisk process running at the same time.
Posted:
Wed Jul 21, 2010 12:15 pm
by boybawang
you mean to say your running 2 asterisk processes at the same time intentionally?
Posted:
Wed Jul 21, 2010 12:16 pm
by boybawang
when installing asterisk under vicidial , you only do make samples, also with zaptel you dont do a make config, to verify this one you can look at /etc/init.d and youll see all the startup processes there
Posted:
Wed Jul 21, 2010 12:21 pm
by ruben23
@boybawang
no not intentionally its just happened that my process may have brought out the issue of having 2 asterisk process on my vicidial server which might be the culprit of high load..
-one question when you compile asterisk on scratch you don't run command make config to build startup script for asterisk right..? you depend on vicidial init script for the asterisk to boot automatically when rebooted
-is vicidial init script includes startup script for asterisk..?
Posted:
Wed Jul 21, 2010 12:40 pm
by boybawang
did you try checking your rc.local file? and /etc/init.d/
Posted:
Wed Jul 21, 2010 12:43 pm
by boybawang
also its impossible to run 2 asterisk process in a single operating system unless chroot'd so if ever the first asterisk service starts up the 2nd asterisk process will just error out telling that asterisk has already been run and tell you to do an asterisk -r to connect to it
Posted:
Wed Jul 21, 2010 12:50 pm
by ruben23
@boybawang
on my init.d i got this script file:
- Code: Select all
root@Gatewayx:/etc/init.d# ls
acpid checkfs.sh hostname.sh module-init-tools networking rcS skeleton umountfs
apache2 checkroot.sh hwclockfirst.sh mountall-bootclean.sh ntp README ssh umountnfs.sh
apparmor console-screen.sh hwclock.sh mountall.sh nvidia-kernel reboot stop-bootlogd umountroot
asterisk console-setup keyboard-setup mountdevsubfs.sh pcmciautils rmnologin stop-bootlogd-single urandom
atd cron killprocs mountkernfs.sh pppd-dns rsync sysklogd vicidial
bootclean dns-clean klogd mountnfs-bootclean.sh procps screen-cleanup udev waitnfs.sh
bootlogd glibc.sh linux-restricted-modules-common mountoverflowtmp rc sendsigs udev-finish wpa-ifupdown
bootmisc.sh halt loopback mtab.sh rc.local single ufw zaptel
i got vicidial and asterisk and my rc.local is empty.
see this top monitoring i got 2 asterisk running:
- Code: Select all
top - 12:36:25 up 3:24, 2 users, load average: 11.11, 6.47, 3.31
Tasks: 147 total, 4 running, 143 sleeping, 0 stopped, 0 zombie
Cpu(s): 17.4%us, 76.8%sy, 0.0%ni, 5.8%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 4042340k total, 633836k used, 3408504k free, 40740k buffers
Swap: 9928696k total, 0k used, 9928696k free, 177728k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4972 root 20 0 535m 23m 6216 R 164 0.6 206:09.74 asterisk
21134 root 20 0 16356 1580 1240 R 98 0.0 3:36.22 asterisk
4869 mysql 20 0 684m 114m 5668 S 63 2.9 2:40.09 mysqld
5188 root 20 0 42984 8420 2528 S 3 0.2 0:12.02 AST_VDauto_dial
5191 root 20 0 47904 9292 2616 S 3 0.2 0:10.49 AST_manager_lis
5192 root 20 0 41280 6812 2536 S 3 0.2 0:21.17 AST_manager_sen
18303 root 20 0 26692 6132 1792 S 3 0.2 0:00.09 AST_send_action
5210 root 20 0 54276 10m 1520 S 3 0.3 0:03.68 FastAGI_log.pl
17884 root 20 0 26692 6132 1792 S 3 0.2 0:00.16 AST_send_action
18309 root 20 0 26692 6136 1792 S 3 0.2 0:00.08 AST_send_action
18288 root 20 0 26692 6136 1792 S 2 0.2 0:00.07 AST_send_action
18300 root 20 0 26696 6136 1792 S 2 0.2 0:00.07 AST_send_action
5212 root 20 0 54276 10m 1520 S 1 0.3 0:02.93 FastAGI_log.pl
5214 root 20 0 54276 10m 1520 S 1 0.3 0:02.51 FastAGI_log.pl
11381 www-data 20 0 196m 11m 6144 S 1 0.3 0:01.26 apache2
17314 root 20 0 54272 10m 1476 S 1 0.3 0:00.83 FastAGI_log.pl
5190 root 20 0 48156 9580 2624 R 1 0.2 0:21.76 AST_update.pl
18286 root 20 0 26692 6132 1792 S 1 0.2 0:00.06 AST_send_action
5173 root 20 0 23596 1028 596 S 1 0.0 0:02.72 screen
5175 root 20 0 23596 1028 600 S 1 0.0 0:02.28 screen
5179 root 20 0 23596 1028 600 S 1 0.0 0:00.67 screen
5194 root 20 0 45648 10m 2516 S 1 0.3 0:11.71 AST_VDadapt.pl
6825 www-data 20 0 195m 11m 6748 S 1 0.3 0:02.08 apache2
16994 www-data 20 0 195m 9.9m 5060 S 1 0.3 0:00.28 apache2
25393 www-data 20 0 203m 26m 13m S 1 0.7 0:03.78 apache2
7 root 15 -5 0 0 0 S 0 0.0 26:42.58 ksoftirqd/1
5074 www-data 20 0 195m 11m 6480 S 0 0.3 0:02.24 apache2
5075 www-data 20 0 195m 15m 9520 S 0 0.4 0:02.23 apache2
5076 www-data 20 0 195m 14m 9532 S 0 0.4 0:02.25 apache2
5177 root 20 0 23596 1024 600 S 0 0.0 0:01.41 screen
5189 root 20 0 41268 6716 2524 S 0 0.2 0:03.92 AST_VDremote_ag
5211 root 20 0 54276 10m 1520 S 0 0.3 0:03.22 FastAGI_log.pl
6826 www-data 20 0 195m 13m 8488 S 0 0.3 0:01.96 apache2
7165 www-data 20 0 195m 10m 5932 S 0 0.3 0:02.04 apache2
11569 www-data 20 0 195m 13m 8296 S 0 0.3 0:00.98 apache2
12674 www-data 20 0 195m 10m 5756 S 0 0.3 0:01.31 apache2
13635 www-data 20 0 195m 9452 4476 S 0 0.2 0:00.94 apache2
14025 www-data 20 0 195m 9696 4504 S 0 0.2 0:00.59 apache2
15988 www-data 20 0 195m 12m 7828 S 0 0.3 0:00.19 apache2
16441 www-data 20 0 195m 12m 7124 S 0 0.3 0:00.24 apache2
16466 www-data 20 0 195m 9328 4376 S 0 0.2 0:00.81 apache2
16520 www-data 20 0 195m 9032 4084 S 0 0.2 0:00.81 apache2
16961 www-data 20 0 195m 9084 4128 S 0 0.2 0:00.40 apache2
17013 www-data 20 0 195m 9136 4176 S 0 0.2 0:00.21 apache2
Posted:
Wed Jul 21, 2010 1:32 pm
by boybawang
remove zaptel and asterisk in your /etc/init.d and do a reboot after
Posted:
Wed Jul 21, 2010 1:45 pm
by ruben23
@boybawang
Thanks i got it, it drops my load almost 70 percent, now getting 0.56 load avg.
-basically the issue is i used asterisk/zaptel script while using also the asterisk and zaptel (vicidial init script)
-second i used vicidial init script which i installed dahdi, suppost this is for zaptel. now im doing vicidial-dahdi and it work well.
Thanks again for walking through the process.
Posted:
Wed Jul 21, 2010 1:53 pm
by boybawang
i guess the conflict came when you loaded the zaptel init script, also if your using ubuntu LTS 8.0.4 you dont need to use dahdi since the 2.6-27 kernel supports zaptel really well, the asterisk 1.4.21.2-vici is also a stable asterisk version, its been running on several servers I have deployed without any problem