[SR-Users] Out of Memory Error in Kamailio

Daniel-Constantin Mierla miconda at gmail.com
Thu Feb 5 11:57:40 CET 2015


Hello,

On 04/02/15 16:06, Neeraj Swarnkar wrote:
> Hi Guys,
>
> I am using Kamailio-4.2.1. Earlier I was using shared memory of 16GB,
> which started popping out of memory error, within few seconds of
> generating load from sipp.
>
> I used sipp following command:
>
> sipp -s 999999999999 MY_KAM_IP -l 2500 -r 50
>
> */Error coming is :/*
> */Feb  4 14:12:23 kamailio_us_ha1 /usr/local/sbin/kamailio[27389]:
> ERROR: tm [t_reply.c:1946]: relay_reply(): ERROR: relay_reply: cannot
> alloc reply shmem/*
>
>
>
> After changing the shared memory to 1 GB, this error came quite late when
> generate load at 200 CPS.
> sipp -s 999999999999MY_KAM_IP -l 2500 -r 200 
>
> Why this is happening?
> I am using following configuration file( kamailio.cfg). Earliest
> possible help will be appreciated a lot!!

Can you give the command you use to start kamailio?

Also, once you get the out of memory errors, grab the output of:

kamctl stats

and send it here.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150205/f095368c/attachment.html>


More information about the sr-users mailing list