I have a Linux (CentOS 5.6) VPS which I use for hosting a few unimportant projects, but am currently really struggling with the performance. What can I do to find out if the problem is my configuration, or my host overloading the server I'm on?
If I ping the server right now:
Ping statistics for x.x.x.x:
Packets: Sent = 100, Received = 73, Lost = 27 (27% loss),
Approximate round trip times in milli-seconds:
Minimum = 161ms, Maximum = 207ms, Average = 167ms
The websites on the server are very very slow to load. I can connect via SSH, but there is a 2-20 second lag between me pressing the keyboard and anything appearing on screen.
Load is low (0.18 (1 min) 0.15 (5 mins) 0.09 (15 mins)), memory usage is low, the network interface is hardly being used... I've included some further information below.
# vmstat
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r b swpd free buff cache si so bi bo in cs us sy id wa st
0 0 0 728372 0 0 0 0 161 252 0 1440 11 0 89 0 0
# free
total used free shared buffers cached
Mem: 1048576 320208 728368 0 0 0
-/+ buffers/cache: 320208 728368
Swap: 0 0 0
iftop
shows me as the only thing with a connection open to the server.
Is there anything else to look at, or should I get in contact with my VPS provider?