Hi all I have freeradius-1.0.1-1 (with Petr Nixon's patch) running on FC-3 and using a postgresql backend to collect cisco AAA (stop only) records. My cisco IOS is 12.3(2)T2. I see a lot of radius timeout on my cisco router while the ping times is < 10ms and my radius timeout is set to 50. I even went further to connect the radius server and the router back to back with a cross cable and still have some timeouts. What could be wrong with my configs? Any help will be appreciated. Thank you.
Below is the logs on my cisco router as well as the radius server. ============= PRI-CAN-GW1#sh radi stat Auth. Acct. Both Maximum inQ length: NA NA 20 Maximum waitQ length: NA NA 457 Maximum doneQ length: NA NA 4 Total responses seen: 0 38384 38384 Packets with responses: 0 38384 38384 Packets without responses: 0 146768 146768 Average response delay(ms): 0 516 516 Maximum response delay(ms): 0 57760 57760 Number of Radius timeouts: 0 293969 293966 Duplicate ID detects: 0 0 0 Buffer Allocation Failures: 0 0 0 Maximum Buffer Size (bytes): 0 1409 1409 Source Port Range: (full range) 21645 - 21844 Last used Source Port/Identifier: 21685/242 Elapsed time since counters last cleared: 3d13h36m ============================= radius.log ==start Thu Sep 8 16:55:14 2005 : Error: rlm_sql (pgsql-voip): failed after re-connect Thu Sep 8 16:55:14 2005 : Error: rlm_sql (pgsql-voip): Couldn't update SQL accounting STOP record - ERROR: duplicate key violates unique constraint "stoptelephonycombo" Thu Sep 8 16:55:14 2005 : Error: rlm_sql (pgsql-voip): failed after re-connect Thu Sep 8 16:55:14 2005 : Error: rlm_sql (pgsql-voip): Couldn't update SQL accounting STOP record - ERROR: duplicate key violates unique constraint "stoptelephonycombo" Thu Sep 8 16:55:14 2005 : Error: rlm_sql (pgsql-voip): failed after re-connect Thu Sep 8 16:55:14 2005 : Error: rlm_sql (pgsql-voip): Couldn't update SQL accounting STOP record - ERROR: duplicate key violates unique constraint "stoptelephonycombo" ===stop The duplicate records increase to the extent that it sometimes kills my radius server. What could be the cause of the timeout. On Thu, 8 Sep 2005 15:27:34 +0200 Nicolas Baradakis <nbk@sitadelle.com> wrote:
Callis wrote:
I see a lot of radius timeout on my cisco router while the ping times is < 10ms and my radius timeout is set to 50.
Is there any error message in file "radius.log" ?
-- Nicolas Baradakis
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
how connections to the database do you have in your pgsql-voip.conf? --- Callis <callis@idncafe.com> wrote:
Below is the logs on my cisco router as well as the radius server. ============= PRI-CAN-GW1#sh radi stat Auth. Acct. Both Maximum inQ length: NA NA 20 Maximum waitQ length: NA NA 457 Maximum doneQ length: NA NA 4 Total responses seen: 0 38384 38384 Packets with responses: 0 38384 38384 Packets without responses: 0 146768 146768 Average response delay(ms): 0 516 516 Maximum response delay(ms): 0 57760 57760 Number of Radius timeouts: 0 293969 293966 Duplicate ID detects: 0 0 0 Buffer Allocation Failures: 0 0 0 Maximum Buffer Size (bytes): 0 1409 1409 Source Port Range: (full range) 21645 - 21844 Last used Source Port/Identifier: 21685/242
Elapsed time since counters last cleared: 3d13h36m
============================= radius.log ==start
Thu Sep 8 16:55:14 2005 : Error: rlm_sql (pgsql-voip): failed after re-connect Thu Sep 8 16:55:14 2005 : Error: rlm_sql (pgsql-voip): Couldn't update SQL accounting STOP record - ERROR: duplicate key violates unique constraint "stoptelephonycombo" Thu Sep 8 16:55:14 2005 : Error: rlm_sql (pgsql-voip): failed after re-connect Thu Sep 8 16:55:14 2005 : Error: rlm_sql (pgsql-voip): Couldn't update SQL accounting STOP record - ERROR: duplicate key violates unique constraint "stoptelephonycombo" Thu Sep 8 16:55:14 2005 : Error: rlm_sql (pgsql-voip): failed after re-connect Thu Sep 8 16:55:14 2005 : Error: rlm_sql (pgsql-voip): Couldn't update SQL accounting STOP record - ERROR: duplicate key violates unique constraint "stoptelephonycombo"
===stop The duplicate records increase to the extent that it
sometimes kills my radius server. What could be the cause of the timeout.
On Thu, 8 Sep 2005 15:27:34 +0200 Nicolas Baradakis <nbk@sitadelle.com> wrote:
Callis wrote:
I see a lot of radius timeout on my cisco router while the ping times is < 10ms and my radius timeout is set to 50.
Is there any error message in file "radius.log" ?
-- Nicolas Baradakis
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/
participants (3)
-
Amedzekor Kafui -
Callis -
Nicolas Baradakis