2017-01-07 - Semi-urgent: coova-chilli[1340]: dhcp.c: 644: reached max connections 512!

Header Data

From: Michael Raynor <mx***1@gmail.com>
Message Hash: 5f67d239cdd051ff0bfec8535b60d0fa97e39e10b8f30aec852c7c3352ff3a0a
Message ID: <1722670a-4b5b-4328-bd0f-12876fcb407d@grasehotspot.org>
Reply To: N/A
UTC Datetime: 2017-01-07 16:20:53 UTC
Raw Date: Sat, 07 Jan 2017 15:20:53 -0800

Raw message

Hi Tim (and everyone),

We are having an issue with our Grase server where it refuses to dish our 
more DHCP leases.

We are using the 10.50.0.0/16 subnet for Guests with DHCP Start of 2 
(10.50.0.2) and DHCP End of 65532 (10.50.255.253 or close to).

In theory I was hoping that just the DHCP Start and End would be sufficient 
to make this work.

/var/log/syslog shows the following:

Jan  8 06:51:31 grase01 coova-chilli[1340]: message repeated 10 times: [ 
dhcp.c: 644: reached max connections 512!]
Jan  8 06:51:31 grase01 coova-chilli[1340]: dhcp.c: 5602: ARP: out of 
connections
Jan  8 06:51:33 grase01 coova-chilli[1340]: dhcp.c: 644: reached max 
connections 512!
Jan  8 06:51:33 grase01 coova-chilli[1340]: dhcp.c: 5602: ARP: out of 
connections
Jan  8 06:51:45 grase01 coova-chilli[1340]: dhcp.c: 644: reached max 
connections 512!

http://stackoverflow.com/questions/38784447/coovachilli-dhcp-server-limit-issue 
speaks of a maxclients variable of 512 hard coded into chilli - which 
doesn't sound like an easy fix.

https://coova.github.io/mail-archive/chilli/2014-May/002729.html speaks of 
a maxclients setting that can be overwritten in the chilli config

As part of Grase hotspot, is the maxclients variable being modified 
relative to the DHCP Start and DHCP End in the Admin Portal? If it isn't , 
can I manually whack this in there to get us out of trouble? Should I put 
it in the main.conf or the local.conf?

I have restarted the Grase server and it appears to be working again, 
however "sudo chilli_query list | wc -l" has already crept back up to 331 
of the possibly 512 limit.

We have three 1 week conferences ahead so I really want to find a solution 
ASAP.

Thanks for your help,

Michael

Thread