rlm_perl behavior
Apostolos Pantsiopoulos
regs at kinetix.gr
Thu Apr 2 17:08:36 CEST 2009
I updated my server from 2.0.x to 2.1.4
and found out that the rlm_perl config now resides
in the /module directory.
I noticed that the following directives :
max_clones = 10
start_clones = 5
min_spare_clones = 1
max_spare_clones = 5
max_request_per_clone = 100
for perl were not present in the file after the compiling.
Are these directives obsolete?
Also, in my perl script I make use of the CLONE function
that according to the wiki is the ideal place to initialize
database handlers. This seemed to work fine for the last 2 years
with 1.x and 2.0.x freeradius. Using the parameters above
and the CLONE function I could see 10 connections to my
mysql server from the moment radiusd was up.
When I migrated to 2.1.x the CLONE function seems to be called only
after the first radius packet arrives (which is not an issue really).
But when I check my connections to the mysql server there seems to be
only one...!
Was the behavior of rlm_perl altered in any way? I want to have multiple
instances of rlm_perl so that I can connect to different databases
simultaneously and spread the load.
--
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs at kinetix.gr
-------------------------------------------
More information about the Freeradius-Users
mailing list