[OpenSIPS-Devel] [OpenSIPS/opensips] bee7bf: [auto-scaler] new procs to self update with latest...
Bogdan Andrei IANCU
noreply at github.com
Tue Jun 23 08:47:23 UTC 2026
Branch: refs/heads/3.6
Home: https://github.com/OpenSIPS/opensips
Commit: bee7bf435853d04a1b81c8016f8aeae39edfe0a8
https://github.com/OpenSIPS/opensips/commit/bee7bf435853d04a1b81c8016f8aeae39edfe0a8
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
To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications
More information about the Devel
mailing list