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

Aqs Younas aqsyounas at gmail.com
Thu Jul 21 22:40:02 CEST 2016


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 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/20160722/e8f668fb/attachment.html>


More information about the sr-users mailing list