[SR-Users] Strange issue in registering users in Kamailio
Hello guys, Finally i found what was my problem. It was about ARP table size, becuase is set to 1024 record in ubuntu. when i try to register a lot of users with different source ip to kamailio (or other sip server like asterisk and etc), after some minutes, the arp table is fulled and these warrning may be issue: In kamailio: Jun 14 16:06:50 172-1-1-158 /usr/local/kamailio-5.0/sbin/kamailio[31864]: ERROR: [core/tcp_read.c:1319]: tcp_read_req(): ERROR: tcp_read_req: error reading - c: 0x7f2518774590 r: 0x7f2518774610 Jun 14 16:06:50 172-1-1-158 /usr/local/kamailio-5.0/sbin/kamailio[31859]: ERROR: [core/tcp_read.c:1319]: tcp_read_req(): ERROR: tcp_read_req: error reading - c: 0x7f2518d4ebf0 r: 0x7f2518d4ec70 Jun 14 16:06:50 172-1-1-158 /usr/local/kamailio-5.0/sbin/kamailio[31868]: ERROR: [core/tcp_read.c:291]: tcp_read_data(): error reading: Connection reset by peer (104) ([192.168.13.227]:59948 -> Jun 14 16:06:50 172-1-1-158 /usr/local/kamailio-5.0/sbin/kamailio[31868]: ERROR: [core/tcp_read.c:292]: tcp_read_data(): -> [192.168.0.221]:5060) Jun 14 16:06:50 172-1-1-158 /usr/local/kamailio-5.0/sbin/kamailio[31868]: ERROR: [core/tcp_read.c:1319]: tcp_read_req(): ERROR: tcp_read_req: error reading - c: 0x7f25191387c0 r: 0x7f2519138840 J In Asterisk: Jun 16 00:59:09 asterisk11 kernel: [ 5042.988477] Neighbour table overflow [Jun 16 00:59:14] WARNING[2811] chan_sip.c: sip_xmit of 0x7f94fd08a4e0 (len 488) to 192.168.14.116:5060 returned -1: No buffer space available you should add some parameters in sysctl.conf in ubuntu: net.ipv4.neigh.default.gc_thresh1 = 512 net.ipv4.neigh.default.gc_thresh2 = 1024 net.ipv4.neigh.default.gc_thresh3 = 2048 Good luck With regards.Mojtaba Esfandiari.S -- --Mojtaba Esfandiari.S ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Strange issue in registering users in Kamailio
alot of issues were in syslog file , After these issue users could not register to kamailio. Jun 10 14:52:08 Kamailio-Standard kernel: [ 457.780059] device eth0 entered promiscuous mode Jun 10 14:56:14 Kamailio-Standard kernel: [ 704.039108] device eth0 left promiscuous mode Jun 10 14:56:29 Kamailio-Standard kernel: [ 719.276100] device eth0 entered promiscuous mode Jun 10 14:57:36 Kamailio-Standard /usr/local/sbin/kamailio[1376]: ERROR: [core/udp_server.c:570]: udp_send(): sendto(sock,0x7fa356f820b8,468,0,192.168.11.26:5060,16): Invalid argument(22) Jun 10 14:57:36 Kamailio-Standard /usr/local/sbin/kamailio[1376]: CRITICAL: [core/udp_server.c:575]: udp_send(): invalid sendtoparameters#012one possible reason is the server is bound to localhost and#012attempts to send to the net Jun 10 14:57:36 Kamailio-Standard /usr/local/sbin/kamailio[1376]: ERROR: sl [../../core/forward.h:201]: msg_send_buffer(): udp_send failed With Regard.Mojtaba On Mon, Jun 12, 2017 at 10:21 AM, David Villasmil wrote: > We're not psychics :) some info on what's going on, logs, configs, etc. Is > mandatory... > > > > On Mon, Jun 12, 2017 at 1:48 AM Mojtaba wrote: >> >> Does any person solve this problem? >> >> -- >> --Mojtaba Esfandiari.S >> >> ___ >> Kamailio (SER) - Users Mailing List >> sr-users@lists.kamailio.org >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- --Mojtaba Esfandiari.S ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Strange issue in registering users in Kamailio
We're not psychics :) some info on what's going on, logs, configs, etc. Is mandatory... On Mon, Jun 12, 2017 at 1:48 AM Mojtaba wrote: > Does any person solve this problem? > > -- > --Mojtaba Esfandiari.S > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] Strange issue in registering users in Kamailio
Does any person solve this problem? -- --Mojtaba Esfandiari.S ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] Strange issue in registering users in Kamailio
Hello, In now days i have a strange issue in registering users in kamailio. My senario is the following: I setup kamailio with basic configurations and i created 2000 users in mysql(from 1 to12000). With registration senario with SIPP tool, i have not issue and every things works right,(Notice that we know SIPP uses the same source ip for all registration), But when i use Spirent Abacus 5000(Test solution for voice, VoLTE and IMS), the kamailio just register 1024 users and other users could not register to kamailio. Spirent Abacus 5000 use the different source ip for each registration. I have these error in syslog message: ERROR: sl [../../core/forward.h:201]: msg_send buffer(): udp_send failed one possible reason is the server is bound to localhost I set this parameter in kamailio configurations, but the issue dont solved: open_files_limits:2048 and in linux configuration: ulimit -n 99 Please let me know how can i fixed it? With Regards. --Mojtaba Esfandiari.S ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] Strange issue in registering users in Kamailio
Hello, In now days i have a strange issue in registering users in kamailio. My senario is the following: I setup kamailio with basic configurations and i created 2000 users in mysql(from 1 to12000). With registration senario with SIPP tool, i have not issue and every things works right,(Notice that we know SIPP uses the same source ip for all registration), But when i use Spirent Abacus 5000(Test solution for voice, VoLTE and IMS), the kamailio just register 1024 users and other users could not register to kamailio. Spirent Abacus 5000 use the different source ip for each registration. I have these error in syslog message: ERROR: sl [../../core/forward.h:201]: msg_send buffer(): udp_send failed one possible reason is the server is bound to localhost I set this parameter in kamailio configurations, but the issue dont solved: open_files_limits:2048 and in linux configuration: ulimit -n 99 Please let me know how can i fixed it? -- --Mojtaba Esfandiari.S ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] Strange issue in registering users in Kamailio
Hello, In now days i have a strange issue in registering users in kamailio. My senario is the following: I setup kamailio with basic configurations and i created 2000 users in mysql(from 1 to12000). With registration senario with SIPP tool, i have not issue and every things works right,(Notice that we know SIPP uses the same source ip for all registration), But when i use Spirent Abacus 5000(Test solution for voice, VoLTE and IMS), the kamailio just register 1024 users and other users could not register to kamailio. Spirent Abacus 5000 use the different source ip for each registration. I have these error in syslog message: ERROR: sl [../../core/forward.h:201]: msg_send buffer(): udp_send failed one possible reason is the server is bound to localhost I set this parameter in kamailio configurations, but the issue dont solved: open_files_limits:2048 and in linux configuration: ulimit -n 99 Please let me know how can i fixed it? With Regards. Moj --Mojtaba Esfandiari.S ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users