Threads and modules
mcn4 at leicester.ac.uk
Mon Mar 23 22:51:05 CET 2015
On Mon, Mar 23, 2015 at 09:40:55PM +0000, Matthew Newton wrote:
> I've been working on the belief that each separate thread in
> FreeRADIUS has a separate instantiation of each module, e.g. a new
> thread calls mod_instantiate at startup and mod_detach at finish.
> Therefore an instantiation of the module is all within one thread.
> I'm now thinking about this further, and believe I'm wrong...?
Thinking about it more, and checking the code, yes I'm wrong. Just
not sure why I even thought that in the first place. Been staring
at this for too long I guess.
I'll add a connection pool to the mschap winbind code so it
doesn't have threading issues... as always annoying the issues
only show up under load, not in normal testing.
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>
Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>
More information about the Freeradius-Devel