[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: Error: Discarding duplicate request from client
From:       Alan DeKok <aland () deployingradius ! com>
Date:       2017-11-20 12:23:55
Message-ID: 132D1C1B-8152-4510-BDB4-0A97C3211528 () deployingradius ! com
[Download RAW message or body]

On Nov 19, 2017, at 11:17 PM, Krauss International <sanman.krauss@gmail.com> wrote:
> 
> Alan, Thanks for your reply
> I have been searching for a resolution on this
> How do I get to know the amount of time script is taking to execute?

  Run it in debug mode and look at it.  Or, instrument your script using standard \
Unix tools.

> Also, could it be a problem that the script is in perl and taking long time?

  That's what I said.

  Use rlm_perl.  It will help a little bit.

  But... your script is probably doing lots of complex things.  That's wrong.

  In the most extreme case, your script should take no more than 1ms to run.  If it \
*ever* takes longer than that, fix it.

  Alan DeKok.


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic