# Rake:rebake קורס עם שגיאות: PG::ConnectionBad: PQsocket

**URL:** <https://meta.discourse.org/t/rake-rebake-crashes-with-errors-pg-pqsocket/256344>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [27 בפברואר,‏ 2023,‏ 6:03am UTC](https://meta.discourse.org/t/rake-rebake-crashes-with-errors-pg-pqsocket/256344 "2023-02-27T06:03:26Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)\
**Post date:** [28 בפברואר,‏ 2023,‏ 8:17am UTC](https://meta.discourse.org/t/rake-rebake-crashes-with-errors-pg-pqsocket/256344/9 "2023-02-28T08:17:19Z")

</div>

Sounds good! Just for the record

- you could add more swap, even as the task is running, if vmstat or free (or top) show that swap is getting exhausted.
- if you’re careful, you could probably do a reversible temporary upgrade to a larger-RAM instance, which will cost a little money, but need only be in place for a few hours. It’s **important** not to move to a larger-disk instance as that is not reversible. (More RAM should allow things to run at full speed, whereas modest RAM and lots of swap might have a performance penalty, and the task will take longer to finish.)

---

_[View the full topic](https://meta.discourse.org/t/rake-rebake-crashes-with-errors-pg-pqsocket/256344)._
