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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
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.
Submit an Answer