[SR-Users] ul.dump failing when more than 26 users are registered

Olle E. Johansson oej at edvina.net
Tue Dec 30 13:03:26 CET 2014


On 30 Dec 2014, at 12:48, João Vitor Arruda <joao.arruda at gmail.com> wrote:

> Hi Olle,
> 
> Now.... I did. :)
> 
> Looks like the default 1KB on "binrpc_struct_max_body_size" is just good to print around 26 registered users when using "ul.dump". Increasing it allows to print more.
> 
> Thank you very much for this tip.
> 
> One final question: There is any problem or harm to set it to a higher value like 100KB (that would allow to print around 2600 registered users using "ul.dump") ?
I would rather use a database with usrloc replication :-)

Just make sure you allocate enough shared memory at Kamailio startup. Modern servers have plenty of memory,
but the default Kamailio allocation is not big.

/O
> 
> Regards,
> 
> 2014-12-30 9:31 GMT-02:00 Olle E. Johansson <oej at edvina.net>:
> 
> On 30 Dec 2014, at 12:20, João Vitor Arruda <joao.arruda at gmail.com> wrote:
> 
> > Hello,
> >
> > I´m doing a test with the ul.dump output on both Kamailio 4.1.5 or 4.2.1 and it works great if the number of registered users is 26 or lower.
> >
> > Starting with 27 registered users the "kamcmd ul.dump" command returns the error:
> > "error: 500 - Internal error creating aor struct"
> >
> > In Kamailio 4.2.1 the new (and nice) "kamcmd stats.get_statistics usrloc:" returns the correct number of registered_users without this "26 limit".
> >
> > Its possible to check why ul.dump is failing this way?
> >
> 
> Have you checked the CTL buffer sizes?
> 
> http://kamailio.org/docs/modules/4.2.x/modules/ctl.html
> 
> /O
> 
> 
> _______________________________________________
> 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
> 
> _______________________________________________
> 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

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


More information about the sr-users mailing list