[SR-Users] Kamailio stops accepting calls for few seconds after 80 CPS.

Aaron Hamstra ahamstra at carnegietechnologies.com
Thu Jul 21 23:16:26 CEST 2016


I do not recall if pike is enabled by default in the base config file or not, but you may be running into it blocking you.


Check to see if WITH_ANTIFLOOD is defined.  If it is and you want it you will need to adjust your pike modparams.  If it is enabled, and you do not needed remove the define.


If it is not enabled, it must be something else completely.

________________________________
From: sr-users <sr-users-bounces at lists.sip-router.org> on behalf of Aqs Younas <aqsyounas at gmail.com>
Sent: Thursday, July 21, 2016 3:40:02 PM
To: sr-users at lists.sip-router.org
Subject: [SR-Users] Kamailio stops accepting calls for few seconds after 80 CPS.

Greeting list.

I am doing the load test of Kamailio with SIPp using most basic script(kamailio.cfg) with logging level set to minimum to dispatch requests to SIPp UAS.

This is my dispatcher code snippet.

        $avp(quality) = "1";
        ds_select_dst("$avp(quality)", "4");
        route(RELAY);

At 70 CPS calls work fine. But if I increase CPS to 80, Kamailio stops accepting calls for few seconds and comes to life after being idle for some time.

100 CPS for sip proxy is not hot cake.

Also, I see in http://www.kamailio.org/docs/openser-performance-tests/ tests were made with -l27 and -m7000 which looks wronged to me.

./sipp -sf uac_inv.xml<http://www.kamailio.org/docs/openser-performance-tests/data/uac_inv.xml> -rsa 192.168.2.102:5060<http://192.168.2.102:5060> 192.168.2.102:5070<http://192.168.2.102:5070> -m 200000 -r 7000 -d 1 -l 27

There must be something wrong in my configuration since this cps is very low.

kamailio -version
version: kamailio 4.4.1 (x86_64/linux) 90be8b
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 90be8b


SHM_MEMORY=768
PKG_MEMORY=64

Any suggestion is much appreciated.

Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160721/668d14ab/attachment.html>


More information about the sr-users mailing list