Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have an Ubuntu Server with 200MB RAM and 400MB swap space that has no heavy load. I used top to verify its load. However, it's very slow and takes several seconds to execute a ls command or other similar light commands. Can anyone suggest what the problem may be?

share|improve this question

closed as too localized by Gilles, Mat, Renan, Ulrich Dangel, jasonwryan Aug 21 '12 at 0:36

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

More system specs please. And is it sounds like, either your harddisk sucks, is wrongly configured or broken. –  Bobby May 17 '12 at 16:24
It's impossible to diagnose this with so little information. 200MB isn't much by modern standards, make sure you aren't running any service you don't need. To start with, post the output of top -b -n1 and uname -a. –  Gilles May 17 '12 at 22:09
Say strace ls. In normal operation, you'll get spammed with all the syscalls ls executes, but in your case I'm guessing it with either a) pause noticeably on some number of them; or, better, b) get stuck on one of them. Add the results to your question. –  Warren Young May 17 '12 at 22:22
examine the output of sar as well, especially sar -B and sar -r. Did you perform some form of minimal install? With this low specs you need to be very carefull to run only the bare minimum of services. –  Bram May 18 '12 at 15:33

Browse other questions tagged or ask your own question.