[OpenSIPS-Users] Process List Question

Iñaki Baz Castillo ibc at aliax.net
Sun Nov 9 21:13:52 CET 2008


El Domingo, 9 de Noviembre de 2008, Geoffrey Mina escribió:
> I just installed OpenSIPS and got everything up and running.  Can somebody
> please explain the output of "ps -ax" to me?  I don't understand why there
> are so many processes running.
>
>
> [root at atl-shard4 log]# ps ax | grep opensips
> 29371 ?        S      0:00 /usr/local/sbin/opensips -m 2048
> 29373 ?        S      0:00 /usr/local/sbin/opensips -m 2048
> 29374 ?        S      0:00 /usr/local/sbin/opensips -m 2048
> 29375 ?        S      0:00 /usr/local/sbin/opensips -m 2048
> 29376 ?        S      0:00 /usr/local/sbin/opensips -m 2048
> 29377 ?        S      0:00 /usr/local/sbin/opensips -m 2048
> 29378 ?        S      0:00 /usr/local/sbin/opensips -m 2048
> 29379 ?        S      0:00 /usr/local/sbin/opensips -m 2048
> 29380 ?        S      0:00 /usr/local/sbin/opensips -m 2048
> 29381 ?        S      0:00 /usr/local/sbin/opensips -m 2048
> 29382 ?        S      0:00 /usr/local/sbin/opensips -m 2048
> 29383 ?        S      0:00 /usr/local/sbin/opensips -m 2048
> 29384 ?        S      0:00 /usr/local/sbin/opensips -m 2048
> 29385 ?        S      0:00 /usr/local/sbin/opensips -m 2048
> 29386 ?        S      0:00 /usr/local/sbin/opensips -m 2048
> 29387 ?        S      0:00 /usr/local/sbin/opensips -m 2048
> 29470 pts/0    S+     0:00 grep opensips

It depends on the number of interfaces and transport protocol (TCP/UDP) in 
which opensips is listening. If you set "children=4" and listen in eth0 for 
TCP and UDP then you will have 4*2 + main process = 9 (well, it's something 
like this but not exactly).


-- 
Iñaki Baz Castillo



More information about the Users mailing list