Extremely Slow Login

Hi all,

I'm having a big problem with a small managed network of Macs. We use home directories for managed clients. When users log in, it's taking up to 10 minutes to log in. On some Macs, login is instantaneous, but on others, the wait is between 5 and 10 minutes.

Server and all clients are running 10.6.2

I've repaired permissions, run maintenance, unjoined and rejoined the server, but no effect.

Please help!

8 core 2.8GHz Mac Pro, Mac OS X (10.6.2), 16gb RAM, 2tb

Posted on Nov 18, 2009 1:00 PM

Reply
12 replies

Nov 18, 2009 1:52 PM in response to Chris Marriott

dose it matter witch computer the account is logged into? ie: bob logs into computer 1, his log in is fast. Bob logs into computer 2, his log in takes 10 minutes.

if the computer being used dose matter. I would try to isolate the issue to network or computer. Maybe hook computer 2 up to ethernet cable that was being used by computer 1. And see if it makes a difference, if it dose, well then some thing wrong with that ethernet connection. if it doesn't. then you know it's an issue with that computer.

If the computer being used dose not matter. ie bob logs into computer 1 his log in takes 10 minutes. Bobe try to log into computer 2, his log in takes 10 minutes. Lisa logs into computer 1 o 2 and she logs in instantly. Then you know it's some thing related to that account.

If the issue varies. some times it's bobs log in, or some times it's lisa, then I would check out the demand placed on the server / network. I bet if this is the case, then it's probable only happens with peek network / server use.

Nov 19, 2009 8:16 AM in response to Sherman Campbell

I've got the same users logging into different Macs with drastically different login times. Most login times are between 15 and 30 seconds, while on several Macs, the same user takes between 4 and 5 minutes. Certain users can take longer - up to 10 minutes. It seems to be related to specific computers and not the logins themselves.

I just had one of my admins test several accounts on different machines and she confirmed what I saw two days ago.

Any thoughts? I'm kinda stumped. I've looked at DNS and pings to the server hostname are instantaneous on every Mac. We've tried different Ethernet cables…

This issue has only happened since upgrading both the clients and servers to Snow Leopard.

The load on the network is pretty minimal at all times and we're running a single large gigabit switch.


Chris

Nov 19, 2009 8:48 AM in response to Chris Marriott

It's probably worth swapping in a new switch as a test (assuming you have one handy that you can swap in for a few minutes). I've had exactly the problems you describe due to failing switches.

Some other things to try:
- boot in verbose mode... maybe you'll get some info from the messages.
- check the system/console logs for logging from the boot process.

Nov 23, 2009 5:49 PM in response to Brian Nesse

It's not a switch problem - I swapped it out and I'm still getting the same issues. As of tonight, when I try to create a new user account in Workgroup Manager, I'm getting this error in a drop down sheet dialog: Error of type eDSRecordNotFound (-14136) on line 1268 of /SourceCache/WorkgroupManager/WorkgroupManager-361.2.1/PMMUGMainView.mm

I think this is a server issue, no? Anyone have any ideas?


Chris

Nov 28, 2009 2:02 PM in response to Chris Marriott

Chris,

If you are still monitoring this thread, I am having a similar problem, but I found out something interesting that might help.

A couple of weeks ago when I was setting up my test laptop I was having problems getting it to work correctly with Mobile and Managed accounts. One thing that I noticed reading through Apple's documentation is that Computer Account Records are important when setting up these types of accounts. So I added a Computer Account for the laptop to the LDAP domain using WGM and the accounts started working. On my network I can move in and out the various accounts very quickly on that machine.

However, when I am outside my network the account access is very slow. I have read a couple of posts today pinpointing issues with DNS resolution and/or access to the LDAP server from outside of the network as the probable cause. Since your issue seems to be occurring when you are inside the network, you should double check your DNS settings. A couple of posts have suggested removing the Search Domains and try changing your DNS server to either the internal DNS server ONLY or your router ONLY. (There seems to be a bug in 10.6 where the client is trying the secondary server first, so narrow your DNS down to a single entry for the time being while you test).

One other thing that I found that I am going to test out - the Mac OS X Server Essentials v10.6 guide has a very interesting note about the Computer Account record:
"Computer accounts are uniquely identified by their Ethernet ID."

Hmmm...this is interesting because when I made my Computer Account record I went into the Inspector in WGM and checked the ENetAddress entry and saw that it only included my actual Ethernet connection. This did not seem logical, especially for a laptop: what if the user is using WiFi to connect? So I manually added a second value for the Ethernet ID of the Airport card. After reading the book I am starting to wonder if the problem might not be related to having two values for the ENetAddress. I'll test that theory out and post back later.

In the meantime see if you have Computer Accounts created for the machines that are logging in quickly. Maybe that is the difference between the machines. Regardless, you should probably create Computer Accounts for all of your machines.

-John

Nov 28, 2009 2:16 PM in response to macmanjc

The reinstall fixed the problem. Everyone is logging in quite fast - no more than 5-10 seconds at most. Now that I recall, I had one mobile account. I'm wondering if that mobile account or the way I set it up might have caused the problem…? I doubt it.

Unfortunately, I'm finding myself unable to solve OS X Server issues and having to resort to reinstalling more than I'd like 😟

Chris

Jan 14, 2010 1:23 PM in response to foilpan

We have been having this problem on an increasing basis for the last week or so. It was even starting to mess with our newest machines and inhibiting mobile sync.

The problem appears to have gone away after we installed the Bonjour Update 2010-001. Unfortunately, I am having trouble finding the specifications for the update to check my theory. It says that it's for iTunes and AppleTV, but it's really odd that it seems to have cleaned up the problem.

Given that we have a significant amount of legacy client hardware (eMacs) on our network, I'm wondering if their hardwired AppleTalk demands were essentially DoS attacking the server, which being on 10.6.2, didn't know what to do with AppleTalk.

Mar 6, 2010 3:28 AM in response to dunkelza

We have the same problem. It is ONLY with Snow Leopard clients. Leopard, Tiger and Panther clients log in fine. A temporary fix for the slow login on the SL clients is to remove the OD server on the SL client and then restart the SL client. Log back into the SL client using the admin account and then rejoin the SL client back to the OD server and then Log Out. The SL client will now quickly log users into the WGM system for a yet undetermined time and then the slow logins will return. This temp fix is annoying the #$@% out of us so we hope we or someone resolves this issue soon.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Extremely Slow Login

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.