Hi Alan,

I'm not sure if you saw the original thread, but the Clone function was getting called once when the
thread initialized which was fine and expected so we could initialize data for the thread, but then it was being called again for each subsequent authentication request that came in on the same thread, thereby re-initializing the data. 

This was happening on version:   radiusd: FreeRADIUS Version 1.1.3, for host x86_64-unknown-linux-

Do we need to upgrade to 2.1.1 for the patch and does the patch cause the Clone function to only be
caused once on thread initialization?

Thanks for your help,

David



-------- Original Message --------
Subject: Re: Clone Function Called with each Authentication Request
From: Alan DeKok <aland@deployingradius.com>
Date: Tue, October 14, 2008 10:51 pm
To: FreeRadius developers mailing list
<freeradius-devel@lists.freeradius.org>

dave@voicenotice.com wrote:
> Did you see anything in the code / config that would cause clone to be
> called each time
> a thread executes?

I've put an updated version of the module in the repository on
git.freeradius.org. It has removed the thread pool code from rlm_perl,
as it's not needed. The replacement is automatic management of threads,
and fewer calls to clone.

Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html