<div dir="ltr">Hello,<br><div><br></div><div>I have an installation using usrloc + db_mode=1.</div><div><br></div><div>If I want on db_mode=1 or db_mode=2 the expired contacts to be cleaned up I have to enable the modparam db_timer_clean:</div><div><br></div><div><a href="https://www.kamailio.org/docs/modules/devel/modules/usrloc.html#usrloc.p.db_timer_clean">https://www.kamailio.org/docs/modules/devel/modules/usrloc.html#usrloc.p.db_timer_clean</a><br></div><div><br></div><div>The docs say:</div><div><br></div><div>"<i>Enable (1) or disable (0) cleaning of expired db records on timer basis for db_mode WRITE-BACK and WRITE-THROUGH. It uses the secondary timer process.</i>"</div><div><br></div><div>I have the following doubts:</div><div><br></div><div>1- What does the reference "it uses <b><i>the</i></b> secondary timer process" mean? Is there a specific secondary timer just for this purpose?<br></div><div>2- Is  #1 related to the modparam timer_procs? (so it uses one of those when enabled?)</div><div>3- Why/When would you need a timer_proces modparam with a value higher than "1"? </div><div><br></div><div><br></div><div>Thanks, </div><div>Joel.</div><div><br></div><div><br></div></div>