Much slower after update


(Spooky) #1

My discourse forum works very well and fast on EC2 micro instance before the upgrade (I know it’s under the recommended hardware requirements), but now it’s like 5 times slower, any idea why?

(Vinoth Kannan) #2

Do you have the Swap file?

(Spooky) #3

Yes I did set up swap file. Can you tell me what is the way to check the size (SSH command) and what is the recommended swap file size for Discourse. Thanks in advance.

(Vinoth Kannan) #4

Check the link all the informations are there I hope. Recommended size is 2 GB.

(Spooky) #5

I have 2GB (2,097,148) swap file, 574,288 is used

(David Taylor) #6

We had major issues with swap files on small T2 EC2 instances - when the swap actually gets used it hits the maximum IO on the EBS disk, and everything grinds to a halt. Moved to a smaller, cheaper server on digital ocean and all was fine.

HOWTO: Build yourself a sandbox
Migration using the API