<div dir="ltr"><div>Hi Liviu,</div><div><br></div><div>Thanks for your answer!</div><div><br></div><div>I am still somehow trying to relate this to the rest_client problems context as it happened in exact same time (the errors have not been oberved in other situations even with higher traffic). </div><div>I do not know internals of OpenSIPS - but is it possible that this is somehow related to receive buffers ? That is, OpenSIPS threads are busy waiting for rest_get responses (which have long delays) which leads to slow processing of incoming traffic and hence these errors ?<br></div><div>Or is this not related in any way?</div><div><br></div><div>Thanks,</div><div>Dawid</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 27, 2017 at 11:07 AM, Răzvan Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <tt>Hi, Dawid!<br>
      <br>
      I think the error appears when the Networking send buffers are
      full. If your system has enough resources, you can try to increase
      the memory used by the buffers[1].<br>
      <br>
      [1] <a class="m_-2079044570850448151moz-txt-link-freetext" href="https://www.cyberciti.biz/faq/linux-tcp-tuning/" target="_blank">https://www.cyberciti.biz/faq/<wbr>linux-tcp-tuning/</a><br>
      <br>
      Best regards,<br>
    </tt>
    <pre class="m_-2079044570850448151moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="m_-2079044570850448151moz-txt-link-abbreviated" href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre><div><div class="h5">
    <div class="m_-2079044570850448151moz-cite-prefix">On 07/26/2017 08:21 PM, Dawid Mielnik
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi Liviu,
        <div><br>
        </div>
        <div>Exact version info:</div>
        <div><br>
        </div>
        <div>
          <div>version: opensips 2.2.2 (x86_64/linux)</div>
          <div>flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP,
            PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT</div>
          <div>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
            MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</div>
          <div>poll method support: poll, epoll_lt, epoll_et, sigio_rt,
            select.</div>
          <div>git revision: 9eb177d</div>
          <div>main.c compiled on 11:43:55 Nov  3 2016 with gcc 4.4.7</div>
        </div>
        <div><br>
        </div>
        <div>BR,</div>
        <div>Dawid</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Jul 26, 2017 at 7:09 PM, Liviu
          Chircu <span dir="ltr"><<a href="mailto:liviu@opensips.org" target="_blank">liviu@opensips.org</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <p><tt>Hi Dawid,</tt></p>
              <p><tt>This seems to have been fixed a long time ago [1],
                  so I'm a bit puzzled. Just to be 100% sure, can you
                  try to locate the exact binary path your OpenSIPS
                  service is running on, and figure out the exact
                  version that way? (e.g. output of
                  "/usr/local/sbin/opensips -V")<br>
                </tt></p>
              <p><tt>[1]: <a class="m_-2079044570850448151m_-7893340486897713857moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/commit/d3aaf44c" target="_blank">https://github.com/OpenSIPS/op<wbr>ensips/commit/d3aaf44c</a></tt><br>
              </p>
              <pre class="m_-2079044570850448151m_-7893340486897713857moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="m_-2079044570850448151m_-7893340486897713857moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a></pre>
              <div>
                <div class="m_-2079044570850448151h5">
                  <div class="m_-2079044570850448151m_-7893340486897713857moz-cite-prefix">On
                    26.07.2017 19:11, Dawid Mielnik wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="m_-2079044570850448151h5">
                    <div dir="ltr">
                      <div>Hi All,</div>
                      <div><br>
                      </div>
                      <div>Can you help me understand the cause of these
                        error messages ?</div>
                      <div><br>
                      </div>
                      <div>[...]</div>
                      <div>Jul 26 09:56:00.259767 ERR 32258
                         ERROR:core:proto_udp_send:
                        sendto(sock,0x7fb4817b3ba8,563<wbr>,0,0x7fb484c23f10,16):
                        Resource temporarily unavailable(11)</div>
                      <div>Jul 26 09:56:00.259813 ERR 32258
                         ERROR:core:proto_udp_send:
                        sendto(sock,0x7fb4817b3ba8,563<wbr>,0,0x7fb484c23f10,16):
                        Resource temporarily unavailable(11)</div>
                      <div>Jul 26 09:56:00.259822 ERR 32258
                         ERROR:core:proto_udp_send:
                        sendto(sock,0x7fb4817b3ba8,563<wbr>,0,0x7fb484c23f10,16):
                        Resource temporarily unavailable(11)</div>
                      <div>Jul 26 09:56:00.259831 ERR 32258
                         ERROR:core:proto_udp_send:
                        sendto(sock,0x7fb4817b3ba8,563<wbr>,0,0x7fb484c23f10,16):
                        Resource temporarily unavailable(11)</div>
                      <div>Jul 26 09:56:00.259839 ERR 32258
                         ERROR:core:proto_udp_send:
                        sendto(sock,0x7fb4817b3ba8,563<wbr>,0,0x7fb484c23f10,16):
                        Resource temporarily unavailable(11)</div>
                      <div>Jul 26 09:56:00.259847 ERR 32258
                         ERROR:core:proto_udp_send:
                        sendto(sock,0x7fb4817b3ba8,563<wbr>,0,0x7fb484c23f10,16):
                        Resource temporarily unavailable(11)</div>
                      <div>[...]</div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div>Opensips 2.2.2. </div>
                      <div>I am also using rest_client - for each call,
                        before being proxied, an http request is made by
                        rest_client. Before and during this time the
                        http server was overloaded and took quite long
                        time. I am suspecting that this is linked to it
                        but would like to understand how exactly.</div>
                      <div><br>
                      </div>
                      <div>Thanks,</div>
                      <div>Dawid</div>
                      <div><br>
                      </div>
                    </div>
                    <br>
                    <fieldset class="m_-2079044570850448151m_-7893340486897713857mimeAttachmentHeader"></fieldset>
                    <br>
                  </div>
                </div>
                <pre>______________________________<wbr>_________________
Users mailing list
<a class="m_-2079044570850448151m_-7893340486897713857moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_-2079044570850448151m_-7893340486897713857moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
              </blockquote>
              <br>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            Users mailing list<br>
            <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
            <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="m_-2079044570850448151mimeAttachmentHeader"></fieldset>
      <br>
      <pre>______________________________<wbr>_________________
Users mailing list
<a class="m_-2079044570850448151moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_-2079044570850448151moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>