slow server response rate

November 8, 2015 1.9k views
Caching

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 ?

2 comments
1 Answer

If you haven't already, try setting up SWAP. Here is a tutorial on how to setup SWAP,
Ubuntu: https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04
*CentOS: *https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-centos-7

Also you can try using a caching system such as Memcached: https://syscoding.com/tutorials/12/how-to-install-memcached-on-ubuntu-1504/

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.