<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.ita-kd-inputtools-div
        {mso-style-name:ita-kd-inputtools-div;}
span.hps
        {mso-style-name:hps;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">A client is not limited to 256 ongoing requests.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">This is not exact science.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">You need to do is evaluate the maximum total requests/s rate your server will have to serve.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Multiply that by your max request time, and you have the max requests FreeRADIUS will be handling at a given time.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">BTW, the following comment in radiusd.conf is misleading, it should probably be updated :<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:13.5pt"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas;color:#333333">#  max_requests: The maximum number of requests which the server keeps<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.5pt"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas;color:#333333">#  track of.  This should be 256 multiplied by the number of clients.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.5pt"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas;color:#333333">#  e.g. With 4 clients, this number should be 1024.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><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 ?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Calibri","sans-serif"">Hello<o:p></o:p></span></p>
<div id="gt-res-content">
<div>
<p class="MsoNormal"><span class="hps"><span lang="EN" style="font-family:"Calibri","sans-serif"">So</span></span><span lang="EN" style="font-family:"Calibri","sans-serif"">
<span class="hps">if I have</span> <span class="hps">274</span> <span class="hps">
routers</span> <span class="hps">connected to</span> <span class="hps">Hotspot</span>
<span class="hps">Radius</span> <span class="hps">server,</span> <span class="hps">
I need</span> <span class="hps">to put in</span> <span class="hps">max-</span>request:
<span class="hps">70144</span> <span class="hps">(256</span> <span class="hps">queries</span>
<span class="hps">* number of</span> <span class="hps">clients)</span> <br>
<br>
<span class="hps">Is this correct</span>?<br>
<br>
best Regards<br>
<br>
</span><span style="font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Calibri","sans-serif""><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><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">
http://www.freeradius.org/list/users.html</a><o:p></o:p></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></body>
</html>