<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On 30 Dec 2014, at 12:48, Joćo Vitor Arruda <<a href="mailto:joao.arruda@gmail.com">joao.arruda@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi Olle,<div><br></div><div>Now.... I did. :)</div><div><br></div><div>Looks like the default 1KB on "<span style="font-family: Helvetica, Arial;">binrpc_struct_max_body_size" is just good to print around 26 registered users when using "ul.dump". Increasing it allows to print more.</span></div><div><span style="font-family: Helvetica, Arial;"><br></span></div><div><span style="font-family: Helvetica, Arial;">Thank you very much for this tip.</span></div><div><span style="font-family: Helvetica, Arial;"><br></span></div><div><span style="font-family: Helvetica, Arial;">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") ?</span></div></div></blockquote>I would rather use a database with usrloc replication :-)</div><div><br></div><div>Just make sure you allocate enough shared memory at Kamailio startup. Modern servers have plenty of memory,</div><div>but the default Kamailio allocation is not big.</div><div><br></div><div>/O<br><blockquote type="cite"><div dir="ltr"><div><span style="font-family: Helvetica, Arial;"><br></span></div><div><span style="font-family: Helvetica, Arial;">Regards,</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-30 9:31 GMT-02:00 Olle E. Johansson <span dir="ltr"><<a href="mailto:oej@edvina.net" target="_blank">oej@edvina.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
On 30 Dec 2014, at 12:20, Joćo Vitor Arruda <<a href="mailto:joao.arruda@gmail.com">joao.arruda@gmail.com</a>> wrote:<br>
<br>
> Hello,<br>
><br>
> 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.<br>
><br>
> Starting with 27 registered users the "kamcmd ul.dump" command returns the error:<br>
> "error: 500 - Internal error creating aor struct"<br>
><br>
> 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".<br>
><br>
> Its possible to check why ul.dump is failing this way?<br>
><br>
<br>
</div></div>Have you checked the CTL buffer sizes?<br>
<br>
<a href="http://kamailio.org/docs/modules/4.2.x/modules/ctl.html" target="_blank">http://kamailio.org/docs/modules/4.2.x/modules/ctl.html</a><br>
<br>
/O<br>
<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br></div>
_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users<br></blockquote></div><br></body></html>