[Kamailio-Users] openser.cfg children=4

Daniel-Constantin Mierla miconda at gmail.com
Fri Oct 3 14:50:48 CEST 2008



Asim Riaz wrote:
>
>
> On Tue, Sep 30, 2008 at 11:38 AM, Daniel-Constantin Mierla 
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
>
>
>     On 09/30/08 13:33, Asim Riaz wrote:
>
>
>
>         On Tue, Sep 30, 2008 at 11:15 AM, Daniel-Constantin Mierla
>         <miconda at gmail.com <mailto:miconda at gmail.com>
>         <mailto:miconda at gmail.com <mailto:miconda at gmail.com>>> wrote:
>
>            Hello,
>
>
>            On 09/30/08 13:11, Asim Riaz wrote:
>
>                Hi,
>                my openser.cfg is configured for childern=4, but I am
>         seeing
>                child processes?
>
>            I don't get the problem/question... maybe you can rephrase.
>
>            Cheers,
>            Daniel
>
>            --    Daniel-Constantin Mierla
>            http://www.asipto.com
>
>
>         my mistake,
>         openser.cfg is configured for childern=4, but I am seeing 8
>         processes when run ps -faux.
>
>     kamailio/openser creates for each listening interface same number
>     of chlildren, so if it listens on two ip/port, then you will get
>     2*children worker processes.
>
>     Apart of this, there are couple of special processes, such as
>     timer, attendant, fifo/mi listener...
>
>     To get the real meaning for each process, execute:
>
>     'openserctl ps' (or 'kamctl ps' if you use 1.4.x or newer) -- you
>     need mi_fifo module loaded and configured.
>
>
>     Cheers,
>     Daniel
>
>     -- 
>     Daniel-Constantin Mierla
>     http://www.asipto.com
>
>
>
> Thanks, thats fine now, although I was listening on only one IP but 
> there was four more processes for TCP.
ahh, right, i forgot to explicitly mention it. A listening interface is 
defined in kamailio by transport protocol, ip address and port.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com





More information about the Users mailing list