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 <[email protected]> schrieb am Di., 24. Sep. 2019, 11:23:

> In article <CAC3=B=
> [email protected]>,
> Jöran Vinzens <[email protected]> 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: [email protected] - http://www.softins.co.uk
> Play: [email protected] - 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

Reply via email to