[SR-Users] Dimensioning of shared memory for carrierroute

Daniel-Constantin Mierla miconda at gmail.com
Thu Mar 2 13:36:13 CET 2017


Hello,

can you give the details for following two cases:

1)

- start kamailio with only 1000 entries in carrier route

- get output of 'kamctl stats shmem'

2)

- start kamailio with all your entries in carrier route

- get output of 'kamctl stats shmem'

Then give also an estimation of how many active registrations and call
setups per second you may have in average.

Based on the difference and the estimations, we may be able to give more
hints.

Cheers,
Daniel

On 02/03/2017 12:23, Igor Potjevlesch wrote:
>
> Hello,
>
>  
>
> I'd like to dimension shared memory to use "kamctl cr reload" without
> issue.
>
> Currently, my table "carrierroute" has 204k entries and if I do
> "kamctl cr reload", the reload fails.
>
>  
>
> Just after, I have thousands of these errors:
>
> Mar  2 12:10:52 /usr/local/sbin/kamailio[28606]: ERROR: <core>
> [sip_msg_clone.c:507]: sip_msg_shm_clone(): cannot allocate memory
>
> Mar  2 12:10:52 /usr/local/sbin/kamailio[28606]: ERROR: tm
> [t_lookup.c:1332]: new_t(): ERROR: new_t: out of mem:
>
> Mar  2 12:10:52 /usr/local/sbin/kamailio[28606]: ERROR: tm
> [t_lookup.c:1472]: t_newtran(): ERROR: t_newtran: new_t failed
>
>  
>
> After a reboot, Kamailio back to normal. Actually, I start Kamailio
> with -m 704 and -M 128.
>
>  
>
> Thank you for your advises.
>
> Regards,
>
>  
>
> Igor.
>
>
>
> ------------------------------------------------------------------------
> Avast logo
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
> 	
>
> L'absence de virus dans ce courrier électronique a été vérifiée par le
> logiciel antivirus Avast.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
>
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com

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


More information about the sr-users mailing list