<div dir="ltr">Perhaps this can help:<br><br><p><a class="gmail-moz-txt-link-freetext" href="http://stackoverflow.com/questions/12022429/http-status-code-for-overloaded-server">http://stackoverflow.com/questions/12022429/http-status-code-for-overloaded-server</a></p>
<div class="gmail-post-text">
<blockquote>
<p>Another option is a <strong>429 - Too Many Requests</strong>
response.</p>
<p>Defined in RFC6585 - <a class="gmail-moz-txt-link-freetext" href="http://tools.ietf.org/html/rfc6585#section-4">http://tools.ietf.org/html/rfc6585#section-4</a><span class="gmail-wrc13 gmail-wrc_injected" style="padding-right:16px;width:20px;height:20px"></span></p>
<p>The spec does not define how the origin server identifies the
user, nor how it counts requests. </p>
<p>For example, an origin server that is limiting request rates
can do so based upon counts of requests on a per-resource
basis, across the entire server, or even among a set of
servers.</p>
<p>Likewise, it might identify the user by its authentication
credentials, or a stateful cookie.</p>
<p>Also see the Retry-After header in the response.</p>
</blockquote>
Kind regards,<br></div><div class="gmail-post-text">Oscar<br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 27, 2016 at 10:59 AM, itpp2012 <span dir="ltr"><<a href="mailto:nginx-forum@forum.nginx.org" target="_blank">nginx-forum@forum.nginx.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">General rule of thumb is set it as low as possible, as soon as 503's are<br>
getting your users upset or resources are getting blocked, then double the<br>
values, keep an eye on the logs, double it one more time when required,<br>
done.<br>
<br>
Posted at Nginx Forum: <a href="https://forum.nginx.org/read.php?2,269862,269866#msg-269866" rel="noreferrer" target="_blank">https://forum.nginx.org/read.<wbr>php?2,269862,269866#msg-269866</a><br>
<div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Oscar Fernandez Sierra<br><a href="mailto:oscaretu@gmail.com" target="_blank">oscaretu@gmail.com</a></div>
</div>