[asterisk-users] Load issues using AGI

Marcelo Terres mhterres at gmail.com
Tue Sep 24 07:42:21 CDT 2019


Hello Jöran, how are you?

your issues got me very curious and concerned, because I will be working on
something similar of what you are doing soon.

If you don't mind, please keep us updated with our discoveries, especially
that one related to the last suggestion of Tony.

PS: are you considering go to Fosdem next February?

Thanks.

Regards,

Marcelo H. Terres <mhterres at gmail.com>
https://www.mundoopensource.com.br
https://twitter.com/mhterres
https://linkedin.com/in/marceloterres


On Tue, 24 Sep 2019 at 11:10, Jöran Vinzens <vinzens at sipgate.de> wrote:

> Good point.
>
> I will try that. We have just started the work to port our perl AGI to
> Java fastAGI. We will eliminate some of the AGI and see how performance
> improves.
>
> In terms of the perl speed, i will try your suggestion.
>
> Thanks
> Jöran
>
> Tony Mountifield <tony at softins.co.uk> schrieb am Di., 24. Sep. 2019,
> 11:23:
>
>> In article <CAC3=B=
>> vLRRePR10gMKqQs5dpTOB9x66LX5OoCt6UH4OYrstGLw at mail.gmail.com>,
>> Jöran Vinzens <vinzens at sipgate.de> wrote:
>> >
>> > @john, we using Perl. To see if it is a problem with the perl i had put
>> an
>> > "exit 0" just at the first lines  so there is no logic done at the AGI.
>> > It's only the start up and return from AGI what produces the most of the
>> > load. Nevertheless, we will try what you just posted.
>>
>> Even if you put "exit 0" at the top of the script, the perl interpreter
>> will
>> still need to compile the whole script (and any modules it uses) before it
>> executes the "exit 0".
>>
>> Try commenting out or removing the rest of the script.
>>
>> Cheers
>> Tony
>> --
>> Tony Mountifield
>> Work: tony at softins.co.uk - http://www.softins.co.uk
>> Play: tony at mountifield.org - http://tony.mountifield.org
>>
>> --
>> _____________________________________________________________________
>> -- 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
>
> --
> _____________________________________________________________________
> -- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190924/039f5e6a/attachment.html>


More information about the asterisk-users mailing list