Hello,
I change the shared memory from 256 to 512 and it works now. Thank you!
Regards,
Igor.
De : Daniel-Constantin Mierla [mailto:miconda@gmail.com] Envoyé : mardi 24 janvier 2017 12:02 À : Igor Potjevlesch igor.potjevlesch@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-bounces@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