Hi,
Each day, I send a SIGHUP to accel-pppd in order to reload its configuration, after logrotate has moved the log files.
Today, I noticed that some of my pppoe sessions, but not all, are closed at this time, with the "NAS-Error" message.
Is there a better way to reload accel-ppp to avoid this, or something else I can do ?
Regards,
Mat
SIGHUP causes some sessions to be closed
Re: SIGHUP causes some sessions to be closed
SIGHUP only reopens log files and hasn't to cause any session close
there is no other way to do that
there is no other way to do that
Re: SIGHUP causes some sessions to be closed
Hi Dmitry,
Thank you for your answer. I have made further investigation, and I've found this message in the log file:
warn: ppp16: radius: server(1) not responding
I think an other cronjob on my radius server, at the exact same time of the SIGHUP, makes it unavailable for a few seconds, causing the session to be closed.
Do you think increasing acct-timeout could solve my issue ? what is the default value ?
Mat
Thank you for your answer. I have made further investigation, and I've found this message in the log file:
warn: ppp16: radius: server(1) not responding
I think an other cronjob on my radius server, at the exact same time of the SIGHUP, makes it unavailable for a few seconds, causing the session to be closed.
Do you think increasing acct-timeout could solve my issue ? what is the default value ?
Mat
Re: SIGHUP causes some sessions to be closed
yes, that may helps
btw, is accounting mandatory for you ?
you can completely get rid of this problem by setting acct-timeout=0
in this case accel-ppp will send accounting packets, but won't wait for reply and thus won't retransmit lost packets
btw, is accounting mandatory for you ?
you can completely get rid of this problem by setting acct-timeout=0
in this case accel-ppp will send accounting packets, but won't wait for reply and thus won't retransmit lost packets
Re: SIGHUP causes some sessions to be closed
that's exactly what I've done, and I have no more "NAS-Error".
Thanks for your help
Thanks for your help