[OpenSIPS-Users] Opensips 2.2 Craches when loadbalance

Kirill Galinurov k.galinurov at gmail.com
Mon Jul 18 15:31:48 CEST 2016


Hi all. I try to load balance INVITE using load-balancer module.
My config is.
 if ((is_method("INVITE")) && (proto != WS || proto != WSS)){
               if (check_address("2","$si","$sp","any")){
                       xlog("L_INFO","+++++Incoming call from $si $sp
$proto to CallCenter\n");
                       lb_start_or_next("1","st");
                       t_relay();
                       exit;
                                         }
                       }
And opensips crashes with errrors
++++Incoming call from 192.168.75.223 5060 udp to CallCenter
Jul 18 18:10:40 [5601] DBG:load_balancer:lb_route: initial call of LB
- found requested 1/1 resource [st]
Jul 18 18:10:40 [5601] DBG:dialog:build_new_dlg: new dialog
0x7f41c59737c8 (c=903784011,f=sip:kiry at 192.168.76.237,t=sip:100 at 192.168.10.
25,ft=612508366) on hash 29
Jul 18 18:10:40 [5601] DBG:core:parse_headers: flags=ffffffffffffffff
Jul 18 18:10:40 [5601] DBG:dialog:init_leg_info: route_set , contact
sip:kiry at 192.168.76.237, cseq 20 and bind_addr udp:192.168.10.25:5
060
Jul 18 18:10:40 [5601] DBG:dialog:dlg_add_leg_info: set leg 0 for
0x7f41c59737c8: tag=<612508366> rcseq=<0>
Jul 18 18:10:40 [5601] DBG:dialog:link_dlg: ref dlg 0x7f41c59737c8
with 3 -> 3 in h_entry 0x7f41c58d6b88 - 29
Jul 18 18:10:40 [5601] DBG:rr:add_rr_param: adding (;did=d1.2b7d0652)
Jul 18 18:10:40 [5601] DBG:rr:add_rr_param: second RR lump found
Jul 18 18:10:40 [5601] DBG:rr:add_rr_param: second RR lump found
Jul 18 18:10:40 [5606] DBG:core:io_wait_loop_epoll: [TCP_main]
EPOLLHUP on IN ->connection closed by the remote peer!
Jul 18 18:10:40 [5606] CRITICAL:core:receive_fd: EOF on 26
Jul 18 18:10:40 [5606] DBG:core:handle_worker: dead child 9, pid 5601
(shutting down?)
Jul 18 18:10:40 [5606] DBG:core:io_watch_del: [TCP_main] io_watch_del
op on index 14 26 (0x7e2b80, 26, 14, 0x0,0x1) fd_no=21 called
Jul 18 18:10:40 [5592] DBG:core:handle_sigs: status = 139
Jul 18 18:10:40 [5592] INFO:core:handle_sigs: child process 5601
exited by a signal 11
Jul 18 18:10:40 [5592] INFO:core:handle_sigs: core was generated
Jul 18 18:10:40 [5592] INFO:core:handle_sigs: terminating due to SIGCHLD



More information about the Users mailing list