[OpenSIPS-Devel] [OpenSIPS/opensips] 21cbcd: clusterer: add ability to disable replication pack...

Vlad Pătrașcu noreply at github.com
Mon Aug 1 15:36:44 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 21cbcd6f461e05d13af49552e238c51841bef7e5
      https://github.com/OpenSIPS/opensips/commit/21cbcd6f461e05d13af49552e238c51841bef7e5
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2022-08-01 (Mon, 01 Aug 2022)

  Changed paths:
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer.h
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/doc/clusterer_admin.xml

  Log Message:
  -----------
  clusterer: add ability to disable replication packets dispatching

Add a new "dispatch_jobs" modparam which controls whether the processing of
replicated packets is dispatched through IPC or not.
Disabling the dispatching mechanism prevents high CPU loads caused by
the "thundering herd" problem.

Credits go to Rizwan Syed and Connex Carrier Services for supporting the
troubleshooting of this issue.

(cherry picked from commit 0c66936f3d343226930042bc463b467d8a62fde3)





More information about the Devel mailing list