Hi all,
i use a vps with 4GB ram and 2 core CPU.
Should i change below settings ? If i change them, is ./launcher rebuild app enough ?
db_shared_buffers: "256MB"
UNICORN_WORKERS: 4
thanks.
Hi all,
i use a vps with 4GB ram and 2 core CPU.
Should i change below settings ? If i change them, is ./launcher rebuild app enough ?
db_shared_buffers: "256MB"
UNICORN_WORKERS: 4
thanks.
db_shared_buffers
should be no more than 25% of your system memory, which would be 1024MB, assuming that nothing else is running on that box.
unicorn_workers
is two per core, so 4 is fine.
thank you.
after modification should i run ./launcher rebuild app ?
Yes, AFAIK that’s necessary.
These are automatically set by the discourse-setup
script when you install. You shouldn’t need to change these values manually unless you upgrade your server RAM, etc.
i changed my RAM from 2GB to 4GB so i needed this. thanks.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.