[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-users
Subject:    Re: [asterisk-users] iowait issues on CentOS 7
From:       Victor Villarreal <mefhigoseth () gmail ! com>
Date:       2016-11-23 16:48:05
Message-ID: CAMkm1z2EkMQm2RczT4ormRHDboFJteh01f7-VKwYPfSyqUDDmg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Luca,

IO delay maybe come from Hard Disk lattency. You can exec an "lsof "
command to view what file asterisk proccess hold down when load spike.

If there are some call recording, you can configure Asterisk to make it in
a temp location, a RAM Disk in Linux.

If you make hard usage of the AstDB file, you can copy it to RAM too, to
avoid read/write to the disk.

Please, read this post about lsof:
http://0xfe.blogspot.com.ar/2006/03/troubleshooting-unix-systems-with-lsof.html

You can view something weird in Asterisk logs when high load ? Maybe enable
debug ?

You can install and setup "atop". Then you can review the system status
after the load peak and drill down, just to the problem.

Finally, for troubleshooting IO Wait on a Linux system, you can view this
post: http://bencane.com/2012/08/06/troubleshooting-high-io-wait-in-linux/

Cheers

2016-11-23 12:32 GMT-03:00 Luca Pradovera <luca.pradovera@gmail.com>:

> Hello!
> One of our customers has  an issue where our load average on two of the
> boxes spikes on peak loads. What I got from testing is consistent with what
> they were reporting: on CentOS 7, the load spikes in hockey stick fashion,
> from 40-50% up to 200%, with very high iowait values.
> On CentOS 6, load increases and decreases linearly and the machine never
> slows down.
>
> Asterisk version is 1.8.22.0, which is if course quite old (but it is what
> is installed).
> The CentOS 6 box actually has less RAM (8 Gb vs. 16 Gb), but other than
> that they are exactly identical in hardware configuration.
>
> I checked the usual culprits, but to no avail. Is this a known issue?
>
> Best regards,
>
> Luca
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
GnuPG Key ID: 0x39BCA9D8
https://www.github.com/mefhigoseth
...:::[ God Rulz ! ]:::...

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div><div><div><div><div><div>Hi Luca,<br><br></div>IO delay \
maybe come from Hard Disk lattency. You can exec an &quot;lsof &quot; command to view \
what file asterisk proccess hold down when load spike.<br><br></div>If there are some \
call recording, you can configure Asterisk to make it in a temp location, a RAM Disk \
in Linux.<br><br></div>If you make hard usage of the AstDB file, you can copy it to \
RAM too, to avoid read/write to the disk.<br><br></div>Please, read this post about \
lsof: <a href="http://0xfe.blogspot.com.ar/2006/03/troubleshooting-unix-systems-with-l \
sof.html">http://0xfe.blogspot.com.ar/2006/03/troubleshooting-unix-systems-with-lsof.html</a><br><br></div>You \
can view something weird in Asterisk logs when high load ? Maybe enable debug \
?<br><br></div>You can install and setup &quot;atop&quot;. Then you can review the \
system status after the load peak and drill down, just to the \
problem.<br><br></div>Finally, for troubleshooting IO Wait on a Linux system, you can \
view this post: <a href="http://bencane.com/2012/08/06/troubleshooting-high-io-wait-in \
-linux/">http://bencane.com/2012/08/06/troubleshooting-high-io-wait-in-linux/</a><br><br></div>Cheers<br></div><div \
class="gmail_extra"><br><div class="gmail_quote">2016-11-23 12:32 GMT-03:00 Luca \
Pradovera <span dir="ltr">&lt;<a href="mailto:luca.pradovera@gmail.com" \
target="_blank">luca.pradovera@gmail.com</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div>Hello!</div>One of our customers has   an \
issue where our load average on two of the boxes spikes on peak loads. What I got \
from testing is consistent with what they were reporting: on CentOS 7, the load \
spikes in hockey stick fashion, from 40-50% up to 200%, with very high iowait \
values.<br><div>On CentOS 6, load increases and decreases linearly and the machine \
never slows down.</div><div><br></div><div>Asterisk version is 1.8.22.0, which is if \
course quite old (but it is what is installed).</div><div>The CentOS 6 box actually \
has less RAM (8 Gb vs. 16 Gb), but other than that they are exactly identical in \
hardware configuration.</div><div><br></div><div>I checked the usual culprits, but to \
no avail. Is this a known issue?</div><div><br></div><div>Best \
regards,</div><div><br></div><div>Luca</div></div> <br>--<br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" \
rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br> <br>
Check out the new Asterisk community forum at: <a \
href="https://community.asterisk.org/" rel="noreferrer" \
target="_blank">https://community.asterisk.<wbr>org/</a><br> <br>
New to Asterisk? Start here:<br>
         <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" \
rel="noreferrer" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</a><br>
 <br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
     <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" \
rel="noreferrer" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br></blockquote></div><br><br \
clear="all"><br>-- <br><div class="gmail_signature" \
data-smartmail="gmail_signature">GnuPG Key ID: 0x39BCA9D8<br><a \
href="https://www.github.com/mefhigoseth" \
target="_blank">https://www.github.com/mefhigoseth</a><br>...:::[ God Rulz ! \
]:::...</div> </div>



-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic