Re: Freeradius-Users Digest, Vol 209, Issue 34
Hi Alen, Actually before some time you suggested the perl module for very huge traffic. so, i should have to use perl for accounting or just use perl for Authentication/Authorization and Redis for Accounting? Thanks Imdad On Thu, Sep 29, 2022 at 5:30 PM < freeradius-users-request@lists.freeradius.org> wrote:
Send Freeradius-Users mailing list submissions to freeradius-users@lists.freeradius.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.freeradius.org/mailman/listinfo/freeradius-users or, via email, send a message with subject or body 'help' to freeradius-users-request@lists.freeradius.org
You can reach the person managing the list at freeradius-users-owner@lists.freeradius.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Freeradius-Users digest..."
Today's Topics:
1. Re: Freeradius-Users Digest, Vol 209, Issue 33 (Imdad Hasan) 2. Re: Freeradius-Users Digest, Vol 209, Issue 33 (Michael Schwartzkopff) 3. Received Conflict packets in RADIUS accounting (Imdad Hasan) 4. Re: Received Conflict packets in RADIUS accounting (Alan DeKok)
----------------------------------------------------------------------
Message: 1 Date: Thu, 29 Sep 2022 11:42:34 +0530 From: Imdad Hasan <imdadalikadiwala0@gmail.com> To: freeradius-users@lists.freeradius.org Subject: Re: Freeradius-Users Digest, Vol 209, Issue 33 Message-ID: <CAPidyMVQCX2vLgZCGVUBCmtUZv53GguaDVg= WK6ixxPD6tKS+Q@mail.gmail.com> Content-Type: text/plain; charset="UTF-8"
Hi Matthew,
Actually I am finding a less costly way to reload config from service restart.. Right now i am using service restart command for that.. but is there any way without restarting service?
On Wed, Sep 28, 2022 at 5:30 PM < freeradius-users-request@lists.freeradius.org> wrote:
Send Freeradius-Users mailing list submissions to freeradius-users@lists.freeradius.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.freeradius.org/mailman/listinfo/freeradius-users or, via email, send a message with subject or body 'help' to freeradius-users-request@lists.freeradius.org
You can reach the person managing the list at freeradius-users-owner@lists.freeradius.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Freeradius-Users digest..."
Today's Topics:
1. How to reload freeradius service after new NAS added without restart (Imdad Hasan) 2. Re: How to reload freeradius service after new NAS added without restart (Matthew Newton)
----------------------------------------------------------------------
Message: 1 Date: Tue, 27 Sep 2022 17:35:19 +0530 From: Imdad Hasan <imdadalikadiwala0@gmail.com> To: freeradius-users@lists.freeradius.org Subject: How to reload freeradius service after new NAS added without restart Message-ID: <CAPidyMVv6jsEvUthyd4S6hVzGFcyN16bcXdoOab= WGMKghcqWw@mail.gmail.com> Content-Type: text/plain; charset="UTF-8"
Hi All,
I am trying to reload freeradius config after adding NAS but it's not working, and it is only work with restart..
On "service freeradius reload" it's showing this error..
" * Checking FreeRADIUS daemon configuration...
[ OK ] * FreeRADIUS daemon is not running "
i also tried the with sig HUP but still it's not working.
Please help if anyone have idea about this.
Thanks Imdad
------------------------------
Message: 2 Date: Tue, 27 Sep 2022 13:13:31 +0100 From: Matthew Newton <mcn@freeradius.org> To: freeradius-users@lists.freeradius.org Subject: Re: How to reload freeradius service after new NAS added without restart Message-ID: <30fbf890-26b5-de85-6d96-766962b55d85@freeradius.org> Content-Type: text/plain; charset=UTF-8; format=flowed
On 27/09/2022 13:05, Imdad Hasan wrote:
On "service freeradius reload" it's showing this error..
" * Checking FreeRADIUS daemon configuration...
[ OK ] * FreeRADIUS daemon is not running "
i also tried the with sig HUP but still it's not working.
Please help if anyone have idea about this.
Use `service freeradius restart`.
If there are errors and it won't restart, use `freeradius -X` to see why.
-- Matthew
------------------------------
Subject: Digest Footer
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
------------------------------
End of Freeradius-Users Digest, Vol 209, Issue 33 *************************************************
------------------------------
Message: 2 Date: Thu, 29 Sep 2022 08:40:33 +0200 From: Michael Schwartzkopff <ms@sys4.de> To: freeradius-users@lists.freeradius.org Subject: Re: Freeradius-Users Digest, Vol 209, Issue 33 Message-ID: <c5424c74-e8d0-b38f-7b46-506f474929b5@sys4.de> Content-Type: text/plain; charset=UTF-8; format=flowed
On 29.09.22 08:12, Imdad Hasan wrote:
Hi Matthew,
Actually I am finding a less costly way to reload config from service restart.. Right now i am using service restart command for that.. but is there any way without restarting service?
Yes. See radmin.
On Wed, Sep 28, 2022 at 5:30 PM < freeradius-users-request@lists.freeradius.org> wrote:
Send Freeradius-Users mailing list submissions to freeradius-users@lists.freeradius.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.freeradius.org/mailman/listinfo/freeradius-users or, via email, send a message with subject or body 'help' to freeradius-users-request@lists.freeradius.org
You can reach the person managing the list at freeradius-users-owner@lists.freeradius.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Freeradius-Users digest..."
Today's Topics:
1. How to reload freeradius service after new NAS added without restart (Imdad Hasan) 2. Re: How to reload freeradius service after new NAS added without restart (Matthew Newton)
----------------------------------------------------------------------
Message: 1 Date: Tue, 27 Sep 2022 17:35:19 +0530 From: Imdad Hasan <imdadalikadiwala0@gmail.com> To: freeradius-users@lists.freeradius.org Subject: How to reload freeradius service after new NAS added without restart Message-ID: <CAPidyMVv6jsEvUthyd4S6hVzGFcyN16bcXdoOab= WGMKghcqWw@mail.gmail.com> Content-Type: text/plain; charset="UTF-8"
Hi All,
I am trying to reload freeradius config after adding NAS but it's not working, and it is only work with restart..
On "service freeradius reload" it's showing this error..
" * Checking FreeRADIUS daemon configuration...
[ OK ] * FreeRADIUS daemon is not running "
i also tried the with sig HUP but still it's not working.
Please help if anyone have idea about this.
Thanks Imdad
------------------------------
Message: 2 Date: Tue, 27 Sep 2022 13:13:31 +0100 From: Matthew Newton <mcn@freeradius.org> To: freeradius-users@lists.freeradius.org Subject: Re: How to reload freeradius service after new NAS added without restart Message-ID: <30fbf890-26b5-de85-6d96-766962b55d85@freeradius.org> Content-Type: text/plain; charset=UTF-8; format=flowed
On 27/09/2022 13:05, Imdad Hasan wrote:
On "service freeradius reload" it's showing this error..
" * Checking FreeRADIUS daemon configuration...
[ OK ] * FreeRADIUS daemon is not running "
i also tried the with sig HUP but still it's not working.
Please help if anyone have idea about this. Use `service freeradius restart`.
If there are errors and it won't restart, use `freeradius -X` to see
why.
-- Matthew
------------------------------
Subject: Digest Footer
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
------------------------------
End of Freeradius-Users Digest, Vol 209, Issue 33 *************************************************
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Mit freundlichen Gr??en,
--
[*] sys4 AG
https://sys4.de, +49 (89) 30 90 46 64 Schlei?heimer Stra?e 26/MG,80333 M?nchen
Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief Aufsichtsratsvorsitzender: Florian Kirstein
------------------------------
Message: 3 Date: Thu, 29 Sep 2022 16:47:58 +0530 From: Imdad Hasan <imdadalikadiwala0@gmail.com> To: freeradius-users@lists.freeradius.org Subject: Received Conflict packets in RADIUS accounting Message-ID: < CAPidyMU0RShHrDB0-Bdp0Y4CZ0PKxirhfZ0cQd1DAZRL_wrBxA@mail.gmail.com> Content-Type: text/plain; charset="UTF-8"
Hi All,
i am receiving an error about conflict packet like
*Error: Received conflicting packet from client NAS1 port 53433 - ID: 194 due to unfinished request in module <queue>. Giving up on old request.*
1.) At this time my radius server hangs and takes 100% CPU. 2.) From some time the linux kernel is taking 30% CPU constantly.
I am using ubuntu-server 20.04 with freeradius 3.0.20.
Note: I am using distributed systems like *DB, WebUI and FreeRADIUS in different-different VPS*.
Please help if any one has an idea about this error/issue.
Thanks Imdad
------------------------------
Message: 4 Date: Thu, 29 Sep 2022 07:28:20 -0400 From: Alan DeKok <aland@deployingradius.com> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Subject: Re: Received Conflict packets in RADIUS accounting Message-ID: <B018B37A-11ED-4219-9A08-D7E6CD9D6623@deployingradius.com> Content-Type: text/plain; charset=us-ascii
On Sep 29, 2022, at 7:17 AM, Imdad Hasan <imdadalikadiwala0@gmail.com> wrote:
i am receiving an error about conflict packet like
*Error: Received conflicting packet from client NAS1 port 53433 - ID: 194 due to unfinished request in module <queue>. Giving up on old request.*
1.) At this time my radius server hangs and takes 100% CPU. 2.) From some time the linux kernel is taking 30% CPU constantly.
I am using ubuntu-server 20.04 with freeradius 3.0.20.
You should use 3.2.0, but that won't help. The problem is almost definitely your database.
Read the *rest* of the messages in the log files. You will likely see messages about "module sql became unblocked" or "module sql is unresponsive"/
Something else is blocking the server, and is preventing it from doing work. It is almost always something like a database. Or maybe a slow Perl module, or even you're exec'ing complicated scripts.
If you put a name and password into the "users" file, FreeRADIUS can handle 40K packets/s. So if your local site can't handle 100 packets/s, then it's something broken in your local system.
Alan DeKok.
------------------------------
Subject: Digest Footer
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
------------------------------
End of Freeradius-Users Digest, Vol 209, Issue 34 *************************************************
Please edit your posts to (a) include a reasonable subject, and (b) don't include all of the digest message. We've already seen the previous posts. There's no reason to send them to the list again.
On Sep 29, 2022, at 8:39 AM, Imdad Hasan <imdadalikadiwala0@gmail.com> wrote:
Actually before some time you suggested the perl module for very huge traffic. so, i should have to use perl for accounting or just use perl for Authentication/Authorization and Redis for Accounting?
Perl is fine if it doesn't take huge amounts of time. Perhaps you could try following the rest of my advice. Look at the logs to see WHY it is failing. Which module is causing the problem? The logs WILL TELL YOU. Only you know what is in your local logs. Read them. If you don't understand them, post summaries to the list. Only you know what you changed in your local configuration. If it's slow, it's because of something you did. If you're not sure what could be slow, then describe how what the system is doing, and how you changed the default configuration. You're asking me to debug an issue while not following any advice I give, and very carefully giving as little information as possible about the problem. This is not a good approach. Alan DeKok.
participants (2)
-
Alan DeKok -
Imdad Hasan