HI All,
I try to change the value of children in kamailio.cfg, but it didn't work, could you give me some advice, thank you
--
Best Regards, Shengy
Hello,
what are the error log messages printed in such case? Check your /var/log/syslog or /var/log/messages.
Cheers, Daniel
On 30.05.17 15:46, sgy wrote:
HI All,
I try to change the value of children in kamailio.cfg, but it didn't work, could you give me some advice, thank you
-- Best Regards, Shengy
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
I set value to 3. The program can be started, but number of the process is 8
/* number of SIP routing processes */ children=3
tail -f /var/log/syslog: May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z kamailio: INFO: <core> [core/sctp_core.c:75]: sctp_core_check_support(): SCTP API not enabled - if you want to use it, load sctp module May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: rr [../outbound/api.h:52]: ob_load_api(): unable to import bind_ob - maybe module is not loaded May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: rr [rr_mod.c:175]: mod_init(): outbound module not available May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: auth [auth_mod.c:347]: mod_init(): qop set, but nonce-count (nc_enabled) support disabled May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: <core> [core/udp_server.c:153]: probe_max_receive_buffer(): SO_RCVBUF is initially 229376 May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: <core> [core/udp_server.c:203]: probe_max_receive_buffer(): SO_RCVBUF is finally 262142 May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1812]: INFO: jsonrpcs [jsonrpcs_sock.c:429]: jsonrpc_dgram_process(): a new child 0/1812 May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1814]: INFO: ctl [io_listener.c:210]: io_listen_loop(): io_listen_loop: using epoll_lt as the io watch method (auto detected)
--
Best Regards, Shengy
At 2017-05-30 21:48:48, "Daniel-Constantin Mierla" miconda@gmail.com wrote:
Hello,
what are the error log messages printed in such case? Check your /var/log/syslog or /var/log/messages.
Cheers, Daniel
On 30.05.17 15:46, sgy wrote:
HI All,
I try to change the value of children in kamailio.cfg, but it didn't work, could you give me some advice, thank you
--
Best Regards, Shengy
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
I set value to 3. The program can be started, but number of the process is 8
1. if I set 20, it will start 20 processes 2. if I set 3, it will start 8 processes
I want to know the minimum of process is whether 8. Can I set it to one process ?
/* number of SIP routing processes */ children=3
tail -f /var/log/syslog: May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z kamailio: INFO: <core> [core/sctp_core.c:75]: sctp_core_check_support(): SCTP API not enabled - if you want to use it, load sctp module May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: rr [../outbound/api.h:52]: ob_load_api(): unable to import bind_ob - maybe module is not loaded May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: rr [rr_mod.c:175]: mod_init(): outbound module not available May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: auth [auth_mod.c:347]: mod_init(): qop set, but nonce-count (nc_enabled) support disabled May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: <core> [core/udp_server.c:153]: probe_max_receive_buffer(): SO_RCVBUF is initially 229376 May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: <core> [core/udp_server.c:203]: probe_max_receive_buffer(): SO_RCVBUF is finally 262142 May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1812]: INFO: jsonrpcs [jsonrpcs_sock.c:429]: jsonrpc_dgram_process(): a new child 0/1812 May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1814]: INFO: ctl [io_listener.c:210]: io_listen_loop(): io_listen_loop: using epoll_lt as the io watch method (auto detected)
--
Best Regards, Shengy
At 2017-05-30 21:48:48, "Daniel-Constantin Mierla" miconda@gmail.com wrote:
Hello,
what are the error log messages printed in such case? Check your /var/log/syslog or /var/log/messages.
Cheers, Daniel
On 30.05.17 15:46, sgy wrote:
HI All,
I try to change the value of children in kamailio.cfg, but it didn't work, could you give me some advice, thank you
--
Best Regards, Shengy
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
children parameter is to specify the number of workers per udp socket (or other sockets, a matter of different parameters). It is normal to have more than its value, because kamailio creates also timer processes, etc.
You can do 'kamctl ps' to see the list of processes and a short description of their purpose.
Cheers, Daniel
On 30.05.17 16:21, sgy wrote:
I set value to 3. The program can be started, but number of the process is 8
- if I set 20, it will start 20 processes
- if I set 3, it will start 8 processes
I want to know the minimum of process is whether 8. Can I set it to one process ?
/* number of SIP routing processes */ children=3
tail -f /var/log/syslog: May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z kamailio: INFO: <core> [core/sctp_core.c:75]: sctp_core_check_support(): SCTP API not enabled
- if you want to use it, load sctp module
May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: rr [../outbound/api.h:52]: ob_load_api(): unable to import bind_ob - maybe module is not loaded May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: rr [rr_mod.c:175]: mod_init(): outbound module not available May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: auth [auth_mod.c:347]: mod_init(): qop set, but nonce-count (nc_enabled) support disabled May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: <core> [core/udp_server.c:153]: probe_max_receive_buffer(): SO_RCVBUF is initially 229376 May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: <core> [core/udp_server.c:203]: probe_max_receive_buffer(): SO_RCVBUF is finally 262142 May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1812]: INFO: jsonrpcs [jsonrpcs_sock.c:429]: jsonrpc_dgram_process(): a new child 0/1812 May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1814]: INFO: ctl [io_listener.c:210]: io_listen_loop(): io_listen_loop: using epoll_lt as the io watch method (auto detected)
-- Best Regards, Shengy
At 2017-05-30 21:48:48, "Daniel-Constantin Mierla" <miconda@gmail.com mailto:miconda@gmail.com> wrote:
Hello, what are the error log messages printed in such case? Check your /var/log/syslog or /var/log/messages. Cheers, Daniel On 30.05.17 15:46, sgy wrote:
HI All, I try to change the value of children in kamailio.cfg, but it didn't work, could you give me some advice, thank you -- Best Regards, Shengy _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - May 22-24 (USA) - www.asipto.com Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
Hi Daniel,
Thank you very much. I will study it further.
--
Best Regards, Shengy
在 2017-05-31 00:40:57,"Daniel-Constantin Mierla" miconda@gmail.com 写道:
children parameter is to specify the number of workers per udp socket (or other sockets, a matter of different parameters). It is normal to have more than its value, because kamailio creates also timer processes, etc.
You can do 'kamctl ps' to see the list of processes and a short description of their purpose.
Cheers, Daniel
On 30.05.17 16:21, sgy wrote:
I set value to 3. The program can be started, but number of the process is 8
1. if I set 20, it will start 20 processes 2. if I set 3, it will start 8 processes
I want to know the minimum of process is whether 8. Can I set it to one process ?
/* number of SIP routing processes */ children=3
tail -f /var/log/syslog: May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z kamailio: INFO: <core> [core/sctp_core.c:75]: sctp_core_check_support(): SCTP API not enabled - if you want to use it, load sctp module May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: rr [../outbound/api.h:52]: ob_load_api(): unable to import bind_ob - maybe module is not loaded May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: rr [rr_mod.c:175]: mod_init(): outbound module not available May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: auth [auth_mod.c:347]: mod_init(): qop set, but nonce-count (nc_enabled) support disabled May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: <core> [core/udp_server.c:153]: probe_max_receive_buffer(): SO_RCVBUF is initially 229376 May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1802]: INFO: <core> [core/udp_server.c:203]: probe_max_receive_buffer(): SO_RCVBUF is finally 262142 May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1812]: INFO: jsonrpcs [jsonrpcs_sock.c:429]: jsonrpc_dgram_process(): a new child 0/1812 May 30 21:51:06 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[1814]: INFO: ctl [io_listener.c:210]: io_listen_loop(): io_listen_loop: using epoll_lt as the io watch method (auto detected)
--
Best Regards, Shengy
At 2017-05-30 21:48:48, "Daniel-Constantin Mierla" miconda@gmail.com wrote:
Hello,
what are the error log messages printed in such case? Check your /var/log/syslog or /var/log/messages.
Cheers, Daniel
On 30.05.17 15:46, sgy wrote:
HI All,
I try to change the value of children in kamailio.cfg, but it didn't work, could you give me some advice, thank you
--
Best Regards, Shengy
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users