1827275 Members
2216 Online
109717 Solutions
New Discussion

System Login so slow

 
zhoufeilong
Occasional Advisor

System Login so slow

After I input the username and password , the system display "Please wait...Checking for disk quotas" and halt, and 2 minutes later, system go on.
Please tell me why, and what can I do to resolve this problem?
Hell Leader
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: System Login so slow

Do you have any NFS mounted filesystems that may be slow responding? When I have had trouble at that point it has usually been because of issues with NFS filesystems not available or being slow.
Sridhar Bhaskarla
Honored Contributor

Re: System Login so slow

Along with what Patrick said, you may want to check your /var/mail directory to see if your mailbox is too large and/or there is a lock file for your mailbox.like your_id.lock. You may not be using sendmail on the box. But depending on the cronjobs etc running with your id, there is a possibility of these mails be generated.

Also, you can edit /etc/profile file and keep some check points so that you will know what process is hanging up. Ofcourse, you have to take a copy of your /etc/profile.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
harry d brown jr
Honored Contributor

Re: System Login so slow

put "set -x" near the top of your /etc/profile, and in any other login "profile" type files, like .kshrc, .profile, .cshrc, etc...
Live Free or Die
Bill Hassell
Honored Contributor

Re: System Login so slow

Generally, this delay is caused by disks that are slow to respond or failed (such as an NFS server that is not working). Another reason is massively large disks with a large number of files and users.

The quota check can be very lengthy, but can be avoided by removing the quota file from the filesystem (it will be in the root of the filesystem) and also adding noquota to all mountpoints in fstab that do not need quotachecks.


Bill Hassell, sysadmin
Animesh Chakraborty
Honored Contributor

Re: System Login so slow

Hi,
I think overall performance of your system is slow not only login.Check for process running
using top -h.
Have you tried rebooting the server ?

Best of Luck
Animehs
Did you take a backup?