<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Pasan,<br>
      <br>
      The "Resource temporarily unavailable" is similar to EAGAIN or
      EWOULDBLOCK - meaning that the send will block. But this is an UDP
      protocol, so there is nothing much to block - as UDP is a
      stateless protocol. Unless it is the buffer in the TCP/IP
      stack,between the application layer and the actual network layer -
      like the opensips is bursting data, but the kernel has no time to
      actually put it on wire.<br>
      <br>
      Try to monitor with netstat the size of the out buffer for the hep
      socket (on opensips side), and see if you see buffered data there
      (especially correlated with the logs you see).<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
  <a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
    <div class="moz-cite-prefix">On 01/16/2019 05:06 AM, Pasan Meemaduma
      via Users wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1188396276.205073.1547607997540@mail.yahoo.com">
      <div class="ydpcb5935cdyahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;">Hi Guys,</div>
      <div class="ydpcb5935cdyahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;"><br>
      </div>
      <div class="ydpcb5935cdyahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;">I have following setup for homer
        integration with opensips. I'm having an issue where opensips
        complains with following error time to time. I tried tuning up
        buffer sizes, but it doesn't seems to help. Any suggestion on
        how to get rid of this ? <br>
      </div>
      <div class="ydpcb5935cdyahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;"><br>
      </div>
      <div class="ydpcb5935cdyahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;">I'm using opensips <span>2.3.6</span><br>
      </div>
      <div class="ydpcb5935cdyahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;"><br>
      </div>
      <div class="ydpcb5935cdyahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;"><span><err>
          /usr/sbin/opensips[27139]: ERROR:proto_hep:hep_udp_send:
          sendto(sock,0x7fc2facaff58,5792,0,0x7fc2fa84d858,16): Resource
          temporarily unavailable(11)</span></div>
      <div class="ydpcb5935cdyahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;"><br>
      </div>
      <div class="ydpcb5935cdyahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;"><br>
      </div>
      <div class="ydpcb5935cdyahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;">sip traffic  ->   internet facing
        interface (public ip) (opensips)</div>
      <div class="ydpcb5935cdyahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;">                        internal
        admin interface (private ip ) udp:9060  ---- >   udp:9060
        internal admin interface (private ip)  (opensips sip capturer)</div>
      <div class="ydpcb5935cdyahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;"><br>
      </div>
      <div class="ydpcb5935cdyahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;"><br>
      </div>
      <div class="ydpcb5935cdyahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;">When the above error pops out it
        appears all legit connections get drop too for a brief period. I
        tried to increate send/recev buffer sizes, but that didn't help.</div>
      <div class="ydpcb5935cdyahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;"><br>
      </div>
      <div class="ydpcb5935cdyahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;"><span>net.core.rmem_max</span></div>
      <div class="ydpcb5935cdyahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;"><span><span>net.core.rmem_default</span></span></div>
      <div class="ydpcb5935cdyahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;"><br>
      </div>
      <div class="ydpcb5935cdyahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;"><span>
          <div class="ydpcb5935cdyahoo-style-wrap"
            style="font-family:Helvetica Neue, Helvetica, Arial,
            sans-serif;font-size:16px;"><span>net.core.wmem_max</span></div>
          <span><span>net.core.wmem_default</span></span></span><br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>