Is this normal?
-
I am keep getting out of memory, this is a screenshot after I restarted my droplet (Im using digitalocean.com)
Is there anything that seems wrong? -
@AOKP said:
@a_5mith still, the swap would be way slower than the normal RAM is, especially on DO's lame SSDs.
swap is used for old data that doesn't really need to be in RAM any more, I ran a forum with 24,000 posts on a 512mb droplet without issue. Added swap as a fallback, noticed no decrease in load times anywhere.
-
@산도 it is not really about the amount of the posts you get every day. Redis is an in-memory database, which means it runs the database out of your RAM. For small sites it is fine, for bigger ones it would mean that you need more RAM.
However, Redis does not seems to be your real problem here.
Whats your current NodeJS version?
-
This post is deleted!
-
@산도 well, actually it is quite normal. 80MB RAM are set for start up, if I am not mistaken and usually it goes around 120-160MB. Therefore these 25.2% mean 140MB RAM usage by NodeJS.
Which is fine, if you ask me.
What you could try though, is to use a different NodeJS version, e.g. 4, if you are only running NodeBB 0.9 and above.