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

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


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