<div dir="ltr">Is the content length on the response consistent with the bytes in both packets together?<div>is there any delay between the 2 packets.</div><div>I might have to see the pcap to really comment.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 11, 2016 at 4:13 PM, Colin Morelli <span dir="ltr"><<a href="mailto:colin.morelli@gmail.com" target="_blank">colin.morelli@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey all,<div><br></div><div>I've previously been using mod_httapi with no problems - so I'm not quite at the point of calling this a FS bug yet (although the behavior is certainly unexpected).</div><div><br></div><div>I recently set up a t2.nano instance in AWS - which are 512m memory. The purpose of this instance is just to test FS configurations. Generally speaking it works fine, with one exception:</div><div><br></div><div>Relatively frequently (throwing out a number of 15% here which may not be right but it's in the right ball park), the response that FS receives from my endpoint is cut off at some point throughout the string. When it happens, the last character that FS receives exactly matches the final character of a single TCP packet. However, after running tcpdump on the machine I do see the full response coming back (split across two packets).</div><div><br></div><div>Now, I had not seen this problem until launching the t2.nano instance. Three things have changed since then: </div><div><br></div><div>1. FS 1.6.7 -> 1.6.9 (though I don't think this matters, as I don't see any relevant httapi changes)</div><div>2. Moved into a docker container</div><div>3. Reduction in instance specs (2 cores + 2GB ram down to 1 core + 512mb RAM).</div><div><br></div><div>I should note it's also possible that the dependencies (such as libcurl) have changed, though I searched through libcurls bug list and couldn't find anything related to this.</div><div><br></div><div>Because of item #3 my first assumption was a memory allocation issue, though FS reports nothing about this in the logs and when it happens I can see that the system still has 100+MB free.</div><div><br></div><div>I thought it would help to post here first to see if the general consensus is "there's no way FS will run correctly on 512mb of ram" or something along those lines. But please let me know if I should make a bug for this.</div><div><br></div><div>Best,</div><div>Colin</div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a> ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a> ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div><div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br></div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a> ☎ +19193869900 </div><div><br></div></div></div><div><a href="https://www.youtube.com/watch?v=9XXgW34t40s" style="color:rgb(17,85,204);font-size:12.8000001907349px" target="_blank">https://www.youtube.com/watch?v=9XXgW34t40s</a></div><div><a href="https://www.youtube.com/watch?v=NLaDpGQuZDA" target="_blank">https://www.youtube.com/watch?v=NLaDpGQuZDA</a><br></div></div></div></div></div></div></div>
</div>