# 504 Gateway Time-out errors with 2 million post migrated vBulletin forum

**URL:** <https://meta.discourse.org/t/504-gateway-time-out-errors-with-2-million-post-migrated-vbulletin-forum/105665>\
**Category:** Self-hosting\
**Created:** [4 בינואר,‏ 2019,‏ 1:06am UTC](https://meta.discourse.org/t/504-gateway-time-out-errors-with-2-million-post-migrated-vbulletin-forum/105665 "2019-01-04T01:06:22Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Brandon\_Martus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brandon_martus/32/127631_2.png) [@Brandon\_Martus](https://meta.discourse.org/u/Brandon_Martus)\
**Post date:** [4 בינואר,‏ 2019,‏ 1:06am UTC](https://meta.discourse.org/t/504-gateway-time-out-errors-with-2-million-post-migrated-vbulletin-forum/105665/1 "2019-01-04T01:06:22Z")

</div>

I have a new install of Discourse, where I imported a vBulletin forum with about 2 million posts and anywhere from 200-1000 daily active (concurrent) users.

I launched today on a Digital Ocean droplet with 6 vCPUs and browsing the site was pretty rough at the beginning .. very slow, 504 errors, etc.. I resized it to 16 vCPUs, and it’s working better but I am still getting 504 timeouts pretty often.

Is there a guide anywhere on what can be configured in nginx to help use the available resources better?

Load average is still pretty high.

Any suggestions?

Thanks!

**EDIT** : I realize I didn’t rebuild after resizing, and maybe that will take into account the new resources?

---

_[View the full topic](https://meta.discourse.org/t/504-gateway-time-out-errors-with-2-million-post-migrated-vbulletin-forum/105665)._
