We have an ubuntu server running on a VPS (CityCloud).
We use it as a database server (SQL Anywhere with MobiLink synchronization) and an apache web server for an administration interface.
Usually there are 15-20 server processes running, but the load is very low, most of the time there are NO db requests and NO synchronization going on, and NO web requests. But the response times are often very bad for example when doing work in a ssh terminal or making a http request.
iostat show this all the time (typically):
Code:
avg-cpu: %user %nice %system %iowait %steal %idle
0.17 0.00 1.25 67.25 0.00 31.33
Device: rrqm/s wrqm/s r/s w/s rMB/s wMB/s avgrq-sz avgqu-sz await svctm %util
sda 0.00 19.67 2.00 2.67 0.01 0.09 42.29 11.41 6409.29 214.29 100.00
scd0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
iotop shows that most of the time total DISK READ and DISK WRITE is 0.00.
What's going on?