<div dir="auto">Good point.<div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">In terms of the perl speed, i will try your suggestion. </div><div dir="auto"><br></div><div dir="auto">Thanks</div><div dir="auto">Jöran </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Tony Mountifield <<a href="mailto:tony@softins.co.uk">tony@softins.co.uk</a>> schrieb am Di., 24. Sep. 2019, 11:23:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In article <CAC3=B=<a href="mailto:vLRRePR10gMKqQs5dpTOB9x66LX5OoCt6UH4OYrstGLw@mail.gmail.com" target="_blank" rel="noreferrer">vLRRePR10gMKqQs5dpTOB9x66LX5OoCt6UH4OYrstGLw@mail.gmail.com</a>>,<br>
Jöran Vinzens <<a href="mailto:vinzens@sipgate.de" target="_blank" rel="noreferrer">vinzens@sipgate.de</a>> wrote:<br>
> <br>
> @john, we using Perl. To see if it is a problem with the perl i had put an<br>
> "exit 0" just at the first lines  so there is no logic done at the AGI.<br>
> It's only the start up and return from AGI what produces the most of the<br>
> load. Nevertheless, we will try what you just posted.<br>
<br>
Even if you put "exit 0" at the top of the script, the perl interpreter will<br>
still need to compile the whole script (and any modules it uses) before it<br>
executes the "exit 0".<br>
<br>
Try commenting out or removing the rest of the script.<br>
<br>
Cheers<br>
Tony<br>
-- <br>
Tony Mountifield<br>
Work: <a href="mailto:tony@softins.co.uk" target="_blank" rel="noreferrer">tony@softins.co.uk</a> - <a href="http://www.softins.co.uk" rel="noreferrer noreferrer" target="_blank">http://www.softins.co.uk</a><br>
Play: <a href="mailto:tony@mountifield.org" target="_blank" rel="noreferrer">tony@mountifield.org</a> - <a href="http://tony.mountifield.org" rel="noreferrer noreferrer" target="_blank">http://tony.mountifield.org</a><br>
<br>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div>