[OpenSIPS-Devel] [OpenSIPS/opensips] 12d27a: Fixed autodetection of the reactor size (open file...

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Feb 1 18:53:20 CET 2016


  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 12d27ab2c0c081ecd3f89a77b9f49d8a41240999
      https://github.com/OpenSIPS/opensips/commit/12d27ab2c0c081ecd3f89a77b9f49d8a41240999
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-02-01 (Mon, 01 Feb 2016)

  Changed paths:
    M daemonize.c
    M main.c
    M net/net_tcp.c
    M net/net_tcp_proc.c
    M net/net_udp.c
    M reactor.c
    M reactor_defs.h

  Log Message:
  -----------
  Fixed autodetection of the reactor size (open files)

If we auto-detect the size of the reactor(via rulimit), be sure we have enough pkg memory (and do the necessary correction).
If the open files limit is given, warn if the reactor will use too much memory.
Thanks to MAxim Sobolev for reporting it via mailing list and to @cepehutu
Closes #778

(cherry picked from commit 6dd88abca4cf6f6ec484e7616a584c92d7ff874e)




More information about the Devel mailing list