<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><br>Hi Alan,<br><br>I'm not sure if you saw the original thread, but the Clone function was getting called once when the<br>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. <br><br>This was happening on version: <font style="font-family: Verdana;" color="#000000" face="Verdana" size="2"> radiusd: FreeRADIUS Version 1.1.3, for host x86_64-unknown-linux- </font><br><br>Do we need to upgrade to 2.1.1 for the patch and does the patch cause the Clone function to only be<br>caused once on thread initialization?<br><br>Thanks for your help,<br><br>David<br><br><br><br>
<blockquote webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size: 10pt; color: black; font-family: verdana;">
-------- Original Message --------<br>
Subject: Re: Clone Function Called with each Authentication Request<br>
From: Alan DeKok <aland@deployingradius.com><br>
Date: Tue, October 14, 2008 10:51 pm<br>
To: FreeRadius developers mailing list<br>
<freeradius-devel@lists.freeradius.org><br>
<br>
dave@voicenotice.com wrote:<br>
> Did you see anything in the code / config that would cause clone to be<br>
> called each time<br>
> a thread executes?<br>
<br>
I've put an updated version of the module in the repository on<br>
git.freeradius.org. It has removed the thread pool code from rlm_perl,<br>
as it's not needed. The replacement is automatic management of threads,<br>
and fewer calls to clone.<br>
<br>
Alan DeKok.<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/devel.html" target="_blank" mce_href="http://www.freeradius.org/list/devel.html">http://www.freeradius.org/list/devel.html</a><br>
</blockquote></span></body></html>