<div dir="ltr">Dear Zaid<div><br></div><div>Thanks for your response, we have hundreds of devices configured to send their data to GenieACS every minute.</div><div><br></div><div>Is their any way to improve capacity of GenieACS  to meet our needs?</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>------------------------------</div><div><table border="0" cellpadding="0" cellspacing="0" width="100" style="font-size:11px"><tbody><tr bgcolor="#003399"><td width="330" style="border-top-width:1px;border-top-style:solid;border-top-color:rgb(0,51,153);border-left-width:1px;border-left-style:solid;border-left-color:rgb(0,51,153);padding-left:15px;color:rgb(255,255,255)"><b style="font-size:14px">Sasan Torabkheslat</b><br><span style="font-size:12px">Linux Sysadmin</span></td><td width="385" align="right" style="border:1px solid rgb(0,51,153)"><img src="http://www.linkedin.com/img/signature/bg_bluegel_385x42.jpg" width="385" height="42" alt=""></td></tr><tr><td colspan="2" style="border-style:solid;border-color:rgb(0,51,153);border-width:0px 1px;padding:10px 0px 10px 30px"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr valign="top" style="line-height:15px"><td width="60%"><b style="color:rgb(153,153,153)">Mobile:</b> +989034565053<br><b style="color:rgb(153,153,153)">Personal Website:</b> <a href="http://torabkheslat.ir/" target="_blank">torabkheslat.ir</a></td><td width="40%" style="padding-left:15px"><b style="color:rgb(153,153,153)">Email:</b> <a href="mailto:Inbox@torabkheslat.ir" style="text-decoration:none;color:rgb(0,0,0)" target="_blank">Inbox@torabkheslat.ir</a><br><img src="http://www.linkedin.com/img/signature/icon_in_blue_14x14.gif" width="14" height="14" alt="" align="middle"> <b><a href="http://ir.linkedin.com/pub/sasan-torabkheslat/44/814/751" target="_blank">Professional Profile</a></b><br><b></b></td><td width="30%" style="padding:0px 15px"><a href="http://maps.google.com/maps?q=&hl=en" style="text-decoration:none;color:rgb(0,0,0)" target="_blank"></a><br></td></tr></tbody></table></td></tr><tr style="font-size:10px"><td style="border-top-width:1px;border-top-style:solid;border-top-color:rgb(0,51,153);padding-top:2px"><br></td><td align="right" style="border-top-width:1px;border-top-style:solid;border-top-color:rgb(0,51,153);padding-top:2px"><br></td></tr></tbody></table></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Apr 26, 2018 at 10:06 PM, Zaid Abdulla <span dir="ltr"><<a href="mailto:zaid@genieacs.com" target="_blank">zaid@genieacs.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, 2018-04-21 at 16:41 +0430, Sasan torabkheslat wrote:<br>
> We saw Response 503 (Service Unavailable) error from GenieACS server<br>
> and the following message in debug mode:<br>
> <br>
> # RESPONSE Sat Apr 21 2018 16:38:49 GMT+0430 (+0430)<br>
> {"Retry-After":300}<br>
<br>
</span>This means the server is overloaded. Your server might be getting a<br>
sudden surge of requests because a large number of devices are sending<br>
their periodic informs at the same moment. To solve this, randomize the<br>
value of PeriodicInformTime parameter to more evenly distribute the<br>
load.<br>
<br>
Something like this (not tested):<br>
<br>
  const timeOffset = Math.trunc(Math.random() * 86400000);<br>
  declare("<wbr>InternetGatewayDevice.<wbr>ManagementServer.<wbr>PeriodicInformTime",<br>
null, {value: timeOffset});<br>
<span class="HOEnZb"><font color="#888888"><br>
-- <br>
Zaid Abdulla <<a href="mailto:zaid@genieacs.com">zaid@genieacs.com</a>><br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/<wbr>mailman/listinfo/users</a><br>
</font></span></blockquote></div><br></div>