Snow Leopard Hangs when Using OpenLDAP on Linux for Authentication

Mac applications store most of their configurations for each user under their home directory:

~user/Library

If I understand correctly, the users who auth against LDAP server will have a nfs home directory, right? In that case, it sounds the applications are hanging either because the Library doesn't exists or the configs are being regenerated and there are a lot of transmits, or the connection Is just over saturated. I suspect that if you were to either run nfsstat or tcpdump on the server, you will see a lot of traffic from that client.

There are a few things you can try:

  • used nfs4 if you haven't done so already, as there is significant performance improvements with that version. Unfortunately, it seems that nfs4 under Leopard is of alpha quality and I could not find whether it has improved significantly under Lion.

  • mount the home directory as disk share. Not optimal, but at least configs are not over the network.

-copy the Library directory over to the home directory of each user. Depending on the number of users, this may not be scalable and if the apps performs a lot of I/O, will not alleviate the problem.

  • put the iMac on the wired network rather on the wifi to reduce latency.

  • as mentioned earlier, enable "Create Mobile account at login"