Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a 256 slice VM from Slicehost that is often incredibly slow to respond to key presses over ssh. It can take as long as 3 seconds to type "ls".

From what I can tell, my VM doesn't seem to be all that taxed for resources. So I am guessing that the problems are either my network connection to the VM or some other VM on the physical hardware impacting my server. How would I go about determining what the cause of the issue is?

Stats for my VM:

$ uptime
 08:44:47 up 98 days,  6:25,  1 user,  load average: 0.00, 0.00, 0.00
$ free -m
             total       used       free     shared    buffers     cached
Mem:           268        251         16          0          6         48
-/+ buffers/cache:        197         70
Swap:          511         14        497
$ top
top - 08:45:32 up 98 days,  6:25,  1 user,  load average: 0.07, 0.02, 0.00
Tasks:  82 total,   1 running,  81 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:    274540k total,   257688k used,    16852k free,     6436k buffers
Swap:   524280k total,    15320k used,   508960k free,    49532k cached

This is a traceroute from my local machine to the VM:

Hop Hostname    IP  Time 1  Time 2
1   my_pc.local   0.114ms 
1   router.local 1.887ms 
1   router.local 1.287ms 
2   no  reply   *   
3   no  reply   *   
4   533.341ms   
5 422.463ms   
6 598.607ms   
7 998.950ms   
8    1014.316ms  
8    479.281ms   
9    963.164ms   
10  619.255ms   
11 359.844ms   
12   343.851ms   
13  my_slice 5082.621ms  

And a ping from my local machine to the VM:

Bytes    Source  Seq Time    Units
64 1   71.4    ms
64 2   73.3    ms
64 3   70.0    ms
64 4   72.3    ms
64 5   69.7    ms
Time minimum:   69.70 ms
Time average:   71.35 ms
Time maximum:   73.30 ms
Packets transmitted:    5
Packets received:   5
Successful packets: 100%

share|improve this question
up vote 3 down vote accepted

There's a problem with the virtual machine, as you can see from the traceroute, it's taking 6 seconds at the last hop, which is the virtual network for the vm.

Either it's a software issue in the guest OS (CPU too locked-up to reply in a timely manner) or on the host (not enough resources to virtualize the network with proper response times?). I'd suggest contact linode support, they're fairly good.

share|improve this answer
Thanks, while contacting them, can you recommend any further analysis that I can do on this problem? Basically this is a learning project for me so the solution isn't as important as learning how to solve/identify. – Rob Aug 1 '10 at 13:56
Try running top on the VM, see if anything is taking up an ungodly amount of CPU. – Mahmoud Al-Qudsi Aug 1 '10 at 20:34

Sounds like a network problem for me. What about ping my_slice?

share|improve this answer
Added ping & updated traceroute stats – Rob Aug 1 '10 at 13:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .