<div dir="ltr"><div dir="ltr">On Wed, Jul 1, 2020 at 10:32 AM Stefan Viljoen <<a href="mailto:viljoens@verishare.co.za">viljoens@verishare.co.za</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Joshua<br>
<br>
HTTP is used on in our setup on<br>
<br>
<a href="http://127.0.0.1/mxml" rel="noreferrer" target="_blank">127.0.0.1/mxml</a>?<command><br>
<br>
to send commands to the server, such as<br>
<br>
<a href="http://127.0.0.1/mxml?action=login&username=myuser&secret=thesecret" rel="noreferrer" target="_blank">http://127.0.0.1/mxml?action=login&username=myuser&secret=thesecret</a><br>
<br>
to log in and then<br>
<br>
<a href="http://127.0.0.1/mxml?ActionID=123&Action=BlindTransfer&Channel=Channel&Context=local&Exten=123&Priority=1" rel="noreferrer" target="_blank">http://127.0.0.1/mxml?ActionID=123&Action=BlindTransfer&Channel=Channel&Context=local&Exten=123&Priority=1</a><br>
<br>
etc. to control transfers, for example.<br>
<br>
ARI is not being used.<br>
<br>
WebRTC is not being used.<br>
<br>
I have in the meantime modified httpd.conf and halved the session_inactivity from 30 000 to 20 000 and session_keep_alive from 15 000 to 10 000, and increased the sessionlimit to 1000 (instead of 100) to see if shorter sessions expiring more frequently and just plain more available slots for sessions will help?<br>
<br>
So far so good, done about 55 000 new calls that way the past 32 minutes.<br>
<br>
Or am I barking up the wrong tree?<br></blockquote><div><br></div><div>It's possible it will help - but that still doesn't explain what exactly happened. Does your code have a back off strategy if HTTP requests fail? If not and they have an immediate retry with loop, then that may have effectively DDoSed things. It would also be good to explain why 100 connections were in use - did old connections not get closed? Was your load sufficient to just meet that amount? </div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Technical Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>