# Discourse site with very large database gives error 502 frequently

**URL:** <https://meta.discourse.org/t/discourse-site-with-very-large-database-gives-error-502-frequently/57598>\
**Category:** Product Support\
**Created:** [18.Февраль.2017 16:13:07 UTC](https://meta.discourse.org/t/discourse-site-with-very-large-database-gives-error-502-frequently/57598 "2017-02-18T16:13:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [18.Февраль.2017 16:20:13 UTC](https://meta.discourse.org/t/discourse-site-with-very-large-database-gives-error-502-frequently/57598/2 "2017-02-18T16:20:13Z")

</div>

Sounds like you are hitting the ratelimiter. There is a template in containers/templates that deals with rate limiting, you can try altering some of those settings to see if that resolves your problem. But be warned, that updates the settings for ALL requests, so you could be setting yourself up for a DDOS if everyone starts making numerous requests to your site all at once.

---

_[View the full topic](https://meta.discourse.org/t/discourse-site-with-very-large-database-gives-error-502-frequently/57598)._
