accel-ppp stops processing packets when RADIUS is unavailable

Radius related questions
Post Reply
lbw
Posts: 25
Joined: 09 Mar 2019, 00:16

accel-ppp stops processing packets when RADIUS is unavailable

Post by lbw » 06 Dec 2020, 07:59

Hi

I've noticed accel-ppp stops processing packets for PPPoE and L2TP type services when RADIUS services become unresponsive or slow. My guess is that the request queue is overwhelmed with RADIUS requests and it stops or slows processing others to almost a halt as all threads become busy/overwhelmed. This is on a very busy server doing > 2Gbps.

[radius]
server=1.2.3.4,password,auth-port=1812,acct-port=1813,req-limit=50,fail-timeout=10,max-fail=10,weight=5,acct-interim-interval=900
acct-interim-interval=900
verbose=1
interim-verbose=300
max-try=3
acct-timeout=120

It's a major issue that a failure in the control plane can severely affect the data plane. Is there any suggestions on possible configuration solutions or otherwise, should the thread queues for data plane and control plane issues be separated?

Thanks

dimka88
Posts: 776
Joined: 13 Oct 2014, 05:51
Contact:

Re: accel-ppp stops processing packets when RADIUS is unavailable

Post by dimka88 » 06 Dec 2020, 09:30

Hello @lbw, I see you using req-limit=50, maybe you need to increase this param?

lbw
Posts: 25
Joined: 09 Mar 2019, 00:16

Re: accel-ppp stops processing packets when RADIUS is unavailable

Post by lbw » 07 Dec 2020, 03:40

I'm not sure that I understand why increasing that make any discernible difference? Looking at the code, all that would do is merely delay the same problem from happening maybe 1 second later? The issue is if the RADIUS server is unavailable for let's say an hour, the entire accel-ppp stack stops working for existing sessions.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests