Should I change the value of db_shared_buffers and UNICORN_WORKERS with a multi discourses server?

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?

1 Like

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.

3 Likes

Thank you.

I’ll try to run a single database.

1 Like