I've tried all sorts of values.  For binrpc_max_body_size, I've tried from 8 up to 10000.  For binrpc_struct_max_body_size, I've tried from 2 up to 10000.

Here are the number of entries in my LCR tables.

-H


On 2012-01-11, at 12:02 PM, Daniel-Constantin Mierla wrote:

Hello,

On 1/11/12 6:10 PM, Henry Fernandes wrote:
Thanks for the tip.

I increased this to start with 8MB private memory.  Now I'm getting the following error:

error: 500 - Internal server error processing '{': buffer too small (overflow) (-2)

I tried increasing the binrpc_max_body_size and binrpc_struct_max_body_size but this doesn't help.  I still get the same error.
what are the values for these parameters? How many records do you have in lcr tables?

Cheers,
Daniel

-H


On 2012-01-11, at 10:47 AM, Daniel-Constantin Mierla wrote:

Hello,

it may be that the private memory is used completely, so you need to start kamailio with more.

Starting with 3.2.0, it can be adjusted from command line, via '-M':

./kamailio -M 8 ...

will start kamailio with 8MB of private memory instead of the default 4.

Cheers,
Daniel

On 1/11/12 12:07 PM, Henning Westerholt wrote:
On Tuesday 10 January 2012, Henry Fernandes wrote:
I upgraded from Kamailio 3.1 to Kamailio 3.2 (x86_64/linux)
31c991 recently.  Since upgrading, my LCR does not work.  The "load_gws"
command always returns a 2 (meaning no routes found).

When I do a "sercmd lcr.dump_rules", I get the following error:

# sercmd lcr.dump_rules
error: 500 - Internal server error: out of memory

I've tried increasing "binrpc_max_body_size" and
"binrpc_struct_max_body_size", but this doesn't help.
Hi Henry,

can you please take a look to the server log files, this should provide more
informations what exactly the error is, which kind of memory is lacking.

Viele Grüße/ best regards,

Henning Westerholt

_______________________________________________
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

--
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda




_______________________________________________
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

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda