Hi, I started my discourse forum on a digital ocean droplet with 4 gb ram 2 vcpu 60 gb ssd.
My site grow and in certain moments users got the message “due to extreme load, the site is shown as a logged out user”. It’s a sport site and it happened on some events with a lot of interest.
I think the message appeared when we reached 250 connected users.
in App.yml I have 2 unicorns and 768 MB db_shared_buffer
I want to resize my droplet, which size do you suggest?
Thank you
You may want to wait as some bad code was checked in that added multiple N+1 and N+2 queries cc @sam will latest have the fixes yet?
Latest has the latest fixes, but as a sport site you may simply be overloaded.
2 unicorns does not sound like enough, for 250 active non anon users you would need more web workers.
Thank you, which size do you suggest? Is it enough 8 gb ram and 4 cpu? Unicorn numbers will auto update rebuilding app?
if you have 4 cpus and 8gb, you can probably get away with 8 unicorn workers, also be sure to give 1gb or ram to postgres.
how I can check this setting?
Re run ./discourse-setup
and it will make the app.yml
adjustments based on memory and CPUs detected.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.