Freeradius crash please help

Alan DeKok aland at deployingradius.com
Tue Dec 11 19:26:21 CET 2018


On Dec 11, 2018, at 12:27 AM, 8zero2 operations <8zero2ops at gmail.com> wrote:
> 
> Hi Thanks a lot man for taking time to reply, really appreciate it.

 I try.  It's been 20 years, and I'm still trying. :)

> I removed the exec + COA , Now i am printing the users to a file using
> exec. and then a background script sends COAs.

  That's good.

> - Spawning less threads kind of solves the problem.
> I see some errors "Timeout waiting for child" for an exec(shell) script
> which basically prints (time - 900 seconds). I tried to switch with a perl
> script(exec), but it slows down authentications a lot.

  You should be able to use rlm_perl to run the Perl script natively.  That should be faster than exec'ing a shell script.

> I know this doesnt relate you but
> this is the script :
> 
> date  --date="$1 seconds" '+%Y-%m-%d %H:%M:%S'
> 
> $1 is the argument given
> A question regarding this : Can I do something about this?

  You can fork the script with "wait = no".  But it is odd that the script times out like that.

  To be honest, I don't really recommend running scripts on login.  They are usually slow and resource-intensive.

  Alan DeKok.




More information about the Freeradius-Users mailing list