Re: [OpenSIPS-Users] A doubt on count of child processes, children parameter in cfg.

2016-02-11 Thread surya
Thanks for the concern. I appreciate that. It's a long story to which no one is interested. However, I understand the community is focused on the origi

Re: [OpenSIPS-Users] A doubt on count of child processes, children parameter in cfg.

2016-02-11 Thread surya
:) I am facing some performance issues that's why I was thinking about those. Anyways, thanks for clearing the doubts. Thanks, Surya -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/A-doubt-on-count-of-child-processes-children-parameter-in-cfg-tp7601418p7

Re: [OpenSIPS-Users] A doubt on count of child processes, children parameter in cfg.

2016-02-11 Thread Alex Balashov
On 02/11/2016 08:50 PM, surya wrote: I am facing some performance issues that's why I was thinking about those. Performance issues of what nature? -- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter Center North, Suite 300 Atlanta, GA 30346 United States Tel: +1-800-250-5920 (t

Re: [OpenSIPS-Users] A doubt on count of child processes, children parameter in cfg.

2016-02-11 Thread Alex Balashov
I might be wrong. It's possible that each child process really does create a DB connection handle, regardless of whether it's in a position to use it. This makes a certain amount of sense given that the specialisation of each child process cannot be anticipated in advance; some child processe

Re: [OpenSIPS-Users] A doubt on count of child processes, children parameter in cfg.

2016-02-11 Thread surya
I am not opensips expert, therefore, my understanding may not be correct but when I see the log, I see the 4 child init and the print statements from the child_init() method 4 times. But, let me also clear some more things, I have modified the code to use redis cache and I have put the create conn

Re: [OpenSIPS-Users] A doubt on count of child processes, children parameter in cfg.

2016-02-11 Thread Alex Balashov
I'm pretty sure that only the SIP receiver threads create DB connections. -- Alex -- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter Center North, Suite 300 Atlanta, GA 30346 United States Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) Web: http://www.evaristesys.co

Re: [OpenSIPS-Users] A doubt on count of child processes, children parameter in cfg.

2016-02-11 Thread surya
Hi Alex, Great. Got it :). Thanks. Process:: ID=0 PID=28493 Type=attendant Process:: ID=1 PID=28494 Type=MI FIFO Process:: ID=2 PID=28495 Type=SIP receiver udp:10.0.1.166:5060 Process:: ID=3 PID=28496 Type=time_keeper Process:: ID=4 PID=28497 Type=timer Now, I understand the count. But, Ea

Re: [OpenSIPS-Users] A doubt on count of child processes, children parameter in cfg.

2016-02-11 Thread surya
Hi Aron, Thanks for the reply. I am just using UDP but with your hint, I rechecked the CFG and disabled the tcp, set *disable_tcp=yes* and there are 4 child. I am listening on single IP(I don't know how to do on multiple). :) Thanks, Surya -- View this message in context: http://opensips-op

Re: [OpenSIPS-Users] A doubt on count of child processes, children parameter in cfg.

2016-02-11 Thread Alex Balashov
Hi, The command 'opensipsctl ps' should clear this up. e.g. in my case, with children=8, [root@sip ~]# opensipsctl ps Process:: ID=0 PID=743932 Type=attendant Process:: ID=1 PID=743933 Type=MI FIFO Process:: ID=2 PID=743934 Type=time_keeper Process:: ID=3 PID=743935 Type=timer Process:: ID

Re: [OpenSIPS-Users] A doubt on count of child processes, children parameter in cfg.

2016-02-11 Thread Podrigal, Aron
Hint: Do you listen on more then one ip or proto? On Feb 11, 2016 7:44 PM, "surya" wrote: > Hi, > > My understanding about the *children* parameter in the cfg file is that the > same number of child process will be created. For ex: if I write > *children=1* only 1 child will be created and all th

[OpenSIPS-Users] A doubt on count of child processes, children parameter in cfg.

2016-02-11 Thread surya
Hi, My understanding about the *children* parameter in the cfg file is that the same number of child process will be created. For ex: if I write *children=1* only 1 child will be created and all the requests will be handled by same child. Please correct me if I am wrong. But, when I start the ope