LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   ubuntu 8.10 server slow to log on (http://www.linuxquestions.org/questions/linux-server-73/ubuntu-8-10-server-slow-to-log-on-724237/)

lfsuser 05-06-2009 05:33 PM

ubuntu 8.10 server slow to log on
 
ubuntu 8.10 server running ssh, vsftpd, apache2, smb.
Boot to level 3 only (MultiUser, no GUI). I do not have vnc or any other graphical process running.
This is a Linux Server for network services, I almost never use the keyboard and use the monitor even less.

My problem is ssh login takes over a minute after user/password. Other Linux machines take seconds to present a prompt. This ubuntu 8.10 server takes minutes.

Starting a 2nd shell (/bin/bash) or switching users (su -) is not as long but it is still 10-15 seconds, much longer than a comparable FC5 setup.

It is not the bash login scripts. The delay appears to happen after user/pw and before /bin/bash.

Does anyone else have issues with ubuntu 8.10 server taking so long to login?

acid_kewpie 05-07-2009 09:49 AM

somethign like that is often DNS related, or potentially via timeouts to other remote services, like user directory lookups... are you using ldap, nis or something? anythign in dmesg / /var/log/messages?

lfsuser 05-07-2009 11:43 AM

I have been getting the:

"atkbd.c: Spurious ACK on isa0060/serio0. Some program might be trying access hardware directly."

in my log files.

I had a similar problem on several FC5 builds. The problem according to web forums is the SATA and SCSI driver. I know it does not make sense that keyboard and harddrive are linked but they are. It seems that when the SATA Driver Build in the kernel move out of Device Drivers->SCSI->Low Level drivers to its own area under the ATA section after Kernel 2.6.19.

I will try to update kernel and see if problem persist.

lfsuser 05-08-2009 09:05 AM

A reboot does seem to clear the problem.
This suggest that a process was eating CPU cycles and slowing the system down.

I also remove the exim4 mail server (not required).

This is a relatively slow machine (1GHz Pentium3, 512M RAM, HD=480GB); I use it as a network server since I don't need GUI just http, ftp, SMB (file and information server).

Any CPU/memory hog would be more noticeable on a slower machine. It is hard to meter since the problem occurs when logging on or starting a /bin/bash

For now the problem has gone away with a reboot.
but it is troubling that a ubuntu server distribution has this problem. If I get more details (ps aux, etc.) I will post.

I would hate to be regulated to a MS Windows solution of rebooting often to get things running back to peak.


All times are GMT -5. The time now is 11:28 PM.