rlm_python
    Phil Mayers 
    p.mayers at imperial.ac.uk
       
    Wed Apr  6 16:57:33 CEST 2016
    
    
  
On 06/04/16 15:31, Arran Cudbard-Bell wrote:
> Spent some time poking at it in v3.1.x.
>
> It seems to work OK with multiple threads now, and i've reworked the
> code to use separate interpreters for each module instance for
> cleanliness.
This is a bit of a minefield.
C extension modules which are using the "simplified" GIL API will 
deadlock if accessed in anything other than the first interpreter, IIRC.
I also think you can run into problems with C extension modules and 
unloading if you destroy interpreters.
The mod_wsgi docs contain a few of the pitfalls:
https://code.google.com/archive/p/modwsgi/wikis/ApplicationIssues.wiki
It'll probably be fine for pure python, but it's very chancy with any C 
extension modules (which are the most interesting bits).
Cheers,
Phil
    
    
More information about the Freeradius-Users
mailing list