2016-11-29 - Re: [GRASE-Hotspot] question on GRASE freeradius temp file
Header Data
From: Timothy White <ti***8@gmail.com>
Message Hash: 827d28715a498bb6b9f6fa0460a9d225e4c88c1e58a504b54b1f5ea0a0c3de85
Message ID: <CAESLx0KH1ZBagToc6iCg6N7_RkjtYF09TFacxgaV_Khxzm17cg@mail.gmail.com>
Reply To: <3153bc50-6244-4d92-a9a9-0e00725444e2@grasehotspot.org>
UTC Datetime: 2016-11-29 13:53:48 UTC
Raw Date: Wed, 30 Nov 2016 06:53:48 +1000
Raw message
Hi Gianluca
We use the raddact table to detect multiple logins. Looking at
https://github.com/GraseHotspot/grase-conf-freeradius/blob/master/freeradius/sites-available/default.grase#L464
we can comment out that line which should prevent the radwtmp file being
written at all. You'll find that file in /etc/freeradius/sites-available/
I'll aim to fix that in the package shortly.
Let us know if that fixes your issue. If it's recently become an issue, I'd
be looking at the volume of users you are getting, and see if that has
increased recently.
Regards
Tim
On Wed, Nov 30, 2016 at 5:24 AM, Gianluca Filippini <
gi***4@gmail.com> wrote:
> Hi Tim,
> in a previous post I was referring to poor performance on a old
> installation of grase (3.7)
>
> the issue is presenting as a long delay from the moment a registered user
> asks for a website and the moment he gets the page.
> the delay is huge ... up to minutes ... on a very powerful machine (4
> cores 3Ghz Xeon with 16G ram) and a very fast internet link (100Mbit/s
> fiber)
> the average internet load is 90 users connected with a 20/30Mbit/s traffic.
>
> so I focused my attention on the freeradius package and I found that the
> var/log/freeradius/radwtmp was getting huge after few days ... up to 600M+
>
> my understanding is that this file is used by freeradius to detect
> MULTIPLE SESSION which indeed I do *not* allow in my GRASE user account
> group.
>
> ===
> My theory is that every time a user does a request this file has to be
> parsed to prevent double sessions, adding a big delay to the user response,
> so I deleted the file (it is a temp file) and I will monitor performance
> next .. but ..
>
> is this some sort of known issue that has been addressed in v.3.8 ?
>
> I see that multiple session can be adressed either by using mysql (raddact
> table) OR radwtmp file ..
> do you know which one we are using?
>
> thanks
>
> --
> 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/3153bc50-6244-
> 4d92-a9a9-0e00725444e2%40grasehotspot.org
> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/3153bc50-6244-4d92-a9a9-0e00725444e2%40grasehotspot.org?utm_medium=email&utm_source=footer>
> .
>
Thread
-
Return to November 2016
- Return to “Dražen Žuvela <dr***a@radez.hr>”
- Return to “drazen <dr***a@radez.hr>”
- Return to “Gianluca Filippini <gi***4@gmail.com>”
- Return to “Hotspotuser <jo***s@algardata.pt>”
- Return to ““Luis A. Guzmán García” <l.***g@gmail.com>”
-
Return to “Timothy White <ti***8@gmail.com>”
- 2016-11-29 (Tue, 29 Nov 2016 11:24:29 -0800) - question on GRASE freeradius temp file - Gianluca Filippini <gi***4@gmail.com>
- 2016-11-29 (Wed, 30 Nov 2016 06:53:48 +1000) - Re: [GRASE-Hotspot] question on GRASE freeradius temp file - Timothy White <ti***8@gmail.com>
- 2016-11-29 (Tue, 29 Nov 2016 14:52:00 -0800) - Re: [GRASE-Hotspot] question on GRASE freeradius temp file - Gianluca Filippini <gi***4@gmail.com>
- 2016-11-30 (Wed, 30 Nov 2016 09:50:44 +0100) - Re: [GRASE-Hotspot] question on GRASE freeradius temp file - Dražen Žuvela <dr***a@radez.hr>
- 2016-11-30 (Wed, 30 Nov 2016 02:40:47 -0800) - Re: [GRASE-Hotspot] question on GRASE freeradius temp file - Gianluca Filippini <gi***4@gmail.com>
- 2016-11-30 (Wed, 30 Nov 2016 18:02:34 +0100) - Re: [GRASE-Hotspot] question on GRASE freeradius temp file - drazen <dr***a@radez.hr>
- 2016-11-30 (Wed, 30 Nov 2016 11:09:55 -0600) - Re: [GRASE-Hotspot] question on GRASE freeradius temp file - “Luis A. Guzmán García” <l.***g@gmail.com>
- 2016-11-30 (Wed, 30 Nov 2016 10:48:48 -0800) - Re: [GRASE-Hotspot] question on GRASE freeradius temp file - Hotspotuser <jo***s@algardata.pt>
- 2016-11-30 (Wed, 30 Nov 2016 18:02:34 +0100) - Re: [GRASE-Hotspot] question on GRASE freeradius temp file - drazen <dr***a@radez.hr>
- 2016-11-30 (Wed, 30 Nov 2016 02:40:47 -0800) - Re: [GRASE-Hotspot] question on GRASE freeradius temp file - Gianluca Filippini <gi***4@gmail.com>
- 2016-11-30 (Wed, 30 Nov 2016 09:50:44 +0100) - Re: [GRASE-Hotspot] question on GRASE freeradius temp file - Dražen Žuvela <dr***a@radez.hr>
- 2016-11-29 (Tue, 29 Nov 2016 14:52:00 -0800) - Re: [GRASE-Hotspot] question on GRASE freeradius temp file - Gianluca Filippini <gi***4@gmail.com>
- 2016-11-29 (Wed, 30 Nov 2016 06:53:48 +1000) - Re: [GRASE-Hotspot] question on GRASE freeradius temp file - Timothy White <ti***8@gmail.com>