Alan DeKok wrote:
[email protected] wrote:
  
@john dennis: it's not the bug we're hitting, as the issue is visible when
launching a "shell command" (via exec program wait)
    

  That's rather astonishing.
  
It is indeed what we've experienced with our tests: a simple "echo 'Auth-Type := Accept'" would take up to 100ms (more) than a "return 3" in perl or in python.
  
What about rlm_python? would you recommend using it, or will it be as
"slow" as the exec program wait in threaded mode?
    

  It will *not* fork a process, so it will be very fast.
  
that does indeed confirm the tests i've been doing this morning. It does look like the rlm_python roughly as fast as rlm_perl (takes less than a ms to answer, while the rlm_exec could take up to 100ms).
I'm wondering how the "not threaded" nature of cpython will behave with freeradius being threaded though, any clues on that?
  Alan DeKok.
-
  
Thanks

-- Mathieu


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

Reply via email to