[OpenSIPS-Devel] [OpenSIPS/opensips] b9ba6a: Fix bogus active counting for procs terminating du...

Bogdan Andrei IANCU noreply at github.com
Fri Sep 20 09:07:20 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b9ba6a20f454df8ed806be171d3a312568eb808e
      https://github.com/OpenSIPS/opensips/commit/b9ba6a20f454df8ed806be171d3a312568eb808e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2024-09-20 (Fri, 20 Sep 2024)

  Changed paths:
    M pt.c

  Log Message:
  -----------
  Fix bogus active counting for procs terminating due to down-scaling

Be sure to mark the proc as idel before actually doing "exit()", otherwise we will count it as busy for the whole time the proc is terminated by OS (we automatically clear the load stats only upon sigchild on attendant)

(cherry picked from commit e982e90b4a7ccab0dfcff3628566359fb0ab0539)



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list