accel-ppp stops processing packets when RADIUS is unavailable

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

accel-ppp stops processing packets when RADIUS is unavailable

Post by lbw »

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: 866
Joined: 13 Oct 2014, 05:51
Contact:

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

Post by dimka88 »

Hello @lbw, I see you using req-limit=50, maybe you need to increase this param?
lbw
Posts: 27
Joined: 09 Mar 2019, 00:16

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

Post by lbw »

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