Dial up error and freeraius is down
Hi Friends, I met a problem with FreeRADIUS2.1.9 (Mysql+centos, about 500 pppoe users)as below: In general, I found some users couldn't dial to radius and log information as below - Fri Apr 1 19:22:09 2011 : Error: Discarding duplicate request from client mpth12 port 40039 - ID: 129 due to unfinished request 10524 - Fri Apr 1 19:22:10 2011 : Error: Discarding conflicting packet from client mpth12 port 40039 - ID: 129 due to recent request 10524. - I have two guesses: - Brand width is insufficient from pppoe server to radius server; - Server running radius of capability is insufficient. Could you help me? Thank you very much. Robin
Hi, - Brand width is insufficient from pppoe server to radius server; - Server running radius of capability is insufficient. You don't say what bandwith etc you are on or what spec the server is, but unless it's pretty low end I'd be surprised if that was the issue if you only have 500 users. Cheers, Mark -----Original Message----- From: freeradius-users-bounces+mark.holmes=nuffield.ox.ac.uk@lists.freeradius.org [mailto:freeradius-users-bounces+mark.holmes=nuffield.ox.ac.uk@lists.freeradius.org] On Behalf Of Robin Sent: 01 April 2011 15:52 To: freeradius-users@lists.freeradius.org Subject: Dial up error and freeraius is down Hi Friends, I met a problem with FreeRADIUS2.1.9 (Mysql+centos, about 500 pppoe users)as below: In general, I found some users couldn't dial to radius and log information as below - Fri Apr 1 19:22:09 2011 : Error: Discarding duplicate request from client mpth12 port 40039 - ID: 129 due to unfinished request 10524 - Fri Apr 1 19:22:10 2011 : Error: Discarding conflicting packet from client mpth12 port 40039 - ID: 129 due to recent request 10524. - I have two guesses: - Brand width is insufficient from pppoe server to radius server; - Server running radius of capability is insufficient. Could you help me? Thank you very much. Robin Nuffield College is a Registered Charity No. 1137506. Registered Office: Nuffield College, New Road, Oxford, OX1 1NF
Actually, I think I have enough bandwidth to handle 500 users request. But I can't understand what reason due to the problem and report these info in log. Thanks. Robin -----Original Message----- From: freeradius-users-bounces+freeradius=itpm.net@lists.freeradius.org [mailto:freeradius-users-bounces+freeradius=itpm.net@lists.freeradius.org] On Behalf Of Mark Holmes Sent: Friday, April 01, 2011 11:23 PM To: FreeRadius users mailing list Subject: RE: Dial up error and freeraius is down Hi, - Brand width is insufficient from pppoe server to radius server; - Server running radius of capability is insufficient. You don't say what bandwith etc you are on or what spec the server is, but unless it's pretty low end I'd be surprised if that was the issue if you only have 500 users. Cheers, Mark -----Original Message----- From: freeradius-users-bounces+mark.holmes=nuffield.ox.ac.uk@lists.freeradius.org [mailto:freeradius-users-bounces+mark.holmes=nuffield.ox.ac.uk@lists.freerad ius.org] On Behalf Of Robin Sent: 01 April 2011 15:52 To: freeradius-users@lists.freeradius.org Subject: Dial up error and freeraius is down Hi Friends, I met a problem with FreeRADIUS2.1.9 (Mysql+centos, about 500 pppoe users)as below: In general, I found some users couldn't dial to radius and log information as below - Fri Apr 1 19:22:09 2011 : Error: Discarding duplicate request from client mpth12 port 40039 - ID: 129 due to unfinished request 10524 - Fri Apr 1 19:22:10 2011 : Error: Discarding conflicting packet from client mpth12 port 40039 - ID: 129 due to recent request 10524. - I have two guesses: - Brand width is insufficient from pppoe server to radius server; - Server running radius of capability is insufficient. Could you help me? Thank you very much. Robin Nuffield College is a Registered Charity No. 1137506. Registered Office: Nuffield College, New Road, Oxford, OX1 1NF - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi,
- Fri Apr 1 19:22:09 2011 : Error: Discarding duplicate request from client mpth12 port 40039 - ID: 129 due to unfinished request 10524
- Fri Apr 1 19:22:10 2011 : Error: Discarding conflicting packet from client mpth12 port 40039 - ID: 129 due to recent request 10524.
almost always because your backend didnt answer in time. alan
Hi, If I can understand it, my freeradius for some reason has slowed due to response behind time? Thanks. Robin -----Original Message----- From: freeradius-users-bounces+freeradius=itpm.net@lists.freeradius.org [mailto:freeradius-users-bounces+freeradius=itpm.net@lists.freeradius.org] On Behalf Of Alan Buxey Sent: Saturday, April 02, 2011 1:58 AM To: FreeRadius users mailing list Subject: Re: Dial up error and freeraius is down Hi,
- Fri Apr 1 19:22:09 2011 : Error: Discarding duplicate request from client mpth12 port 40039 - ID: 129 due to unfinished request 10524
- Fri Apr 1 19:22:10 2011 : Error: Discarding conflicting packet from client mpth12 port 40039 - ID: 129 due to recent request 10524.
almost always because your backend didnt answer in time. alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Sat, Apr 2, 2011 at 9:20 AM, Robin <freeradius@itpm.net> wrote:
Hi,
If I can understand it, my freeradius for some reason has slowed due to response behind time?
I don't understand what you mean by "my freeradius for some reason has slowed due to response behind time", but like Alan said, the cause of that log is usually because your backend (mysql?) didn't return timely response which cause the NAS to re-send the request. When FR received the duplicate request, it discards the request since it detects it's still processing the old one. Things you might want to check: - is there a bottleneck in your MySQL? Sometimes a reporting query locks the tables so other queries (like select/insert from FR) can't be processed. - how big is your radacct table? When unmaintained, it can have millions of records, and some FR feature (like sqlcounter, or simultaneous use checking) reads entries in radacct - how efficient is your sql schema? Having lots of indexes can speed up certain select queries, but it can kill write (insert/update/delete) performance. In other words, get a DBA, check your MySQL setup. -- Fajar
Hi, Thanks your suggestion. I will clean records from radacct and check my reporting system if it effect freeradius operations. Robin -----Original Message----- From: freeradius-users-bounces+freeradius=itpm.net@lists.freeradius.org [mailto:freeradius-users-bounces+freeradius=itpm.net@lists.freeradius.org] On Behalf Of Fajar A. Nugraha Sent: Saturday, April 02, 2011 10:41 AM To: FreeRadius users mailing list Subject: Re: Dial up error and freeraius is down On Sat, Apr 2, 2011 at 9:20 AM, Robin <freeradius@itpm.net> wrote:
Hi,
If I can understand it, my freeradius for some reason has slowed due to response behind time?
I don't understand what you mean by "my freeradius for some reason has slowed due to response behind time", but like Alan said, the cause of that log is usually because your backend (mysql?) didn't return timely response which cause the NAS to re-send the request. When FR received the duplicate request, it discards the request since it detects it's still processing the old one. Things you might want to check: - is there a bottleneck in your MySQL? Sometimes a reporting query locks the tables so other queries (like select/insert from FR) can't be processed. - how big is your radacct table? When unmaintained, it can have millions of records, and some FR feature (like sqlcounter, or simultaneous use checking) reads entries in radacct - how efficient is your sql schema? Having lots of indexes can speed up certain select queries, but it can kill write (insert/update/delete) performance. In other words, get a DBA, check your MySQL setup. -- Fajar - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (4)
-
Alan Buxey -
Fajar A. Nugraha -
Mark Holmes -
Robin