[OpenSIPS-Devel] [OpenSIPS/opensips] 3a5b50: [auto-scaler] new procs to self update with latest...
Bogdan Andrei IANCU
noreply at github.com
Tue Jun 23 09:14:52 UTC 2026
Branch: refs/heads/4.0
Home: https://github.com/OpenSIPS/opensips
Commit: 3a5b50849cb1f0542328178eb17bb07b72cfe205
https://github.com/OpenSIPS/opensips/commit/3a5b50849cb1f0542328178eb17bb07b72cfe205
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2026-06-23 (Tue, 23 Jun 2026)
Changed paths:
M cfg_reload.c
M cfg_reload.h
M net/net_tcp.c
M net/net_udp.c
M timer.c
Log Message:
-----------
[auto-scaler] new procs to self update with latest reload cfg
As the attendant is the one forking all new procs (while doing auto-scaling), these new procs will inherite the cfg from attendant - but this proc is not updated with reloaded cfg (has no IPC, scripting support, etc). So all new auto-scaled procs will start with the original cfg. To fix this, when new auto-scaled procs are started, we run a self-upate - check if there was any successful script reload and if so, do a local cfg reload before start processing anything else.
Fixes #3947
Reported by @gcuppers
(cherry picked from commit bee7bf435853d04a1b81c8016f8aeae39edfe0a8)
(cherry picked from commit 1a1beafceb120ffb1f16201abb95424e0875fa82)
To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications
More information about the Devel
mailing list