<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 20, 2014 at 8:31 AM, Magnus Mueller <span dir="ltr"><<a href="mailto:magnus.mueller@entelios.com" target="_blank">magnus.mueller@entelios.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello.<br>
<br>
We are struggling with a hard-to-reproduce problem with httpc were we sometimes encounter `{error,socket_closed_remotely}` when querying our simple webserver. Sometimes this happens with yaws as well.<br>
<br>
The error happens very infrequently and is thus hard to reproduce. Both the webserver and httpc run in the same VM (which might be the cause of the problem). Interestingly, the problem is more likely to occur if the system is under cpu-heavy load, e.g. when using stress[1]:<br>

<br>
    stress --cpu 6<br>
<br>
Did anybody of you encounter similar problems? We are running out of ideas and I could not yet come up with a small example to reproduce the issue.<br>
<br>
Magnus<br>
<br>
[1] <a href="https://web.archive.org/web/20130520190152/http://weather.ou.edu/~apw/projects/stress/" target="_blank">https://web.archive.org/web/20130520190152/http://weather.ou.edu/~apw/projects/stress/</a> , the original website seems to be down.<br>

_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br><br><div>There was a discussion about this last week (<a href="http://erlang.org/pipermail/erlang-questions/2014-February/077370.html">http://erlang.org/pipermail/erlang-questions/2014-February/077370.html</a>).<br>
</div>We had a somehow similar issue in Disco, and we worked around it by switching back to HTTP/1.0.<br><br></div><div class="gmail_extra">Regards.<br></div></div>