accel-ppp died without generating any logs

PPPoE related questions
Post Reply
gondim
Posts: 64
Joined: 04 Mar 2016, 14:44

accel-ppp died without generating any logs

Post by gondim »

Hi Dmitry,

Something strange has happened here on my server. accel-ppp died without generating any logs.
No kernel panics too.

Using commit 568d50a7b810349db9567622e37924d44ee22a2d

Until the commit e25f03bf144dbe7121bc5710aafbd45f71215436 I did not notice this problem.

# w
18:44:07 up 3 days, 16:26, 1 user, load average: 0,04, 0,30, 0,63

# accel-cmd show stat
uptime: 0.00:08:25
cpu: 0%
mem(rss/virt): 37100/896760 kB
core:
mempool_allocated: 12395591
mempool_available: 1158059
thread_count: 12
thread_active: 1
context_count: 1311
context_sleeping: 0
context_pending: 0
md_handler_count: 2942
md_handler_pending: 0
timer_count: 2759
timer_pending: 0
sessions:
starting: 1
active: 1287
finishing: 0
pppoe:
starting: 0
active: 1288
delayed PADO: 0
recv PADI: 2209
drop PADI: 114
sent PADO: 2095
recv PADR(dup): 1886(1)
sent PADS: 1883
filtered: 0
radius(1, 191.xxx.xxx.220):
state: active
fail count: 0
request count: 1
queue length: 0
auth sent: 1862
auth lost(total/5m/1m): 0/0/0
auth avg query time(5m/1m): 311/334 ms
acct sent: 2119
acct lost(total/5m/1m): 0/0/0
acct avg query time(5m/1m): 87/106 ms
interim sent: 83
interim lost(total/5m/1m): 0/0/0
interim avg query time(5m/1m): 41/0 ms
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: accel-ppp died without generating any logs

Post by Dmitry »

hi
try to catch coredump
gondim
Posts: 64
Joined: 04 Mar 2016, 14:44

Re: accel-ppp died without generating any logs

Post by gondim »

Hi Dmitry,

I can not find .core files on the system.
One question: if my freeradius stops responding for a while, accel-ppp would disconnect the users and the service would fall?
Or even if freeradius crashes, accel-ppp would continue to operate but without authentication?

Best regards,
dimka88
Posts: 866
Joined: 13 Oct 2014, 05:51
Contact:

Re: accel-ppp died without generating any logs

Post by dimka88 »

Hi, if in [radius] section on accel-ppp.conf set acct-timeout=n, accel-ppp terminated session and new connection will be denied when radius not responding. If radius server restored, authenication will be accepted

link from wiki https://accel-ppp.org/wiki/doku.php?id= ... ile#radius

Code: Select all

acct-timeout=n
Specifies timeout to wait reply for Interim-Update packets.
If n is greater than zero then session will be terminated after timeout exceeds. If n is zero then don't retransmit Interim-Update packets and don't terminate session.
gondim
Posts: 64
Joined: 04 Mar 2016, 14:44

Re: accel-ppp died without generating any logs

Post by gondim »

Hi all,

It must have been something with the radius. I made some adjustments to the radius and it's already 3 days that everything is 100% OK.
Post Reply