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

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


  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2d3f1e640b1d6d2c2513084b06a7ef7e69302f5f
      https://github.com/OpenSIPS/opensips/commit/2d3f1e640b1d6d2c2513084b06a7ef7e69302f5f
  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