Страница 1 из 1

problem with slow rauth.pl / racct.pl

Добавлено: Пт фев 25, 2011 11:51 am
semoff
Hi,
first of all i want to thank you for you great work :)
Everything works fine except one thing.
When comes 1st date of every month and all PPP Sessions are dropped, then it takes up to 30 minutes for all users to authenticate again. Is there any way to speed up that process ?
i use "files" not "rlm_perl".
My hardware is:
CPU: Athlon XP 1Ghz
RAM: 1G
HDD: ATA 160G
This machine servers only abills, nothing else.
P.S. Access Server is Mikrotik

Re: problem with slow rauth.pl / racct.pl

Добавлено: Пт фев 25, 2011 6:44 pm
zakachkin
The monitoring session reset? Maybe you have too great an interval processing Alive packets.

Re: problem with slow rauth.pl / racct.pl

Добавлено: Сб фев 26, 2011 6:35 am
semoff
My settings at "System settings -> NAS" are:
- Authorization: SQL
- External Accounting: IPN
- Alive (sec.): 60
- RADIUS Parameters: Acct-Interim-Interval=300

Should i decrease value of "Alive" or "Radius parameters" ?

Re: problem with slow rauth.pl / racct.pl

Добавлено: Сб фев 26, 2011 7:47 am
zakachkin
semoff писал(а):RADIUS Parameters: Acct-Interim-Interval=300
Reduce this value

Re: problem with slow rauth.pl / racct.pl

Добавлено: Сб фев 26, 2011 1:46 pm
~AsmodeuS~

Re: problem with slow rauth.pl / racct.pl

Добавлено: Сб фев 26, 2011 3:57 pm
semoff
~AsmodeuS~ писал(а):Use rlp_perl configuration

http://abills.net.ua/wiki/doku.php/abil ... lm_perl:ru
OK, thank you both for support :)

Re: problem with slow rauth.pl / racct.pl

Добавлено: Вс фев 27, 2011 2:28 pm
semoff
Hi again :)
i've configured rlm_perl and the process is real fast now - 5-6 sec.
But i have 2 other problems now:
- 1st -> i cant turn off periodic check in config.pl "$conf{periodic_check}=0;" , but it still check every 5 minutes and drop sessions.
- 2nd -> i use 2 NAS Servers (Mikrotik) at the second there is no traffic on sessions, first server is fine. (see attachment)
There wasn't such problems when i use "files".

Regards.

Re: problem with slow rauth.pl / racct.pl

Добавлено: Пн фев 28, 2011 3:39 pm
semoff
ОК,
both problems are solved !
for first problem i had to uncomment line 335 and 383 in libexec/billd
for the second i returned value of Acct-Interim-Interval back to 300
Thank you anyway :)
Cheers!

Re: problem with slow rauth.pl / racct.pl

Добавлено: Ср мар 02, 2011 8:59 am
savago
Разкараи микролаината и си сложи 2 бсд-та и си решаваш проблемите персонално.

Re: problem with slow rauth.pl / racct.pl

Добавлено: Пт ноя 08, 2013 6:56 am
Кузьменко
установил abills на виртуальный сервер
все работало хорошо недели 3, пока racct.pl не начал периодически загружать дисковую систему

переделал на rlm_perl, переписал Exec-Program на Excec-Program-Wait в raddb/users
все равно периодически перл все валит, даже если отключаю связь с NAS и на биллинг никто не заходит

куда копать...

Re: problem with slow rauth.pl / racct.pl

Добавлено: Пт ноя 08, 2013 9:22 am
~AsmodeuS~
показывает топі процесс листы и другие данные и откройте тему в нужной ветке