David @ULC
2009-May-01 09:57 UTC
[asterisk-users] LoadAvg , Codec and Bandwidth Utilisation
1) If I see the Loadavg more than 4 , whats the immediate solution to get it under 1 APART from restarting the server ? 2) I get too much of cross connections. Can Codec be the culprit ? I use g729. Can using GSM will solve the problem ? What could be the other reasons ? 3) Anyway to measure the bandwidth utilisation from the server ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090501/170922aa/attachment.htm
--[ UxBoD ]--
2009-May-01 10:05 UTC
[asterisk-users] LoadAvg , Codec and Bandwidth Utilisation
----- "David @ULC" <ucoms2001 at gmail.com> wrote:> 1) If I see the Loadavg more than 4 , whats the immediate solution to get it under 1 APART from restarting the server ? >>2) I get too much of cross connections. Can Codec be the culprit ? I use g729. Can using GSM will solve the problem ? What could be the other reasons ?>3) Anyway to measure the bandwidth utilisation from the server ?>> > _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users >Perhaps some additional information like :- Country ? Bandwidth available ? Number of simultaneous calls ? Best Regards, -- SplatNIX IT Services :: Innovation through collaboration
Gordon Henderson
2009-May-01 10:06 UTC
[asterisk-users] LoadAvg , Codec and Bandwidth Utilisation
On Fri, 1 May 2009, David @ULC wrote:> 1) If I see the Loadavg more than 4 , whats the immediate solution to get it > under 1 APART from restarting the server ?How many concurrent calls are transcoding? Load average isn't always a good measure of cpu utilisation. Traditionally it just means the number of processes that are running (or waiting on IO) averaged over a period of time.> 2) I get too much of cross connections. > Can Codec be the culprit ? I use g729. Can using GSM will solve the problem > ? What could be the other reasons ?Transcoding to/from complex codecs (g729, gsm) requires CPU usage. Ye canny change the laws o physics... However you can buy hardware accellerators.> 3) Anyway to measure the bandwidth utilisation from the server ?iftop Gordon
David @ULC
2009-May-01 11:16 UTC
[asterisk-users] LoadAvg , Codec and Bandwidth Utilisation
I have 2 MB of Lease line.
This is What I see :
[root at vicidialnow ~]# iftop
interface: eth0
IP address is: 192.168.0.100
1.91Mb 3.81Mb 5.72Mb
7.63Mb 9.54Mb
?????????????????????????????????????????????????????????????????????????????????????????????????
192.168.0.100 => 192.168.0.114
86.4Kb 87.3Kb 84.1Kb
<90.6Kb 91.8Kb 86.3Kb
192.168.0.100 => 192.168.0.113
86.7Kb 86.9Kb 86.3Kb
<90.9Kb 91.1Kb 89.8Kb
192.168.0.100 => 192.168.0.122
87.4Kb 87.1Kb 87.2Kb
<92.6Kb 90.6Kb 90.5Kb
192.168.0.100 => 192.168.0.117
86.4Kb 86.6Kb 85.6Kb
<90.6Kb 90.5Kb 88.7Kb
192.168.0.100 => 192.168.0.120
83.0Kb 86.3Kb 86.1Kb
<84.0Kb 89.5Kb 89.5Kb
192.168.0.100 => 192.168.0.118
83.0Kb 84.5Kb 84.8Kb
<84.8Kb 86.3Kb 87.3Kb
192.168.0.100 => 192.168.0.126
83.2Kb 83.5Kb 84.4Kb
<84.2Kb 85.1Kb 86.5Kb
192.168.0.100 => 192.168.0.124
83.3Kb 83.3Kb 83.7Kb
<84.3Kb 84.7Kb 85.2Kb
192.168.0.100 => 192.168.0.121
83.2Kb 83.1Kb 83.5Kb
<85.1Kb 84.8Kb 85.4Kb
192.168.0.100 => 192.168.0.116
82.9Kb 82.9Kb 83.8Kb
<84.4Kb 84.9Kb 85.8Kb
192.168.0.100 => 192.168.0.115
83.0Kb 83.1Kb 83.4Kb
<84.7Kb 84.6Kb 84.9Kb
192.168.0.100 => 192.168.0.104
83.0Kb 83.0Kb 83.5Kb
<84.7Kb 84.4Kb 85.1Kb
192.168.0.100 => 192.168.0.127
78.1Kb 78.1Kb 78.2Kb
<78.9Kb 78.6Kb 78.7Kb
192.168.0.100 => 192.168.0.125
78.1Kb 78.1Kb 78.1Kb
<78.9Kb 78.6Kb 78.6Kb
?????????????????????????????????????????????????????????????????????????????????????????????????
TX: cumm: 6.47MB peak: 1.30Mb rates:
1.23Mb 1.26Mb 1.26Mb
RX: 6.45MB 1.28Mb
1.25Mb 1.26Mb 1.26Mb
TOTAL: 12.9MB 2.58Mb
2.47Mb 2.51Mb 2.51Mb
On Fri, May 1, 2009 at 3:27 PM, David @ULC <ucoms2001 at gmail.com> wrote:
> 1) If I see the Loadavg more than 4 , whats the immediate solution to get
> it under 1 APART from restarting the server ?
>
> 2) I get too much of cross connections.
> Can Codec be the culprit ? I use g729. Can using GSM will solve the problem
> ? What could be the other reasons ?
>
> 3) Anyway to measure the bandwidth utilisation from the server ?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20090501/1724ffae/attachment-0001.htm
David @ULC
2009-May-01 16:10 UTC
[asterisk-users] LoadAvg , Codec and Bandwidth Utilisation
Box is working but sometimes cross connection issues Looks like my box is saving too many voice mails and due to which LoadAvg is going high. How to disable it ? Also, I am recording all calls.. 2009/5/1 David @ULC <ucoms2001 at gmail.com>> > I have 2 MB of Lease line. > > This is What I see : > > > [root at vicidialnow ~]# iftop > interface: eth0 > IP address is: 192.168.0.100 > > 1.91Mb 3.81Mb 5.72Mb > 7.63Mb 9.54Mb > > ????????????????????????????????????????????????????????????????????????????????????????????????? > 192.168.0.100 => 192.168.0.114 > 86.4Kb 87.3Kb 84.1Kb > <> 90.6Kb 91.8Kb 86.3Kb > 192.168.0.100 => 192.168.0.113 > 86.7Kb 86.9Kb 86.3Kb > <> 90.9Kb 91.1Kb 89.8Kb > 192.168.0.100 => 192.168.0.122 > 87.4Kb 87.1Kb 87.2Kb > <> 92.6Kb 90.6Kb 90.5Kb > 192.168.0.100 => 192.168.0.117 > 86.4Kb 86.6Kb 85.6Kb > <> 90.6Kb 90.5Kb 88.7Kb > 192.168.0.100 => 192.168.0.120 > 83.0Kb 86.3Kb 86.1Kb > <> 84.0Kb 89.5Kb 89.5Kb > 192.168.0.100 => 192.168.0.118 > 83.0Kb 84.5Kb 84.8Kb > <> 84.8Kb 86.3Kb 87.3Kb > 192.168.0.100 => 192.168.0.126 > 83.2Kb 83.5Kb 84.4Kb > <> 84.2Kb 85.1Kb 86.5Kb > 192.168.0.100 => 192.168.0.124 > 83.3Kb 83.3Kb 83.7Kb > <> 84.3Kb 84.7Kb 85.2Kb > 192.168.0.100 => 192.168.0.121 > 83.2Kb 83.1Kb 83.5Kb > <> 85.1Kb 84.8Kb 85.4Kb > 192.168.0.100 => 192.168.0.116 > 82.9Kb 82.9Kb 83.8Kb > <> 84.4Kb 84.9Kb 85.8Kb > 192.168.0.100 => 192.168.0.115 > 83.0Kb 83.1Kb 83.4Kb > <> 84.7Kb 84.6Kb 84.9Kb > 192.168.0.100 => 192.168.0.104 > 83.0Kb 83.0Kb 83.5Kb > <> 84.7Kb 84.4Kb 85.1Kb > 192.168.0.100 => 192.168.0.127 > 78.1Kb 78.1Kb 78.2Kb > <> 78.9Kb 78.6Kb 78.7Kb > 192.168.0.100 => 192.168.0.125 > 78.1Kb 78.1Kb 78.1Kb > <> 78.9Kb 78.6Kb 78.6Kb > > ????????????????????????????????????????????????????????????????????????????????????????????????? > TX: cumm: 6.47MB peak: 1.30Mb rates: > 1.23Mb 1.26Mb 1.26Mb > RX: 6.45MB 1.28Mb > 1.25Mb 1.26Mb 1.26Mb > TOTAL: 12.9MB 2.58Mb > 2.47Mb 2.51Mb 2.51Mb > > > > > On Fri, May 1, 2009 at 3:27 PM, David @ULC <ucoms2001 at gmail.com> wrote: > >> 1) If I see the Loadavg more than 4 , whats the immediate solution to get >> it under 1 APART from restarting the server ? >> >> 2) I get too much of cross connections. >> Can Codec be the culprit ? I use g729. Can using GSM will solve the >> problem ? What could be the other reasons ? >> >> 3) Anyway to measure the bandwidth utilisation from the server ? >> >> >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090501/c4834fe2/attachment.htm
David @ULC
2009-May-01 18:54 UTC
[asterisk-users] LoadAvg , Codec and Bandwidth Utilisation
[root]# top
top - 20:19:40 up 53 min, 1 user, load average: 9.54, 7.85, 6.44
Tasks: 224 total, 1 running, 223 sleeping, 0 stopped, 0 zombie
Cpu(s): 7.5%us, 3.8%sy, 0.0%ni, 28.6%id, 59.1%wa, 0.2%hi, 0.8%si,
0.0%st
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2835 root 15 0 41252 14m 4932 S 5 0.4 1:08.82 asterisk
2456 mysql 15 0 154m 28m 4480 S 2 0.8 0:42.05 mysqld
2995 root 16 0 12380 7220 2740 S 1 0.2 0:21.56 AST_update.pl
10700 root 15 0 2304 1088 788 R 1 0.0 0:00.03 top
413 root 10 -5 0 0 0 D 0 0.0 0:02.54 kjournald
428 apache 15 0 58168 6460 2952 S 0 0.2 0:00.10 httpd
3004 root 15 0 11096 5804 2640 S 0 0.2 0:03.12 AST_VDauto_dial
6725 root 15 0 12644 7400 2600 S 0 0.2 0:00.90 AST_CRON_audio_
10428 root 18 0 21536 15m 2600 S 0 0.4 0:00.28 AST_CRON_audio_
13471 apache 15 0 58168 6780 3260 S 0 0.2 0:00.50 httpd
17253 root 15 0 13248 6696 1456 S 0 0.2 0:00.30 FastAGI_log.pl
29074 apache 15 0 58168 6692 3172 S 0 0.2 0:00.38 httpd
30454 root 16 0 21536 15m 2596 S 0 0.4 0:00.65 AST_CRON_audio_
1 root 15 0 2044 664 572 S 0 0.0 0:00.58 init
2 root RT 0 0 0 0 S 0 0.0 0:00.02 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0
5 root RT 0 0 0 0 S 0 0.0 0:00.01 migration/1
6 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/1
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20090502/e0467a92/attachment.htm
Dave Walker
2009-May-03 03:39 UTC
[asterisk-users] LoadAvg , Codec and Bandwidth Utilisation
<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><br><br><blockquote webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size: 10pt; color: black; font-family: verdana;"><div ><div>[root@vicidialnow ~]# iftop<br></div><div>interface: eth0</div><div>IP address is: 192.168.0.100</div> <div><br></div><div> 1.91Mb 3.81Mb 5.72Mb 7.63Mb 9.54Mb</div><div>└──────────────────┴──────────────────┴───────────────────┴──────────────────┴───────────────────</div></div></blockquote><div ><br>What package did you get this utility from? I want to try it out.. <br></div><blockquote webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size: 10pt; color: black; font-family: verdana;"><div > </div> </blockquote></span></body></html>
Jim Dickenson
2009-May-03 04:13 UTC
[asterisk-users] LoadAvg , Codec and Bandwidth Utilisation
http://www.ex-parrot.com/~pdw/iftop/ You can use http://www.rpmfind.net/ to find where stuff you are looking for can be found. -- Jim Dickenson mailto:dickenson at cfmc.com CfMC http://www.cfmc.com/ From: Dave Walker <dave at damcconsulting.com> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Date: Sat, 02 May 2009 20:39:10 -0700 To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Subject: Re: [asterisk-users] LoadAvg , Codec and Bandwidth Utilisation> [root at vicidialnow ~]# iftop > interface: eth0 > IP address is: 192.168.0.100 > > > 1.91Mb 3.81Mb 5.72Mb > 7.63Mb 9.54Mb > ?????????????????????????????????????????????????????????????????????????????? > ???????????????????What package did you get this utility from? I want to try it out.. _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090502/8e5f6c86/attachment.htm
Gordon Henderson
2009-May-03 08:14 UTC
[asterisk-users] LoadAvg , Codec and Bandwidth Utilisation
On Sat, 2 May 2009, Jim Dickenson wrote:> http://www.ex-parrot.com/~pdw/iftop/ > > You can use http://www.rpmfind.net/ to find where stuff you are looking for > can be found.Or apt-get install iftop on sensible distributions ;-) Gordon> -- > Jim Dickenson > mailto:dickenson at cfmc.com > > CfMC > http://www.cfmc.com/ > > > > > From: Dave Walker <dave at damcconsulting.com> > Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users at lists.digium.com> > Date: Sat, 02 May 2009 20:39:10 -0700 > To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users at lists.digium.com> > Subject: Re: [asterisk-users] LoadAvg , Codec and Bandwidth Utilisation > > > >> [root at vicidialnow ~]# iftop >> interface: eth0 >> IP address is: 192.168.0.100 >> >> >> 1.91Mb 3.81Mb 5.72Mb >> 7.63Mb 9.54Mb >> ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? >> ?????????????????????????????????????? > > What package did you get this utility from? I want to try it out.. > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >
David @ULC
2009-May-03 19:24 UTC
[asterisk-users] LoadAvg , Codec and Bandwidth Utilisation
Check this... http://prodsurvey.webng.com/top.jpg -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090504/f7bc5e7f/attachment.htm