Error: Discarding duplicate request from client
Nathan Ward
lists+freeradius at daork.net
Mon Nov 20 05:56:18 CET 2017
> On 20/11/2017, at 5:17 PM, Krauss International <sanman.krauss at 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?
> Also, could it be a problem that the script is in perl and taking long time?
That is a very broad question, and there isn’t any debug info provided to aid even a guess at why it’s taking it a long time.
Running a perl script through the exec module sounds like a great way to slow down the server though, loading the perl interpreter every time can’t be fast. Any reason you’re not running it in rlm_perl? This would keep your perl interpreter and script in memory in the freeradius process, and make things a lot quicker than calling it with exec.
>
>
> Thanks & regards
> Mankomal Singh
> Krauss International
> P: +91-9910416231
> E: ms at kc-india.com <mailto:ms at kc-india.com>
> PS: Send all bulk emails to sanman.krauss at gmail.com <mailto:sanman.krauss at gmail.com> ONLY
>
>
> On Fri, Nov 3, 2017 at 3:28 PM, Alan DeKok-2 [via FreeRADIUS] <
> ml+s1045715n5747898h61 at n5.nabble.com <mailto:ml+s1045715n5747898h61 at n5.nabble.com>> wrote:
>
>> On Nov 3, 2017, at 5:47 AM, Krauss International <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5747898&i=0 <http://user/SendEmail.jtp?type=node&node=5747898&i=0>>> wrote:
>>> I am getting lot of error messages in radius logs saying
>>>
>>> Fri Nov 3 14:26:03 2017 : Error: Discarding duplicate request from
>> client
>>> CCR port 59350 - ID: 202 due to unfinished request 12 in component
>>> post-auth module exec.
>>
>> The exec module is running a script, and that script is taking a long
>> time.
>>
>>> When users are trying to loh=gin in the NAS I can see in NAS logs that
>>> radius is timing out, what could be the reason for this?
>>
>> You configured the server to run a script, and the script takes a long
>> time.
>>
>> Fix that.
>>
>> If the script takes more than 1ms to run, it's wrong. If it takes 10s
>> to run, then the script is very, very, wrong.
>>
>> Fix the script. It's breaking the server.
>>
>> Alan DeKok.
>>
>>
>> -
>> List info/subscribe/unsubscribe? See http://www.freeradius.org/
>> list/users.html
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://freeradius.1045715.n5.nabble.com/Error-Discarding- <http://freeradius.1045715.n5.nabble.com/Error-Discarding->
>> duplicate-request-from-client-tp5747897p5747898.html
>> To unsubscribe from FreeRADIUS, click here
>> <http://freeradius.1045715.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2740692&code=c2FubWFuLmtyYXVzc0BnbWFpbC5jb218Mjc0MDY5MnwtMTI4MjExMDMwOA== <http://freeradius.1045715.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2740692&code=c2FubWFuLmtyYXVzc0BnbWFpbC5jb218Mjc0MDY5MnwtMTI4MjExMDMwOA==>>
>> .
>> NAML
>> <http://freeradius.1045715.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml <http://freeradius.1045715.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>>
>>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html <http://www.freeradius.org/list/users.html>
More information about the Freeradius-Users
mailing list