[asterisk-users] MixMonitor
Steve Edwards
asterisk.org at sedwards.com
Tue Nov 9 11:47:24 CST 2010
Un-top-posting...
> > 2010/11/5 Mickael MONSIEUR <mickael.monsieur at gmail.com
> >
> > Have you noticed a marked increase in CPU load when using MixMonitor?
> >
> > I use PHPAgi and Asterisk 1.6.2.9-2.
2010/11/5 Norbert Zawodsky <norbert at zawodsky.at>
> Obviously, if the box has more to do, CPU load will increase.
> What do you mean with "marked" ??
> 2010/11/5 Mickael MONSIEUR <mickael.monsieur at gmail.com>
>
> marked -> noticed.
>
> I do not know where it comes from, my CPU goes from 2% to 60-70% at a command Dial
> (sip) + MixMonitor. I have an Intel (R) Core (TM) 2 Duo CPU E4600 at 2.40GHz
> On Tue, Nov 9, 2010 at 2:32 PM, Mickael MONSIEUR <mickael.monsieur at gmail.com> wrote:
>
> After disabling MixMonitor, I realize that my CPU saturates as always!
>
> What my script PHP-AGI is fairly simple!
> - I answer a call
> - Some menus
> - I send the call to another line $this->exec_dial (SIP/provider/NUMBER, ...)
>
> And I was 75-80% using an E4600 at 2.40GHz! It is not logic !
> 2010/11/9 Marino Punturieri <mapunt at gmail.com>
>
> So it seems not related to MixMonitor.Are you 100% sure that your PHP-AGi script is not looping
> somewhere?
> On Tue, Nov 9, 2010 at 4:55 PM, Mickael MONSIEUR <mickael.monsieur at gmail.com> wrote:
> You think of a loop?
> This is possible because I use AGISIGHUP=no ..
>
> exten => s,1,set(AGISIGHUP=no);
> exten => s,2,AGI(myapp.agi) ;
>
> I will put lines and debug log file ... I do not think that Asterisk archive errors AGI script?
On Tue, 9 Nov 2010, Marino Punturieri wrote:
> Not sure, but you can try to increase debug log level and check whether you'll have more details
>
> You should try to understand which is the process that is taken you CPU.
Enabling agi debugging ('agi set debug on') at the Asterisk console may
yield clues.
What do 'top' or 'htop' show as the top CPU consumers?
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
More information about the asterisk-users
mailing list