[OpenSIPS-Devel] [OpenSIPS/opensips] 86a6be: Enhance the counting of processing in OpenSIPS
Bogdan Andrei IANCU
noreply at github.com
Mon Feb 4 11:21:57 EST 2019
Branch: refs/heads/dynamic-fork
Home: https://github.com/OpenSIPS/opensips
Commit: 86a6be767e8528d33e80a8fb9eb3de587d33b00e
https://github.com/OpenSIPS/opensips/commit/86a6be767e8528d33e80a8fb9eb3de587d33b00e
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-04 (Mon, 04 Feb 2019)
Changed paths:
M daemonize.c
M main.c
M modules/event_jsonrpc/jsonrpc_send.c
M modules/event_rabbitmq/rabbitmq_send.c
M modules/event_xmlrpc/xmlrpc_send.c
M net/net_tcp.c
M net/net_tcp.h
M net/net_udp.c
M net/net_udp.h
M pt.c
M pt.h
M sr_module.c
M sr_module.h
Log Message:
-----------
Enhance the counting of processing in OpenSIPS
Count how many processes will be created at startup and also what is the maximum number of processes opensips may create at runtime (to pre-allocate the max size table of processes and inter-proc communication resources)
Commit: 389606d4774762b03ebcee86a9587ec0f2658b22
https://github.com/OpenSIPS/opensips/commit/389606d4774762b03ebcee86a9587ec0f2658b22
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-04 (Mon, 04 Feb 2019)
Changed paths:
M ipc.c
M net/net_tcp.c
M net/net_tcp.h
M pt.c
M pt.h
Log Message:
-----------
Pre-allocate inter-process fd for all processes
Pre-allocate (and separatelt store in holders) the fds for IPC and TCP inter-proc communication. These fds are copied into the right process's vars only when the process is actually created.
Compare: https://github.com/OpenSIPS/opensips/compare/d13e7a781fc6...389606d47747
More information about the Devel
mailing list