I’m having issues with my website loading slow at times. I’ve set up my droplet using Vesta (Ubuntu 14) and the script I’m running uses absolutely no MySQL connections. I’ve setup Monit which notifies me anytime my website load goes over the threshold and seems to work just fine most times, but I’ve done random checks and found a simple PHP page (the only external connection is google adsense) can take a few seconds to load at times.
Looking at the graphs in my control panel I see nothing out of the ordinary besides a few random disk and bandwidth spikes that do not correlate well with when I actually have this issue. Over the past 7 days the largest CPU spike I’ve had was 40%. I’m on the $10 droplet (1 GB ram etc).
Simply rebooting the server from the command line seems to fix the problem. Can anyone help me diagnose whats going on and how I can prevent this from happening?
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.