# PG::ConnectionBad causes site to temporarily crash

**URL:** <https://meta.discourse.org/t/pg-connectionbad-causes-site-to-temporarily-crash/146590>\
**Category:** Product Support\
**Created:** [2 באפריל,‏ 2020,‏ 3:41pm UTC](https://meta.discourse.org/t/pg-connectionbad-causes-site-to-temporarily-crash/146590 "2020-04-02T15:41:48Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![LlamaSensei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/llamasensei/32/133455_2.png) [@LlamaSensei](https://meta.discourse.org/u/LlamaSensei)\
**Post date:** [3 באפריל,‏ 2020,‏ 3:39pm UTC](https://meta.discourse.org/t/pg-connectionbad-causes-site-to-temporarily-crash/146590/8 "2020-04-03T15:39:53Z")

</div>

> [@Stephen](#):
>
> If you have the spare disk add swap to give yourself some temporary breathing space.

You are the man. The 1 GB swap seems to have ended all crashing problems. I’m honestly glad it was a RAM issue & not a DB issue. I’m gonna increase my RAM amount on the server over the weekend. Thanks so much to all who helped in this thread!

---

_[View the full topic](https://meta.discourse.org/t/pg-connectionbad-causes-site-to-temporarily-crash/146590)._
