<div dir="ltr">The hardware nodes are running Debian 7 with OpenVZ 6, CTs are mixed Debian 7/8 and CentOS 6/7.<div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 16, 2018 at 4:32 PM, Narcis Garcia <span dir="ltr">&lt;<a href="mailto:informatica@actiu.net" target="_blank">informatica@actiu.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&quot;Debian OpenVZ 6 machines&quot; means the hardware (host) nodes or VPS?<br>
<br>
<br>
El 16/01/18 a les 15:37, Baptiste Ashka ha escrit:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I am encountering a network-related issue with some Debian OpenVZ 6<br>
&gt; (2.6.32-openvz-042stab127.2-<wbr>amd64) machines that occurs at seemingly<br>
&gt; random and that only happens on OpenVZ nodes: all connect() syscalls<br>
&gt; that try to connect to 127.0.0.1 (IPv4) will timeout. Connecting to ::<br>
&gt; (IPv6) works, any other 127.x.x.x addresses work. Rebooting the hardware<br>
&gt; node is the most consistent workaround we have (but it does not fix the<br>
&gt; issue every time either), stopping a bunch of CTs sometimes also fixes<br>
&gt; the issue, sometimes weird things happen (e.g. suspend a specific CT,<br>
&gt; 127.0.0.1 works again, resume the CT, 127.0.0.1 stops working, suspend<br>
&gt; this CT again, 127.0.0.1 does not work). This does not appear to be a<br>
&gt; socket count limit issue, from what I can tell.<br>
&gt;<br>
&gt; This happens sporadically but consistently on all our machines. Is<br>
&gt; anyone having this issue/something close to it?<br>
&gt;<br>
&gt; strace of a connect() syscall using curl:<br>
&gt; socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3<br>
&gt; setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0<br>
&gt; connect(3, {sa_family=AF_INET, sin_port=htons(8080),<br>
&gt; sin_addr=inet_addr(&quot;127.0.0.1&quot;<wbr>)}, 16) = -1 ETIMEDOUT (Connection timed out)<br>
&gt;<br>
&gt; Thank you<br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
&gt; <a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/<wbr>mailman/listinfo/users</a><br>
&gt;<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/<wbr>mailman/listinfo/users</a><br>
</blockquote></div><br></div></div>