[OpenSIPS-Devel] [OpenSIPS/opensips] b371f1: Moved counted_processes variable into shm
Bogdan Andrei IANCU
noreply at github.com
Wed Feb 13 06:50:21 EST 2019
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: b371f1aed1aea21a63c1b4b104ff82a137c12ad9
https://github.com/OpenSIPS/opensips/commit/b371f1aed1aea21a63c1b4b104ff82a137c12ad9
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-02 (Sat, 02 Feb 2019)
Changed paths:
M pt.c
M pt.h
Log Message:
-----------
Moved counted_processes variable into shm
Commit: 3e5eae0fc52601e797ac17a93855ec0b86a6a45e
https://github.com/OpenSIPS/opensips/commit/3e5eae0fc52601e797ac17a93855ec0b86a6a45e
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-02 (Sat, 02 Feb 2019)
Changed paths:
M cfg.lex
M cfg.y
M ip_addr.h
M net/trans.c
M socket_info.c
M socket_info.h
Log Message:
-----------
Added MIN and MAX number of workers per listener
Grammar allows the definition and push the values all the way to the socket_info structure.
Re-work the handling of listener to make it more friendly to large number of options/parameter per listener
Commit: 12969e61e0acdc66ea4272102f7f175efefd23d9
https://github.com/OpenSIPS/opensips/commit/12969e61e0acdc66ea4272102f7f175efefd23d9
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-03 (Sun, 03 Feb 2019)
Changed paths:
M cfg.y
Log Message:
-----------
removed unused old tokens from cfg grammar
Commit: 181a274ed908fc3b8442c9cf2abf7d5410ca799d
https://github.com/OpenSIPS/opensips/commit/181a274ed908fc3b8442c9cf2abf7d5410ca799d
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-03 (Sun, 03 Feb 2019)
Changed paths:
M cfg.lex
M cfg.y
M config.h
M globals.h
M ip_addr.h
M main.c
M net/net_tcp.c
M net/net_udp.c
M socket_info.c
M socket_info.h
Log Message:
-----------
Replace the concept of 'child' with 'worker'
'children' replaced with 'udp_workers'
'tcp_children' replaced with 'tcp_workers'
'use_childern' replaced with 'use_workers'
Internal structures updated to the new terminology
Commit: 30a42d7c953f18ee1a455d04b011ab2e84226444
https://github.com/OpenSIPS/opensips/commit/30a42d7c953f18ee1a455d04b011ab2e84226444
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-03 (Sun, 03 Feb 2019)
Changed paths:
M cfg.lex
M cfg.y
M globals.h
M main.c
M net/net_tcp.c
M net/net_udp.c
M pt.c
M pt.h
M sr_module.c
M timer.c
Log Message:
-----------
Added concept of groups for processes
A processes may optionally be part of a group. Different parts of OpenSIPS code may register callbacks to a group of processes, to fork new processes, for example.
Commit: d13e7a781fc6be5f003511c727c99807a9926815
https://github.com/OpenSIPS/opensips/commit/d13e7a781fc6be5f003511c727c99807a9926815
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-03 (Sun, 03 Feb 2019)
Changed paths:
M net/net_tcp.c
M net/net_udp.c
M pt.c
M pt.h
M sr_module.c
M timer.c
Log Message:
-----------
Small rework of the processes groups
Better use types to tag the processes.
When creating a proc group, push also the min/max for procs auto-scaling
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.
Commit: ad6ac63e3ae3a13c0618bfa6dd08a19920003896
https://github.com/OpenSIPS/opensips/commit/ad6ac63e3ae3a13c0618bfa6dd08a19920003896
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-04 (Mon, 04 Feb 2019)
Changed paths:
M main.c
M pt.c
M pt.h
Log Message:
-----------
Added monitor&test&trigger support for proc auto-scaling
The main process is responsible for monitoring the load of the proc groups and to decide when a process has to be forked or ripped.
Commit: 6eb1ebe89f2723ce600f777443212d761b2d2ceb
https://github.com/OpenSIPS/opensips/commit/6eb1ebe89f2723ce600f777443212d761b2d2ceb
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-04 (Mon, 04 Feb 2019)
Changed paths:
M net/net_udp.c
Log Message:
-----------
Added dynamic forking for UDP proc groups.
Still to deal with some fork-failure conditions.
Just scaling up (forking) is supported for now
Testing to follow
Commit: 51f8725d0972a19552a6382b8c4cff23f2056db2
https://github.com/OpenSIPS/opensips/commit/51f8725d0972a19552a6382b8c4cff23f2056db2
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-04 (Mon, 04 Feb 2019)
Changed paths:
M pt.c
Log Message:
-----------
Avoid ripping process if resulting load is too high
Redistribute the load of the existing N processes over N-1 processes and be sure the that the new resulting load is not higher than the HIGH load threshold (to force a scale back up)
Commit: cfda5985352489743e3f8d52c870cc7410787453
https://github.com/OpenSIPS/opensips/commit/cfda5985352489743e3f8d52c870cc7410787453
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-05 (Tue, 05 Feb 2019)
Changed paths:
M daemonize.c
M daemonize.h
M main.c
M net/net_udp.c
M pt.c
M pt.h
Log Message:
-----------
Proper handling for dynamic fork failure
Commit: 2bc25b84d797430d6b78f3d7ce0e3f7193bd5f3d
https://github.com/OpenSIPS/opensips/commit/2bc25b84d797430d6b78f3d7ce0e3f7193bd5f3d
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-05 (Tue, 05 Feb 2019)
Changed paths:
M main.c
M pt.c
M pt.h
M pt_load.c
M sr_module.c
M timer.c
Log Message:
-----------
Rename all flags related to process management
Commit: 9f7b98762f9e599992f928281a156483cb29fa77
https://github.com/OpenSIPS/opensips/commit/9f7b98762f9e599992f928281a156483cb29fa77
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-05 (Tue, 05 Feb 2019)
Changed paths:
M pt.c
Log Message:
-----------
Change the way how a slot is allocated for a new process
Instead of a simple incremental idx, search the table for the first free (proc not running) slot. This will be needed to cope with dynamic process ripping.
Commit: fb1e8611a6cb804c3b9420a444d21bf2ae8e239e
https://github.com/OpenSIPS/opensips/commit/fb1e8611a6cb804c3b9420a444d21bf2ae8e239e
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-05 (Tue, 05 Feb 2019)
Changed paths:
M net/net_tcp.c
M net/net_udp.c
M pt.c
M sr_module.c
M timer.c
Log Message:
-----------
The internal_fork() returns the process internal ID, not the PID.
This is a much simpler way to reference processes.
Commit: 5a46380f236f637070a117e7915430f4e282cfb8
https://github.com/OpenSIPS/opensips/commit/5a46380f236f637070a117e7915430f4e282cfb8
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-05 (Tue, 05 Feb 2019)
Changed paths:
M net/net_udp.c
M pt.c
Log Message:
-----------
Fix handling of failed dynamic forking.
Reset the process slot if the newly forked process failed -> the slot will be reused for another future fork.
Commit: bf2e51cfbe16262a29f0f52c83532c55cdb43e67
https://github.com/OpenSIPS/opensips/commit/bf2e51cfbe16262a29f0f52c83532c55cdb43e67
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-05 (Tue, 05 Feb 2019)
Changed paths:
M pt_load.c
Log Message:
-----------
Fixed calculating the ovrall load stats
Correlate the summed used processing time with the number of summed processes, not total processes.
Commit: 7ee40b38b6dc1775b1056ade202f80e263fd6335
https://github.com/OpenSIPS/opensips/commit/7ee40b38b6dc1775b1056ade202f80e263fd6335
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-05 (Tue, 05 Feb 2019)
Changed paths:
M db/db_insertq.c
M dprint.c
M main.c
M mi/mi_core.c
M net/net_tcp.c
M pt.c
M pt.h
M pt_load.c
Log Message:
-----------
Migrate to counted_max_processes
Drop counted_processes and it becamed irrelevant.
Commit: 8437b3c44a9836035344c4a1c92facac6af56868
https://github.com/OpenSIPS/opensips/commit/8437b3c44a9836035344c4a1c92facac6af56868
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-05 (Tue, 05 Feb 2019)
Changed paths:
M pt_load.c
Log Message:
-----------
Fix typing error in prev commit bf2e51c
Commit: 3524c003d6972411053b5c977a0fea9453f3b37a
https://github.com/OpenSIPS/opensips/commit/3524c003d6972411053b5c977a0fea9453f3b37a
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-05 (Tue, 05 Feb 2019)
Changed paths:
M statistics.c
M statistics.h
Log Message:
-----------
Added "hidden" flag to statistics.
Such a hidden statistic will not be foundable (by search) and not printed (via MI commands)
Commit: ed9843e604d7a09abbfd230561c167c614de9cac
https://github.com/OpenSIPS/opensips/commit/ed9843e604d7a09abbfd230561c167c614de9cac
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-05 (Tue, 05 Feb 2019)
Changed paths:
M core_stats.c
M main.c
M pt.c
M pt.h
M pt_load.c
M pt_load.h
Log Message:
-----------
Proper handling of per-proc stats during forking/ripping.
Attach all load & pkmem stats to the process slot, so we can hide and unhide them when the process is fork or terminated.
Commit: b0760eba2040ec5cf0b8b3c311483831d3de9b98
https://github.com/OpenSIPS/opensips/commit/b0760eba2040ec5cf0b8b3c311483831d3de9b98
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-05 (Tue, 05 Feb 2019)
Changed paths:
M pt_load.c
Log Message:
-----------
Fixed over/undeflow due signed/unsigned differences
Commit: 4199925afa8156d61f277ab757adca380e98c402
https://github.com/OpenSIPS/opensips/commit/4199925afa8156d61f277ab757adca380e98c402
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-05 (Tue, 05 Feb 2019)
Changed paths:
M cfg.y
M socket_info.c
Log Message:
-----------
Fixed passing min/max per interface
Commit: b3c13362eee2ec5f710a7a7c86a3c0b1f2b87d42
https://github.com/OpenSIPS/opensips/commit/b3c13362eee2ec5f710a7a7c86a3c0b1f2b87d42
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M daemonize.c
M daemonize.h
M main.c
Log Message:
-----------
Extend the status-pipe support.
Expose more functions.
Allow to re-create the status-pipe - we need this for the managing the status of the dynamically forked procs
Commit: a2ce6159b8d515a4d2cec6137df6923f5cfec53d
https://github.com/OpenSIPS/opensips/commit/a2ce6159b8d515a4d2cec6137df6923f5cfec53d
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M main.c
Log Message:
-----------
Proper env init for the dynamic forking.
As usleep() may be intrerupted by signals, use the time based safe-guard to be sure we have 1 second between the auto-scaling checks
Re-init the status-code pipe to be able to collect the status of the newly forked procs.
Commit: dd004b2752f69d106521a8fc1ef6cb4579b44b42
https://github.com/OpenSIPS/opensips/commit/dd004b2752f69d106521a8fc1ef6cb4579b44b42
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M daemonize.c
Log Message:
-----------
Take out the closing of write-end from the wait_status_code()
Allow re-usage of wait_status_code() on the same pipe
Commit: 49ce02dc5235a143acfa0b7cbc974e80d061e3b3
https://github.com/OpenSIPS/opensips/commit/49ce02dc5235a143acfa0b7cbc974e80d061e3b3
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M pt.c
Log Message:
-----------
Align to the status-pipe functions
Commit: 64ec5abf697762f844c20ae070a3230c29bf4236
https://github.com/OpenSIPS/opensips/commit/64ec5abf697762f844c20ae070a3230c29bf4236
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M net/net_udp.c
Log Message:
-----------
Fix reporting the status via pipes
Commit: 33ed337757d222afa45b0215054f3827c4f41f82
https://github.com/OpenSIPS/opensips/commit/33ed337757d222afa45b0215054f3827c4f41f82
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M daemonize.c
Log Message:
-----------
Revert LM_WARN to LM_DBG
Commit: 7ea8f60f2e2d9f3ba062276c79b22177a0d77d8c
https://github.com/OpenSIPS/opensips/commit/7ea8f60f2e2d9f3ba062276c79b22177a0d77d8c
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M db/db_insertq.c
M db/db_insertq.h
Log Message:
-----------
Add new function ql_force_process_disconnect()
This disconnects all the existing DB conns mapped on a given process, from all the queues.
To be used when doing gracefull process termination.
Commit: b57b0aed5e28e13894e5723bc80ddda6a8261a58
https://github.com/OpenSIPS/opensips/commit/b57b0aed5e28e13894e5723bc80ddda6a8261a58
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M reactor_defs.h
Log Message:
-----------
Add new macro reactor_is_empty()
Needed for graceful process termination
Commit: de812572a767f77a7d0fc4ee3d69801c53f322e1
https://github.com/OpenSIPS/opensips/commit/de812572a767f77a7d0fc4ee3d69801c53f322e1
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M ipc.c
M ipc.h
Log Message:
-----------
Added ipc_handle_all_pending_jobs()
A new function to consume (in a non blocking way) all the pending ipc jobs on the pipe.
Commit: f583b7ab96e7e203a7137c53d64b9b200dd5424b
https://github.com/OpenSIPS/opensips/commit/f583b7ab96e7e203a7137c53d64b9b200dd5424b
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M db/db_insertq.c
Log Message:
-----------
Fix ql_force_process_disconnect()
Deal with the case when the list is empty (not init)
Commit: e2032c76ad0a70a1c2c5b437489cd5f61e93949e
https://github.com/OpenSIPS/opensips/commit/e2032c76ad0a70a1c2c5b437489cd5f61e93949e
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M main.c
M net/net_tcp.c
M net/net_udp.c
M pt.c
M pt.h
M timer.c
Log Message:
-----------
Add down-scaling support for the auto-scaling
Commit: 5bcb69fac7938593696b2450187c4b77184568c9
https://github.com/OpenSIPS/opensips/commit/5bcb69fac7938593696b2450187c4b77184568c9
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M net/net_udp.c
M pt.c
M pt.h
M timer.c
Log Message:
-----------
Added auto-scaling for extra timer processes
Commit: 946e0b045e795df9eb7e01546db0802a184f0d99
https://github.com/OpenSIPS/opensips/commit/946e0b045e795df9eb7e01546db0802a184f0d99
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-07 (Thu, 07 Feb 2019)
Changed paths:
M cfg.lex
M cfg.y
M globals.h
M ip_addr.h
M main.c
M net/net_udp.c
M socket_info.c
M timer.c
Log Message:
-----------
Added grammar for auto-scaling provisioning via profiles
Still need to "connect" the grammar to the inner guts, work in progress
Commit: 949a8ed01048141d128f44f8869d4bb8f892a5d9
https://github.com/OpenSIPS/opensips/commit/949a8ed01048141d128f44f8869d4bb8f892a5d9
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-07 (Thu, 07 Feb 2019)
Changed paths:
M pt.c
M pt.h
A pt_scaling.c
A pt_scaling.h
Log Message:
-----------
Move auto-scaling code into separate files
Commit: 8e16b5910cbddf3326d21e6eeb35596fd9132791
https://github.com/OpenSIPS/opensips/commit/8e16b5910cbddf3326d21e6eeb35596fd9132791
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-07 (Thu, 07 Feb 2019)
Changed paths:
M cfg.y
M main.c
M net/net_udp.c
M pt_scaling.c
M pt_scaling.h
M socket_info.c
M socket_info.h
M timer.c
Log Message:
-----------
Use the auto-scaling profiles to controll the auto-scaling
Commit: 6d005dbe3f1c5d198cbe0378b8a4238ab5d5cbbc
https://github.com/OpenSIPS/opensips/commit/6d005dbe3f1c5d198cbe0378b8a4238ab5d5cbbc
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-07 (Thu, 07 Feb 2019)
Changed paths:
M main.c
Log Message:
-----------
Use the auto_scaling_cycle for triggering the auto scale
Commit: 6084544b0e5b90064d40ea9373f14a130a24ecd1
https://github.com/OpenSIPS/opensips/commit/6084544b0e5b90064d40ea9373f14a130a24ecd1
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-07 (Thu, 07 Feb 2019)
Changed paths:
M pt_scaling.c
Log Message:
-----------
Added validation for the defined auto-scaling profiles
Commit: b17bbd5b9e1ae88cf6a014dc9a54614f952d99f2
https://github.com/OpenSIPS/opensips/commit/b17bbd5b9e1ae88cf6a014dc9a54614f952d99f2
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-07 (Thu, 07 Feb 2019)
Changed paths:
M cfg.lex
M cfg.y
M timer.c
M timer.h
Log Message:
-----------
Added configuration for timers auto scaling
New auto_scaling_timer_profile core param to define the auto-scaling profile to govern the timer processes.
Commit: bafd8a1594512a0cb7c3ee1d0e57db006f78215d
https://github.com/OpenSIPS/opensips/commit/bafd8a1594512a0cb7c3ee1d0e57db006f78215d
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-07 (Thu, 07 Feb 2019)
Changed paths:
M pt_scaling.c
Log Message:
-----------
Revert testing LM_WARN to LM_DBG
Commit: 13e4c0eaf2f13d14fcab11a611ac63c69feae253
https://github.com/OpenSIPS/opensips/commit/13e4c0eaf2f13d14fcab11a611ac63c69feae253
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-07 (Thu, 07 Feb 2019)
Changed paths:
M core_stats.c
Log Message:
-----------
Make it more readable
Commit: ea86e0049e6e1cd28995bbf1966ed41ded1a9f9b
https://github.com/OpenSIPS/opensips/commit/ea86e0049e6e1cd28995bbf1966ed41ded1a9f9b
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-07 (Thu, 07 Feb 2019)
Changed paths:
M statistics.c
Log Message:
-----------
Fixed comment (c'n'p error??)
Commit: 37863f33c6fde72bf9487c8f4d13f87aa48feb55
https://github.com/OpenSIPS/opensips/commit/37863f33c6fde72bf9487c8f4d13f87aa48feb55
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-07 (Thu, 07 Feb 2019)
Changed paths:
M pt.c
Log Message:
-----------
Added load:processes_number statistics
Commit: d0d27b8483b8831644aa54b6f5001e976cc415ad
https://github.com/OpenSIPS/opensips/commit/d0d27b8483b8831644aa54b6f5001e976cc415ad
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-12 (Tue, 12 Feb 2019)
Changed paths:
M net/net_tcp.c
Log Message:
-----------
Fix re-usage of UDP<>TCP-Main comm sockets
Commit: cd9222e48865dfeeb15bb18da386de469c7a6de1
https://github.com/OpenSIPS/opensips/commit/cd9222e48865dfeeb15bb18da386de469c7a6de1
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-12 (Tue, 12 Feb 2019)
Changed paths:
M cfg.y
M globals.h
M net/net_tcp.c
Log Message:
-----------
TCP auto-scaling - support for dynamic tcp_workers table
Commit: 91aa645a2ad9a5c986a225ac72b3a5bb60c6625f
https://github.com/OpenSIPS/opensips/commit/91aa645a2ad9a5c986a225ac72b3a5bb60c6625f
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-12 (Tue, 12 Feb 2019)
Changed paths:
M net/net_tcp.c
Log Message:
-----------
Fixed bogus log
Commit: f817725125c42f97ab73b428e17bae9b545088f5
https://github.com/OpenSIPS/opensips/commit/f817725125c42f97ab73b428e17bae9b545088f5
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-12 (Tue, 12 Feb 2019)
Changed paths:
M net/net_tcp.c
Log Message:
-----------
Use multiple states for a TCP process
Commit: 4ad9bb8cc5fe6d7d276d955df1443fc057c1cc9d
https://github.com/OpenSIPS/opensips/commit/4ad9bb8cc5fe6d7d276d955df1443fc057c1cc9d
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-12 (Tue, 12 Feb 2019)
Changed paths:
M net/net_tcp.c
Log Message:
-----------
Added support for forking new TCP workers
Commit: bd4c57b307a38d2ef71b8266d54ce48061524475
https://github.com/OpenSIPS/opensips/commit/bd4c57b307a38d2ef71b8266d54ce48061524475
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-12 (Tue, 12 Feb 2019)
Changed paths:
M socket_info.c
Log Message:
-----------
Fix optional profile setting on interface
Commit: 7acce9e16d90379df3407b07a669cec323b5ce74
https://github.com/OpenSIPS/opensips/commit/7acce9e16d90379df3407b07a669cec323b5ce74
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-12 (Tue, 12 Feb 2019)
Changed paths:
M pt.h
M pt_scaling.c
Log Message:
-----------
Fixed multiple terminates on the same process.
Mark the process to avoid counting it for other terminations. A process may continue to run after receiving the terminate RPC (due draining procedure), so it will continue to exist as running in the process table.
Use the OSS_PROC_TO_TERMINATE flag to avoid this (note that the flag is set and tested only by the attendent process).
Commit: d07865e827ef4fe9b01ec347727e65f2475f4dd8
https://github.com/OpenSIPS/opensips/commit/d07865e827ef4fe9b01ec347727e65f2475f4dd8
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-12 (Tue, 12 Feb 2019)
Changed paths:
M net/net_tcp.c
M pt.c
M pt.h
Log Message:
-----------
Removed unused TCP related field in process table
Commit: 1ad431ef4e5e0f23c190063cfb1fc55e52ca7aaf
https://github.com/OpenSIPS/opensips/commit/1ad431ef4e5e0f23c190063cfb1fc55e52ca7aaf
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-12 (Tue, 12 Feb 2019)
Changed paths:
M net/net_udp.c
Log Message:
-----------
Fix computing extra procs.
Consider the case when starting with a higher value than the max in the profile
Commit: 848f5ea990f82fdcb69c0188c448e09d0b85e6d3
https://github.com/OpenSIPS/opensips/commit/848f5ea990f82fdcb69c0188c448e09d0b85e6d3
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-12 (Tue, 12 Feb 2019)
Changed paths:
M net/net_tcp.c
M net/net_tcp.h
M net/net_tcp_proc.c
M net/net_tcp_proc.h
M pt.c
Log Message:
-----------
Added full TCP auto-scaling
Commit: 299e768f7c5bf6c59d6f31e0b8e19c4ffe127bee
https://github.com/OpenSIPS/opensips/commit/299e768f7c5bf6c59d6f31e0b8e19c4ffe127bee
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-12 (Tue, 12 Feb 2019)
Changed paths:
M cfg.lex
M cfg.y
M pt.c
M timer.c
M timer.h
Log Message:
-----------
Added configurable number of timer procs to start with.
Added "timer_workers = N [use_auto_scaling_profile xxxxx]"
Dropped "auto_scaling_timer_profile"
Added dynamic counting for the timer processes
Commit: c03e798c89c1c1a335d5492efa024e2c4cf5a617
https://github.com/OpenSIPS/opensips/commit/c03e798c89c1c1a335d5492efa024e2c4cf5a617
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-12 (Tue, 12 Feb 2019)
Changed paths:
M net/net_tcp.c
Log Message:
-----------
Fix comment
Commit: 7f7b64da1c719cb9ee339903f5859c1107efb8c1
https://github.com/OpenSIPS/opensips/commit/7f7b64da1c719cb9ee339903f5859c1107efb8c1
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-13 (Wed, 13 Feb 2019)
Changed paths:
M net/net_tcp_report.c
Log Message:
-----------
Fix outdated comment
Commit: 493c0dff8981710af367134b84cccd8f3e96b2a3
https://github.com/OpenSIPS/opensips/commit/493c0dff8981710af367134b84cccd8f3e96b2a3
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-13 (Wed, 13 Feb 2019)
Changed paths:
M modules/sngtc/sngtc.c
Log Message:
-----------
Align the module to the new process management
Commit: 47a444edcfd406285faee4a5aca0aa83edb500bc
https://github.com/OpenSIPS/opensips/commit/47a444edcfd406285faee4a5aca0aa83edb500bc
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-13 (Wed, 13 Feb 2019)
Changed paths:
M modules/sngtc/sngtc.c
Log Message:
-----------
Fix dynamic mapping of pipes to worker processes
Commit: e785bb9480423924d2a50d16a6b005d5e775beda
https://github.com/OpenSIPS/opensips/commit/e785bb9480423924d2a50d16a6b005d5e775beda
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-13 (Wed, 13 Feb 2019)
Changed paths:
M evi/evi_core.c
M evi/evi_core.h
M pt_scaling.c
Log Message:
-----------
Added E_CORE_PROC_AUTO_SCALE event
This is fired upon dynamic adjustments on workers (fork or terminate)
Commit: 1f167bf7393eecb24bd56fe3820f90bb23d774fd
https://github.com/OpenSIPS/opensips/commit/1f167bf7393eecb24bd56fe3820f90bb23d774fd
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-13 (Wed, 13 Feb 2019)
Changed paths:
M cfg.lex
M cfg.y
M config.h
M core_stats.c
M daemonize.c
M daemonize.h
M db/db_insertq.c
M db/db_insertq.h
M dprint.c
M evi/evi_core.c
M evi/evi_core.h
M globals.h
M ip_addr.h
M ipc.c
M ipc.h
M main.c
M mi/mi_core.c
M modules/event_jsonrpc/jsonrpc_send.c
M modules/event_rabbitmq/rabbitmq_send.c
M modules/event_xmlrpc/xmlrpc_send.c
M modules/sngtc/sngtc.c
M net/net_tcp.c
M net/net_tcp.h
M net/net_tcp_proc.c
M net/net_tcp_proc.h
M net/net_tcp_report.c
M net/net_udp.c
M net/net_udp.h
M net/trans.c
M pt.c
M pt.h
M pt_load.c
M pt_load.h
A pt_scaling.c
A pt_scaling.h
M reactor_defs.h
M socket_info.c
M socket_info.h
M sr_module.c
M sr_module.h
M statistics.c
M statistics.h
M timer.c
M timer.h
Log Message:
-----------
Merge branch 'dynamic-fork'
Commit: ebf165dcac842c23222961371299684072f3bf78
https://github.com/OpenSIPS/opensips/commit/ebf165dcac842c23222961371299684072f3bf78
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-13 (Wed, 13 Feb 2019)
Changed paths:
M Makefile.defs
M modules/mid_registrar/lookup.c
Log Message:
-----------
Merge branch 'master' of github.com:OpenSIPS/opensips
Compare: https://github.com/OpenSIPS/opensips/compare/6b1632f5755e...ebf165dcac84
More information about the Devel
mailing list