2017-01-07 - Re: [GRASE-Hotspot] Semi-urgent: coova-chilli[1340]: dhcp.c: 644: reached max connections 512!
Header Data
From: Timothy White <ti***8@gmail.com>
Message Hash: e519a15701f17f389f88242c2c6065ba0f9092926cf97e2ac12ba2ef7307fc86
Message ID: <CAESLx0+D5O5QPz37KYes+ZX2NAz2YZzhAYkKJpMa5CSAdgSugA@mail.gmail.com>
Reply To: <1722670a-4b5b-4328-bd0f-12876fcb407d@grasehotspot.org>
UTC Datetime: 2017-01-07 16:40:22 UTC
Raw Date: Sun, 08 Jan 2017 09:40:22 +1000
Raw message
In theory, you need to add $HS_MAXCLIENTS to /etc/chilli/config with the
value of MAXCLIENTS that you want. However, as you state, there is a 512
hard coded in the coova-chilli code. It's not clear if that is a different
issue or not. Try setting MAXCLIENTS and then after restarting
coova-chilli, check that /etc/chilli/main.conf has the new maxclients line.
If you still hit the 512 limit, we'll just adjust the Coova Chilli version
we compile to have a higher limit.
Regards
Tim
On Sun, Jan 8, 2017 at 9:20 AM, Michael Raynor <mx***1@gmail.com> wrote:
> 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
>
> --
> This mailing list is for the Grase Hotspot Project http://grasehotspot.org
> ---
> You received this message because you are subscribed to the Google Groups
> "Grase Hotspot" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gr***e@grasehotspot.org.
> To post to this group, send email to gr***t@grasehotspot.org.
> Visit this group at https://groups.google.com/a/
> grasehotspot.org/group/grase-hotspot/.
> To view this discussion on the web visit https://groups.google.com/a/
> grasehotspot.org/d/msgid/grase-hotspot/1722670a-4b5b-
> 4328-bd0f-12876fcb407d%40grasehotspot.org
> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/1722670a-4b5b-4328-bd0f-12876fcb407d%40grasehotspot.org?utm_medium=email&utm_source=footer>
> .
>
Thread
- Return to January 2017
-
Return to February 2017
- Return to “Gianluca Filippini <gi***4@gmail.com>”
- Return to “Hotspotuser <jo***s@algardata.pt>”
- Return to “Michael Raynor <mx***1@gmail.com>”
- Return to “Timothy White <ti***8@gmail.com>”
-
Return to “Vicente Henríquez <vi***z@gmail.com>”
- 2017-01-07 (Sat, 07 Jan 2017 15:20:53 -0800) - Semi-urgent: coova-chilli[1340]: dhcp.c: 644: reached max connections 512! - Michael Raynor <mx***1@gmail.com>
- 2017-01-07 (Sun, 08 Jan 2017 09:40:22 +1000) - Re: [GRASE-Hotspot] Semi-urgent: coova-chilli[1340]: dhcp.c: 644: reached max connections 512! - Timothy White <ti***8@gmail.com>
- 2017-01-07 (Sat, 07 Jan 2017 17:33:26 -0800) - Re: [GRASE-Hotspot] Semi-urgent: coova-chilli[1340]: dhcp.c: 644: reached max connections 512! - Michael Raynor <mx***1@gmail.com>
- 2017-01-07 (Sat, 07 Jan 2017 20:04:15 -0800) - Re: [GRASE-Hotspot] Semi-urgent: coova-chilli[1340]: dhcp.c: 644: reached max connections 512! - Michael Raynor <mx***1@gmail.com>
- 2017-01-08 (Sun, 08 Jan 2017 00:45:29 -0800) - Re: [GRASE-Hotspot] Semi-urgent: coova-chilli[1340]: dhcp.c: 644: reached max connections 512! - Michael Raynor <mx***1@gmail.com>
- 2017-01-22 (Sun, 22 Jan 2017 01:02:46 -0800) - Re: [GRASE-Hotspot] Semi-urgent: coova-chilli[1340]: dhcp.c: 644: reached max connections 512! - Gianluca Filippini <gi***4@gmail.com>
- 2017-01-22 (Mon, 23 Jan 2017 06:39:57 +1000) - Re: [GRASE-Hotspot] Semi-urgent: coova-chilli[1340]: dhcp.c: 644: reached max connections 512! - Timothy White <ti***8@gmail.com>
- 2017-01-22 (Sun, 22 Jan 2017 01:02:46 -0800) - Re: [GRASE-Hotspot] Semi-urgent: coova-chilli[1340]: dhcp.c: 644: reached max connections 512! - Gianluca Filippini <gi***4@gmail.com>
- 2017-02-09 (Thu, 09 Feb 2017 11:54:15 -0800) - Re: Semi-urgent: coova-chilli[1340]: dhcp.c: 644: reached max connections 512! - Vicente Henríquez <vi***z@gmail.com>
- 2017-02-09 (Fri, 10 Feb 2017 07:17:05 +1000) - Re: [GRASE-Hotspot] Re: Semi-urgent: coova-chilli[1340]: dhcp.c: 644: reached max connections 512! - Timothy White <ti***8@gmail.com>
- 2017-02-13 (Mon, 13 Feb 2017 10:56:16 -0800) - Re: [GRASE-Hotspot] Re: Semi-urgent: coova-chilli[1340]: dhcp.c: 644: reached max connections 512! - Vicente Henríquez <vi***z@gmail.com>
- 2017-02-10 (Fri, 10 Feb 2017 01:37:44 -0800) - Re: Semi-urgent: coova-chilli[1340]: dhcp.c: 644: reached max connections 512! - Hotspotuser <jo***s@algardata.pt>
- 2017-02-09 (Fri, 10 Feb 2017 07:17:05 +1000) - Re: [GRASE-Hotspot] Re: Semi-urgent: coova-chilli[1340]: dhcp.c: 644: reached max connections 512! - Timothy White <ti***8@gmail.com>
- 2017-01-07 (Sun, 08 Jan 2017 09:40:22 +1000) - Re: [GRASE-Hotspot] Semi-urgent: coova-chilli[1340]: dhcp.c: 644: reached max connections 512! - Timothy White <ti***8@gmail.com>