Server Fault is a question and answer site for system and network administrators. 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 recently installed Ubuntu Server 12.04 on a computer with the following specs:

Pentium 4 1.5GB RAM 80GB HD

Installation went smoothly and at first it worked well. However, after doing package updates and installing OpenSSH server so I can login and restarting, the terminal is very slow. Sometimes the password prompt takes time to appear, other times after typing the password and pressing enter several minutes can pass before the login completes.

After login, commands are slow, taking minutes to execute. For example, vim takes several minutes to open a file.

The issue doesn't seem to be a memory limit. Running free -m I can see most memory is free. Running top shows no process taking any significant time (almost all are at 0%).

I added the fix for the DNS lookup fix, but the command line itself can't be taking this long because of DNS.

share|improve this question
Can you do a lookup for your assigned hostname? getent ahosts "$HOSTNAME" – Ignacio Vazquez-Abrams May 18 '13 at 5:27
I get: STREAM ubuntu-server DGRAM RAW – user174288 May 18 '13 at 5:30
Is there a specific reason why it's .1.1 instead of .0.1? – Ignacio Vazquez-Abrams May 18 '13 at 5:32
Not that I know of. I didn't change anything in that respect. That was the default install. – user174288 May 18 '13 at 5:33
Anything in /var/log/messages that look like indications for a failing hard drive? – cjc May 18 '13 at 11:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.