<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=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}
@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:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri","sans-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.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"\7D14\6587\5B57 \5B57\5143";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri","sans-serif";}
span.a
{mso-style-name:"\7D14\6587\5B57 \5B57\5143";
mso-style-priority:99;
mso-style-link:\7D14\6587\5B57;
font-family:"Calibri","sans-serif";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.bold
{mso-style-name:bold;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
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=ZH-TW link=blue vlink=purple style='text-justify-trim:punctuation'><div class=WordSection1><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>Hi Fajar and Alan<br><br><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>Yes, I noticed that it said discarding *<b>duplicate</b>* request from our NMS.<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>About how fast our NMS request to FR, just like I mentioned before about it send a request w/ 2 retry & 1 sec timeout every minute.<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>This request will proxy to external AAA for auth and I’ve confirmed the AAA is normal.<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>We’re guessing the problem is due to abnormal IO overloading of our new DB. <o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>Another, our NMS always send the same request w/ the same ID, if it didn’t get response from FR with 2 retry & 1 sec TO, it will trigger trap to send SMS to us.<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>I’m afraid that sometimes our NMS would get a chance to finish a request under the circumstance of bad DB situation which other virtual server is facing. <o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>At the same time, FR possibly be late to return a response to it so that our test client will consider as RADIUS is down. And I guess FR will queue the reply with the ID.<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>After a minute, it might ignore the request from our NMS because previous request w/ same ID is still in the queue. Then this has been a cycle.<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>In summary, I just want to confirm if I can assert it was caused by problematic DB when I got the error message like that. <o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>But since Alan has said that I can put more focus on what happened to DB. Thanks you guys’ experiences a lot!<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>Besides, I want to know how much extent that does perl script in FR would likely decrease performance of overall FR significantly?<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>Because I also wrote some modules by rlm_perl in different sections. I know documentation says perl with FR is fast. But I have no idea if there is a limitation.<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>Thanks again!<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>Okis<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black;background:white'>On Mon, Oct 21, 2013 at 3:48 PM, Okis Chuang <<a href="http://freeradius.1045715.n5.nabble.com/user/SendEmail.jtp?type=node&node=5723064&i=0" target="_top"><span style='color:#551A8B'>[hidden email]</span></a>> wrote:</span><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><br><br></span><span lang=EN-US style='font-family:"新細明體","serif"'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>"Discarding duplicate <b><span style='background:#FFFF99'>request</span></b> from NMS - ID xx due to<br>unfinished <b><span style='background:#FFFF99'>request</span></b> xxxx",<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>Did you read what it says? "Duplicate <b><span style='background:#FFFF99'>request</span></b>"?<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:4.8pt;background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>then after about short period of time, it showed<br>msg "WARNING: Unresponsive <b><span style='background:#FFFF99'>child</span></b> <b><span style='background:#FFFF99'>for</span></b> <b><span style='background:#FFFF99'>request</span></b> xxxx, <b><span style='background:#FFFF99'>in</span></b> <b><span style='background:#FFFF99'>component</span></b> <b><span style='background:#FFFF99'>authorized</span></b><br><b><span style='background:#FFFF99'>module</span></b>", can I still say that <b><span style='background:#FFFF99'>is</span></b> due to problematic DB?<br><br><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>Do you actually know how fast your NMS <b><span style='background:#FFFF99'>request</span></b> <b><span style='background:#FFFF99'>is</span></b> processed? It can be slow even if it doesn't use db if it depends on external <b><span style='background:#FFFF99'>components</span></b>. <b><span style='background:#FFFF99'>For</span></b> example, proxying auth to external radius servers.<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>-- <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>Fajar</span><span lang=EN-US><o:p></o:p></span></p></div></div></body></html>