Un-top-posting...
> 2010/11/5 Mickael MONSIEUR <[email protected]
>
> 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 <[email protected]>
Obviously, if the box has more to do, CPU load will increase.
What do you mean with "marked" ??
2010/11/5 Mickael MONSIEUR <[email protected]>
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
[email protected]
On Tue, Nov 9, 2010 at 2:32 PM, Mickael MONSIEUR <[email protected]>
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 [email protected]! It is not logic !
2010/11/9 Marino Punturieri <[email protected]>
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 <[email protected]>
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 [email protected] Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users