<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div id="gt-src-tools"><div id="gt-src-tools-l"><div style="display: inline-block;" id="gt-input-tool"><div id="itamenu"><span class="ita-kd-inputtools-div"></span></div></div></div></div>   <div id="gt-res-content" class="almost_half_cell"><div dir="ltr" style="zoom:1"><span id="result_box" lang="en"><span class="hps">Thank you</span> <span class="hps">and where</span> <span class="hps">can we see</span> <span class="hps">the maximum total requests/s rate</span><span class="hps"></span><span>?</span> <br><span class="hps"><br>Because it</span> <span class="hps">is difficult to</span> <span class="hps">see the maximum</span> <span class="hps">queries</span> <span class="hps">to a</span> <span class="hps">given</span> <span class="hps">order to determine</span> <span class="hps">the correct value</span> <span class="hps">now?</span></span></div></div><br><span style="font-family:"Calibri","sans-serif";" lang="EN">best Regards</span><br><br><div><hr id="stopSpelling">From: nicolas.chaigneau@capgemini.com<br>To: freeradius-users@lists.freeradius.org<br>Subject: RE: radiusd.conf max request ?<br>Date: Fri, 18 Jul 2014 08:29:51 +0000<br><br>



<style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:blue;
text-decoration:underline;
}

.ExternalClass span.ecxMsoHyperlinkFollowed {
color:purple;
text-decoration:underline;
}

.ExternalClass p {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass pre {
font-size:10.0pt;
font-family:"Courier New";
}

.ExternalClass span.ecxita-kd-inputtools-div {
}

.ExternalClass span.ecxhps {
}

.ExternalClass span.ecxEmailStyle20 {
font-family:"Calibri","sans-serif";
color:#1F497D;
}

.ExternalClass span.ecxPrformatHTMLCar {
font-family:"Courier New";
}

.ExternalClass .ecxMsoChpDefault {
font-size:10.0pt;
}

.ExternalClass div.ecxWordSection1 {
}

--></style>


<div class="ecxWordSection1">
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;" lang="EN-US">A client is not limited to 256 ongoing requests.
</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;" lang="EN-US">One client can (and will, if need be) use multiple source ports (for each source port, 256 requests can be ongoing), hence sending as many requests
 as it needs at a given time.</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;" lang="EN-US"> </span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;" lang="EN-US">This is not exact science.</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;" lang="EN-US">You need to do is evaluate the maximum total requests/s rate your server will have to serve.</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;" lang="EN-US">Multiply that by your max request time, and you have the max requests FreeRADIUS will be handling at a given time.</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;" lang="EN-US"> </span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;" lang="EN-US">BTW, the following comment in radiusd.conf is misleading, it should probably be updated :</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;" lang="EN-US"> </span></p>
<p class="ecxMsoNormal" style="line-height:13.5pt;"><span style="font-size:9.0pt;font-family:Consolas;color:#333333;" lang="EN-US">#  max_requests: The maximum number of requests which the server keeps</span></p>
<p class="ecxMsoNormal" style="line-height:13.5pt;"><span style="font-size:9.0pt;font-family:Consolas;color:#333333;" lang="EN-US">#  track of.  This should be 256 multiplied by the number of clients.</span></p>
<p class="ecxMsoNormal" style="line-height:13.5pt;"><span style="font-size:9.0pt;font-family:Consolas;color:#333333;" lang="EN-US">#  e.g. With 4 clients, this number should be 1024.</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;" lang="EN-US"> </span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;" lang="EN-US"> </span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;" lang="EN-US"> </span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;" lang="EN-US"> </span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;">
<p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";"> freeradius-users-bounces+nicolas.chaigneau=capgemini.com@lists.freeradius.org [mailto:freeradius-users-bounces+nicolas.chaigneau=capgemini.com@lists.freeradius.org]
<b>De la part de</b> Arnaud .<br>
<b>Envoyé :</b> vendredi 18 juillet 2014 09:36<br>
<b>À :</b> FreeRadius users mailing list<br>
<b>Objet :</b> RE: radiusd.conf max request ?</span></p>
</div>
</div>
<p class="ecxMsoNormal"> </p>
<div>
<p class="ecxMsoNormal" style=""><span style="font-family:"Calibri","sans-serif";">Hello</span></p>
<div id="ecxgt-res-content">
<div>
<p class="ecxMsoNormal"><span class="ecxhps"><span style="font-family:"Calibri","sans-serif";" lang="EN">So</span></span><span style="font-family:"Calibri","sans-serif";" lang="EN">
<span class="ecxhps">if I have</span> <span class="ecxhps">274</span> <span class="ecxhps">
routers</span> <span class="ecxhps">connected to</span> <span class="ecxhps">Hotspot</span>
<span class="ecxhps">Radius</span> <span class="ecxhps">server,</span> <span class="ecxhps">
I need</span> <span class="ecxhps">to put in</span> <span class="ecxhps">max-</span>request:
<span class="ecxhps">70144</span> <span class="ecxhps">(256</span> <span class="ecxhps">queries</span>
<span class="ecxhps">* number of</span> <span class="ecxhps">clients)</span> <br>
<br>
<span class="ecxhps">Is this correct</span>?<br>
<br>
best Regards<br>
<br>
</span><span style="font-family:"Calibri","sans-serif";"></span></p>
</div>
</div>
<p class="ecxMsoNormal" style=""><span style="font-family:"Calibri","sans-serif";"> </span></p>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">> Date: Thu, 17 Jul 2014 16:43:45 -0400<br>
> From: <a href="mailto:aland@deployingradius.com">aland@deployingradius.com</a><br>
> To: <a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a><br>
> Subject: Re: radiusd.conf max request ?<br>
> <br>
> Arnaud . wrote:<br>
> > Hello,<br>
> > <br>
> > How should settle in "radiusd.conf" max_request_time, cleanup_delay and<br>
> > max_requests?<br>
> <br>
> The configuration files document what they're for, and what they do.<br>
> <br>
> > Currently I max_request_time = 30 cleanup_delay = 2 and max_requests =<br>
> > 50432<br>
> > <br>
> > Is it set? If it is misconfigured what can happen?<br>
> <br>
> Don't change max_request_time or cleanup_delay. Set max_requests to<br>
> some large value.<br>
> <br>
> If you get it wrong, error messages will appear in the log. The<br>
> messages will tell you to increase max_request_time.<br>
> <br>
> Alan DeKok.<br>
> -<br>
> List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">
http://www.freeradius.org/list/users.html</a></span></p>
</div>
</div>
</div>
<span style="font-size:9px;line-height:10px;">This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.</span>

<br>-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html</div>                                        </div></body>
</html>