[Spce-user] Too many gateways?
john.murray at skyracktelecom.com
Mon Nov 5 13:23:52 EST 2012
Thanks Andreas. That was a bit scary.
I got the number by looking at the last lcr_gw id but this of course doesn't
equal the number of rows. I now have 126.
From: spce-user-bounces at lists.sipwise.com
[mailto:spce-user-bounces at lists.sipwise.com] On Behalf Of Andreas Granig
Sent: 05 November 2012 17:57
To: spce-user at lists.sipwise.com
Subject: Re: [Spce-user] Too many gateways?
On 11/05/2012 06:36 PM, John Murray wrote:
> I am now down to 145 gateways (peers) and working again J
> The symptoms were that on adding additional gateways the routing
> seemed to ignore them and select other gateways.
> Then eventually giving up and restarting the box, kamailio dumped core
> and would not start.
We're going to check this. The default max number of gateways set in the lcr
module of kamailio is actually 128, so the 145 seems a bit odd.
You should be able to raise it by setting a line like this in
modparam("lcr", "lcr_gw_count", 1024)
Either way, we're going to make it configurable in config.yml and
programatically enforce it in the provisioning interface.
More information about the Spce-user