problem with slow rauth.pl / racct.pl
problem with slow rauth.pl / racct.pl
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
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
The monitoring session reset? Maybe you have too great an interval processing Alive packets.
Я не волшебник... я только учусь!
Re: problem with slow rauth.pl / racct.pl
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" ?
- 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
Reduce this valuesemoff писал(а):RADIUS Parameters: Acct-Interim-Interval=300
Я не волшебник... я только учусь!
-
- Site Admin
- Сообщения: 5746
- Зарегистрирован: Пт янв 28, 2005 3:11 pm
- Контактная информация:
Re: problem with slow rauth.pl / racct.pl
OK, thank you both for support~AsmodeuS~ писал(а):Use rlp_perl configuration
http://abills.net.ua/wiki/doku.php/abil ... lm_perl:ru
Re: problem with slow rauth.pl / racct.pl
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.
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.
- Вложения
-
- second access server
- Untitled-1.jpg (50.1 КБ) 25760 просмотров
Re: problem with slow rauth.pl / racct.pl
ОК,
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!
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!
-
- Сообщения: 34
- Зарегистрирован: Чт ноя 16, 2006 11:05 pm
- Откуда: България
- Контактная информация:
Re: problem with slow rauth.pl / racct.pl
Разкараи микролаината и си сложи 2 бсд-та и си решаваш проблемите персонално.
Re: problem with slow rauth.pl / racct.pl
установил abills на виртуальный сервер
все работало хорошо недели 3, пока racct.pl не начал периодически загружать дисковую систему
переделал на rlm_perl, переписал Exec-Program на Excec-Program-Wait в raddb/users
все равно периодически перл все валит, даже если отключаю связь с NAS и на биллинг никто не заходит
куда копать...
все работало хорошо недели 3, пока racct.pl не начал периодически загружать дисковую систему
переделал на rlm_perl, переписал Exec-Program на Excec-Program-Wait в raddb/users
все равно периодически перл все валит, даже если отключаю связь с NAS и на биллинг никто не заходит
куда копать...
-
- Site Admin
- Сообщения: 5746
- Зарегистрирован: Пт янв 28, 2005 3:11 pm
- Контактная информация:
Re: problem with slow rauth.pl / racct.pl
показывает топі процесс листы и другие данные и откройте тему в нужной ветке