<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I would need to see the specifics of your dialplan, but I suspect you have some transfers or execute extension that are causing it to re-enter dialplan. &nbsp;Are you sure on all the others that they are making the exact same requests? &nbsp;Details here will be necessary to understand exactly what is going on..<div><br></div><div>Mike</div><div><br><div><div>On Jun 7, 2013, at 4:07 AM, Muhammad Shahzad &lt;<a href="mailto:shaheryarkh@gmail.com">shaheryarkh@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Guy, after detailed analysis i can confirm it was an Apache issue, and changing Apache configuration changes the concurrent call limit. However, one thing i observed about xml curl is that it makes several request with same parameters per call. Even if we have no calls running on server, as well as as Apache is completely free. I can see FS makes at least<div>

<br></div><div style="">1). 3 hits for dialplan.</div><div style="">2). 2 hits for directory.</div><div style="">3). 4 hits for voicemail.</div><div style="">4). 3 hits for ivr.</div><div style="">5). 2 hits for sofia.</div><div style="">
and so on..</div>
<div style=""><br></div><div style="">While ideally only one hit should be sufficient to get all these configurations. What is the point of making all these redundant hits? We have roughly 15 - 20 hits made per call, which is huge and causes significant load on Apache.</div>

<div style=""><br></div><div style="">Both Apache and FS are running on dedicated machines and connected over Gigabit Ethernet with zero packet loss, so i doubt these hits are "re-transmission".</div><div style=""><br></div>

<div style="">Thank you.</div><div style=""><br></div><div style=""><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 6, 2013 at 1:24 AM, Muhammad Shahzad <span dir="ltr">&lt;<a href="mailto:shaheryarkh@gmail.com" target="_blank">shaheryarkh@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; "><div dir="ltr">Yes, its a feature, i know. I was just looking at how this feature was tested, as mentioned in its logs,<div>

<br></div><div><span style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">2010-01-04 15:01:51.945020 [INFO] mod_dialplan_xml.c:408 Processing 21653XXXXX-&gt;121637XXXXX in context termination</span><br style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">


<font color="#ff0000"><span style="font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:13px;line-height:17px">2010-01-04 15:01:52.054466 [ERR] mod_xml_curl.c:310 Received HTTP error 0 trying to fetch&nbsp;</span><a href="http://192.168.0.2/gateway.php" style="text-decoration:none;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:13px;line-height:17px" target="_blank">http://192.168.0.2/gateway.php</a></font><br style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">


<span style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">2010-01-04 15:01:52.054545 [CONSOLE] mod_xml_curl.c:317 XML response is in /tmp/6632ebb1-d19f-4d51-a07e-ec2ce0387f83.tmp.xml</span><br style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">


</div><div><span style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif"><br></span></div><div><span style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">Thank you.</span></div>


<div><span style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif"><br></span></div><div><span style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif"><br>
</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Thu, Jun 6, 2013 at 12:48 AM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; "><div><div class="h5"><div style="word-wrap:break-word">This is adding a feature to allow timeout to be set in ms instead of seconds. &nbsp;This is not a problem, its a feature, that was added a while ago. &nbsp;Until you can determine if the request is being sent for the one thats failing, your not going to solve this issue.<div>


<br></div><div>Mike</div></div></div></div></blockquote></div></div></blockquote></div></div></blockquote></div><br></div></body></html>