[sr-dev] git:master:5750b405: usrloc: Updated documentation for 'timer_procs' parameter to clarify purpose of having multiple timer processes.

Henning Westerholt hw at skalatan.de
Fri Feb 21 08:17:21 CET 2020


Hello,

as discussed in https://github.com/kamailio/kamailio/commit/	5750b405e78de7d2f701708f9c41126c3173d8f5 - commit author Alex Balashov. 

@Alex Balashov - please don't commit directly changes to the README file for these kind of fixes - its done from an automatic script.

Cheers,

Henning

-----Original Message-----
From: sr-dev <sr-dev-bounces at lists.kamailio.org> On Behalf Of Your Name
Sent: Thursday, February 20, 2020 4:36 PM
To: sr-dev at lists.kamailio.org
Subject: [sr-dev] git:master:5750b405: usrloc: Updated documentation for 'timer_procs' parameter to clarify purpose of having multiple timer processes.

Module: kamailio
Branch: master
Commit: 5750b405e78de7d2f701708f9c41126c3173d8f5
URL: https://github.com/kamailio/kamailio/commit/5750b405e78de7d2f701708f9c41126c3173d8f5

Author: Your Name <you at example.com>
Committer: Your Name <you at example.com>
Date: 2020-02-20T10:35:19-05:00

usrloc: Updated documentation for 'timer_procs' parameter to clarify purpose of having multiple timer processes.

Raised in this sr-users thread by Joel Serrano:

https://lists.kamailio.org/pipermail/sr-users/2020-February/108306.html

---

Modified: src/modules/usrloc/README
Modified: src/modules/usrloc/doc/usrloc_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/5750b405e78de7d2f701708f9c41126c3173d8f5.diff
Patch: https://github.com/kamailio/kamailio/commit/5750b405e78de7d2f701708f9c41126c3173d8f5.patch

---

diff --git a/src/modules/usrloc/README b/src/modules/usrloc/README index ff466b0e78..40f9f0f1cd 100644
--- a/src/modules/usrloc/README
+++ b/src/modules/usrloc/README
@@ -854,6 +854,12 @@ modparam("usrloc", "db_check_update", 1)
    set to 0, no dedicated timer is started, the one from core will be
    used.
 
+   If the number of timer processes is greater than 1, the workload 
+   of synchronization and record expiration is split up among the 
+   multiple processes. (Each process is assigned a range of slots 
+   from the internal hash table, and is responsible for cleanup and
+   storage on those slots.)
+
    Default value is “0”.
 
    Example 1.36. Set timer_procs parameter diff --git a/src/modules/usrloc/doc/usrloc_admin.xml b/src/modules/usrloc/doc/usrloc_admin.xml
index 0f14209784..d23b2a9e7e 100644
--- a/src/modules/usrloc/doc/usrloc_admin.xml
+++ b/src/modules/usrloc/doc/usrloc_admin.xml
@@ -952,6 +952,14 @@ modparam("usrloc", "db_check_update", 1)
 			database. If set to 0, no dedicated timer is started, the one from
 			core will be used.
 		</para>
+
+		<para>
+			If the number of timer processes is greater than 1, the workload 
+			of synchronization and record expiration is split up among the 
+			multiple processes. (Each process is assigned a range of slots 
+			from the internal hash table, and is responsible for cleanup and
+			storage on those slots.)
+		</para>
 		<para>
 		<emphasis>
 			Default value is <quote>0</quote>.




More information about the sr-dev mailing list