How to fully utilize DO Server with 4GB RAM?


(James) #1

My digital ocean server has 4 GB Memory, 80gb disk, 2 vCPUs.

How do I fully utilize it, because I read somewhere on meta awhile back where the standard self-host install of Discourse is optimised for a 2GB RAM server, and that you have to change some things in SSH for a 4gb server. Thanks


(Bhanu Sharma) #2

It should scale up as it needs more resources! to utilize the 4GB you should focus on building engagement. :wink:


(Jeff Atwood) #3

The ./discourse-setup script sets the memory parameters correctly based on cpu cores and ram detected, already.


#4

What about if the specs have changed? I originally setup on a 2GB droplet but have upgraded to a 4GB droplet. Do I have to do anything to take advantage of the additional memory or has Discourse already handled that automagically?


(Jeff Atwood) #5

Run the setup again and it should enter the new values appropriate for your RAM and CPU.


(James) #6

What’s this? Also is this going to delete my website and start over or anything?


#7

It has been a long time since I installed my forum. How do I run the setup again? Will I have to redo all mail settings, etc? I’m a little nervous I’ll stuff things up & regret doing anything at all…


#8

In any case, I think you should make a backup just in case something happens.


(Jay Pfaffman) #9

See where it says “memory paramesters updated?” That means that it updated the memory parameters. You can either

./launcher rebuild app

or

./launcher destroy app
./launcher start app

(system) #10

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.