slow server response rate

November 8, 2015 1.8k views

so i just moved my wordpress to digitalocean and from time to time the server response rate goes as high as 2sec how to fi this ?

1 Answer

If you haven't already, try setting up SWAP. Here is a tutorial on how to setup SWAP,
*CentOS: *

Also you can try using a caching system such as Memcached:

by Justin Ellingwood
Swap space can be used as an "overflow" area for your system when you run out of RAM. The operating system can store data that would normally be kept in RAM on the hard drive in a specially formatted file. In this guide, we'll demonstrate how to create and use one of these files in Ubuntu 14.04.
Have another answer? Share your knowledge.