[sr-dev] [kamailio/kamailio] nsq: hardcoded values used for ranks in forked processes (#975)

Ovidiu Sas notifications at github.com
Tue Feb 7 16:57:09 CET 2017


The nsq module creates several processes for consumer workers.
The ranks for all this process are incremented one by one, starting with value 1.
Value 1 is defined as PROC_SIPINIT and has a special meaning for most of the regular modules.
One side effect of this is that the registration records are loaded from the db twice!
One simple fix would be to fork all the workers with a PROC_NOCHLDINIT ranking.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/975
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20170207/8da0b32f/attachment.html>


More information about the sr-dev mailing list