# Should I change the value of db\_shared\_buffers and UNICORN\_WORKERS with a multi discourses server?

**URL:** https://meta.discourse.org/t/should-i-change-the-value-of-db-shared-buffers-and-unicorn-workers-with-a-multi-discourses-server/173118
**Category:** Support
**Created:** [December 13, 2020, 12:01am UTC](https://meta.discourse.org/t/should-i-change-the-value-of-db-shared-buffers-and-unicorn-workers-with-a-multi-discourses-server/173118 "2020-12-13T00:01:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kevin.lee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kevin.lee/32/197578_2.png) [@kevin.lee](https://meta.discourse.org/u/kevin.lee)
#### Post date: [December 13, 2020, 12:01am UTC](https://meta.discourse.org/t/should-i-change-the-value-of-db-shared-buffers-and-unicorn-workers-with-a-multi-discourses-server/173118/1 "2020-12-13T00:01:14Z")

</div>

Originally I had run one discourse forum on the 8GB ram, 4core CPUs server.

So the values of db\_shared\_buffers and UNICORN\_WORKERS in the auto-generated app.yml were:

```
db_shared_buffers: "1792MB"
UNICORN_WORKERS: 8

```

Now I have three discourse forums running on the same 8GB ram, 4core CPUs server.

Should I change the value of db\_shared\_buffers and UNICORN\_WORKERS to divided by three?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [December 13, 2020, 7:14am UTC](https://meta.discourse.org/t/should-i-change-the-value-of-db-shared-buffers-and-unicorn-workers-with-a-multi-discourses-server/173118/2 "2020-12-13T07:14:22Z")

</div>

Your can leave the `db_shared_buffers`… Wait. Are these full app.yml each with their own database server? If so, you really want to run a single postgres.

But if it’s working, you might wait until you have an actual problem.

---

<div class="post-metadata">

### Author: ![kevin.lee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kevin.lee/32/197578_2.png) [@kevin.lee](https://meta.discourse.org/u/kevin.lee)
#### Post date: [December 14, 2020, 2:16pm UTC](https://meta.discourse.org/t/should-i-change-the-value-of-db-shared-buffers-and-unicorn-workers-with-a-multi-discourses-server/173118/3 "2020-12-14T14:16:37Z")

</div>

Thank you.

I’ll try to run a single database.
