Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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: 127.0.1.1 STREAM ubuntu-server 127.0.1.1 DGRAM 127.0.1.1 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
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.