Hello,


I change the shared memory from 256 to 512 and it works now. Thank you!



Regards,



Igor.



De : Daniel-Constantin Mierla [mailto:mico...@gmail.com]
Envoyé : mardi 24 janvier 2017 12:02
À : Igor Potjevlesch <igor.potjevle...@gmail.com>; 'Kamailio (SER) - Users 
Mailing List' <sr-users@lists.sip-router.org>
Objet : Re: [SR-Users] kamctl cr reload got 500 failed to re-built tree



Hello,

a reload at runtime is different than a load at startup, because it typically 
requires twice the size of the memory. The old records are kept in memory until 
all the new records are loaded in a separate structure. Once that is done, the 
active structure is swapped and the old one is freed. This is what happens with 
most of the modules I use (e.g., dispatcher) and I expect to be the same for 
carrierroute.

Cheers,
Daniel



On 24/01/2017 11:14, Igor Potjevlesch wrote:

Hello Daniel,



I don't see anything into /var/log/messages.

I can try to allocate additional shared memory for Kamailio and try again.



If I restart Kamailio, it works fine.

Regards,



Igor.





De : sr-users [mailto:sr-users-boun...@lists.sip-router.org] De la part de 
Daniel-Constantin Mierla
Envoyé : lundi 23 janvier 2017 20:53
À : Kamailio (SER) - Users Mailing List  <mailto:sr-users@lists.sip-router.org> 
<sr-users@lists.sip-router.org>
Objet : Re: [SR-Users] kamctl cr reload got 500 failed to re-built tree



Hello,



On 23/01/2017 17:15, Igor Potjevlesch wrote:

Hello,



With more than 173k entriers into carrierroute, now I'm doing "kamctl cr 
reload", I got the following reply: 500 failed to re-built tree, see log



What could going wrong?

not a user of the module, but it might be the case if insufficient shared 
memory. Have you looked inside the syslog file for the error messages?

Cheers,
Daniel





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




  _____


 
<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>







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


---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel 
antivirus Avast.
https://www.avast.com/antivirus
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to