<div dir="ltr">Hi Bogdan, it looks like that issue is fixed in one of the later commits. Today&#39;s build is fine, no issues. I&#39;ve added some new test cases to check basic re-INVITE handling and more will be coming soon. Thanks!<div><br></div><div><a href="https://travis-ci.org/sippy/voiptests/builds/106897389">https://travis-ci.org/sippy/voiptests/builds/106897389</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 1, 2016 at 7:28 AM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</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>Maxim,<br>
      <br>
      one more thing: the fd array size = sizeof(struct pollfd) *
      reactor_size . On 64bit arch, </tt><tt>sizeof(struct pollfd) is 8
      bytes. As you error reports a request of 1536000 bytes, that means
      192000 file descriptors (based on ulimit -n). That is a bit high
      imho, for any system....<br>
      <br>
      Could you try to start in debug mode (debug=4) and see the logs
      from set_open_fds_limit function please ?<br>
      <br>
      I&#39;m trying to rule out any programming bug (versus a design bug).<br>
      <br>
      Thanks and Regards,<br>
    </tt><span class="">
    <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
    </span><div><div class="h5"><div>On 29.01.2016 22:08, Maxim Sobolev
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">This is just the default Travis linux instance. I
        don&#39;t set any flags to bump that limit specifically. I think the
        default there is 4k or something along those lines.</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Jan 28, 2016 at 11:35 PM,
          Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org" target="_blank"></a><a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</span> wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> <tt>Woow....what is
                the value of open_files_limit you use ? or if you do not
                explicitly set, what is the soft limit for open files
                for the user you are using to run opensips ?<br>
                <br>
                Regards,<br>
              </tt>
              <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
              <div>
                <div>
                  <div>On 29.01.2016 04:13, Maxim Sobolev wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">I think this broke 2.1:
                      <div><br>
                      </div>
                      <div>
                        <div>Jan 29 00:43:48 [12422] WARNING:core:main:
                          no fork mode </div>
                        <div>Jan 29 00:43:48 [12422] NOTICE:core:main:
                          version: opensips 2.1.2 (x86_64/linux)</div>
                        <div>Jan 29 00:43:48 [12422]
                          WARNING:core:fm_malloc: Not enough free
                          memory, will attempt defragmentation</div>
                        <div>Jan 29 00:43:48 [12422]
                          CRITICAL:core:init_io_wait: could not alloc fd
                          array (1536000 bytes)</div>
                        <div>Jan 29 00:43:48 [12422]
                          ERROR:core:udp_rcv_loop: failed to init
                          reactor</div>
                      </div>
                      <div><br>
                      </div>
                      <div>Full log is here:</div>
                      <div><br>
                      </div>
                      <div><a href="https://travis-ci.org/sippy/voiptests/jobs/105566025" target="_blank">https://travis-ci.org/sippy/voiptests/jobs/105566025</a><br>
                      </div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Thu, Jan 28, 2016 at
                        3:55 AM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org" target="_blank"></a><a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">  Branch:
                          refs/heads/2.1<br>
                            Home:   <a href="https://github.com/OpenSIPS/opensips" rel="noreferrer" target="_blank">https://github.com/OpenSIPS/opensips</a><br>
                            Commit:
                          bce5306bb28c3b80e85c610e6ee4eb55603bdeb1<br>
                                <a href="https://github.com/OpenSIPS/opensips/commit/bce5306bb28c3b80e85c610e6ee4eb55603bdeb1" rel="noreferrer" target="_blank">https://github.com/OpenSIPS/opensips/commit/bce5306bb28c3b80e85c610e6ee4eb55603bdeb1</a><br>
                            Author: Bogdan-Andrei Iancu &lt;<a href="mailto:bogdan@opensips.org" target="_blank"></a><a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;<br>
                            Date:   2016-01-28 (Thu, 28 Jan 2016)<br>
                          <br>
                            Changed paths:<br>
                              M daemonize.c<br>
                              M daemonize.h<br>
                              M main.c<br>
                              M net/net_tcp.c<br>
                              M net/net_tcp_proc.c<br>
                              M net/net_tcp_proc.h<br>
                              M net/net_udp.c<br>
                          <br>
                            Log Message:<br>
                            -----------<br>
                            Fix the sizing of the Async Reactors.<br>
                          <br>
                          Adjust the size of the reactor accroding the
                          limit of opens files.<br>
                          Closing #765.<br>
                          <br>
                          (cherry picked from commit
                          2efdbf8c45a35c57754ac14e64a356b9bb74fd5f)<br>
                          <br>
                          <br>
                          <br>
_______________________________________________<br>
                          Devel mailing list<br>
                          <a href="mailto:Devel@lists.opensips.org" target="_blank">Devel@lists.opensips.org</a><br>
                          <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a><br>
                          <br>
                        </blockquote>
                      </div>
                      <br>
                      <br clear="all">
                      <div><br>
                      </div>
                      -- <br>
                      <div>
                        <div dir="ltr">Maksym Sobolyev<br>
                          Sippy Software, Inc.<br>
                          Internet Telephony (VoIP) Experts<br>
                          Tel (Canada): <a href="tel:%2B1-778-783-0474" value="+17787830474" target="_blank">+1-778-783-0474</a><br>
                          Tel (Toll-Free): <a href="tel:%2B1-855-747-7779" value="+18557477779" target="_blank">+1-855-747-7779</a><br>
                          Fax: <a href="tel:%2B1-866-857-6942" value="+18668576942" target="_blank">+1-866-857-6942</a><br>
                          Web: <a href="http://www.sippysoft.com" target="_blank">http://www.sippysoft.com</a><br>
                          MSN: <a href="mailto:sales@sippysoft.com" target="_blank">sales@sippysoft.com</a><br>
                          Skype: SippySoft<br>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div>
          <div dir="ltr">Maksym Sobolyev<br>
            Sippy Software, Inc.<br>
            Internet Telephony (VoIP) Experts<br>
            Tel (Canada): <a href="tel:%2B1-778-783-0474" value="+17787830474" target="_blank">+1-778-783-0474</a><br>
            Tel (Toll-Free): <a href="tel:%2B1-855-747-7779" value="+18557477779" target="_blank">+1-855-747-7779</a><br>
            Fax: <a href="tel:%2B1-866-857-6942" value="+18668576942" target="_blank">+1-866-857-6942</a><br>
            Web: <a href="http://www.sippysoft.com" target="_blank">http://www.sippysoft.com</a><br>
            MSN: <a href="mailto:sales@sippysoft.com" target="_blank">sales@sippysoft.com</a><br>
            Skype: SippySoft<br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Maksym Sobolyev<br>Sippy Software, Inc.<br>Internet Telephony (VoIP) Experts<br>Tel (Canada): +1-778-783-0474<br>Tel (Toll-Free): +1-855-747-7779<br>Fax: +1-866-857-6942<br>Web: <a href="http://www.sippysoft.com" target="_blank">http://www.sippysoft.com</a><br>MSN: <a href="mailto:sales@sippysoft.com" target="_blank">sales@sippysoft.com</a><br>Skype: SippySoft<br></div></div>
</div>