[asterisk-users] Load issues using AGI
Jöran Vinzens
vinzens at sipgate.de
Tue Sep 24 05:09:04 CDT 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190924/e8da8dbb/attachment.html>
More information about the asterisk-users
mailing list