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

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


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6dd88abca4cf6f6ec484e7616a584c92d7ff874e
      https://github.com/OpenSIPS/opensips/commit/6dd88abca4cf6f6ec484e7616a584c92d7ff874e
  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




More information about the Devel mailing list