Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 7 of 7
  1. #1
    jhill326 is offline Registered User
    Join Date
    Feb 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Very slow login and incomplete disconnect

    Using a G4 Xserve w/ 2GB RAM DP. LDAP is setup and AFP and Open Dir. are running. Each student user upon login mounts their home directory and a folder called Groups and another called applications (these are hidden via workgroup manager/ workgroups/ Preferences/login items). This means that each user upon login creates three connections as seen in Server Admin/AFP/Connections. So when 100 users are logged in we show nearly 300 connections and the we get VERY SLOW. Apple File services often are running at over 100% in activity monitor. To compound the problem when users log off they fail to make a clean disconnect. In fact I have seen a workstation shut down and plug pulled out yet server admin still shows the connection, is called disabled/asleep but it is still an active connection.

    I am really catching it from administration, the Novell box worked sooooo much better. Please help with suggestions.

    Thanks
    Last edited by jhill326; February 2nd, 2006 at 07:16 PM.

  2. #2
    Go3iverson is offline Registered User
    Join Date
    Mar 2003
    Location
    Chicago, IL
    Posts
    1,071
    Thanks
    0
    Thanked 3 Times in 3 Posts
    Under what version of Mac OS X Server are you seeing this?

    You really are putting a great deal of load on that one machine!

  3. #3
    sourcehound's Avatar
    sourcehound is offline Registered User
    Join Date
    Aug 2005
    Posts
    211
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Novell never did work better, what nonsense!

    Quote Originally Posted by jhill326
    Using a G4 Xserve w/ 2GB RAM DP. LDAP is setup and AFP and Open Dir. are running. Each student user upon login mounts their home directory and a folder called Groups and another called applications (these are hidden via workgroup manager/ workgroups/ Preferences/login items). This means that each user upon login creates three connections as seen in Server Admin/AFP/Connections. So when 100 users are logged in we show nearly 300 connections and the we get VERY SLOW. Apple File services often are running at over 100% in activity monitor. To compound the problem when users log off they fail to make a clean disconnect. In fact I have seen a workstation shut down and plug pulled out yet server admin still shows the connection, is called disabled/asleep but it is still an active connection.

    I am really catching it from administration, the Novell box worked sooooo much better. Please help with suggestions.

    Thanks
    A Novell Server isn't even capable of working in the same scenario for hosting mount records for group folder and network home directories without schema modifications to eDirectory and additonal mount records and NFA tweaks to the Netware server. And if were to work in that scenario, no Netware admin in their right mind would put that much stress on an eDirectory server, and would certainly cluster the file services. An Xserve G4 with 4 gigs of RAM could easily handle this load. My advice would be NOT to automatically mount the Group folder through login items, but to put an alias of it on people's Dock to be mounted ON DEMAND with the Kerberos ticket from OD. That would cut out 100 or so persistent connections. Also, AFP doesn't immediately disconnect sessoins due to auto reconnect tokens. If you want this to work, you'll need to make changes to com.apple.afpserver.plist manually on the server. Otherwise, you'll need more beef. AFP ain't a lightweight protocol. If you need to discuss, you may track me down. I'm easy to find.
    Sourcehound, author of Mac HelpMate: http://www.macworkshops.com/machelpmate
    ACSA, ACTC, MCP, A+, APP
    Mac OS X IT Trainer & Consultant
    http://www.macworkshops.com

  4. #4
    sourcehound's Avatar
    sourcehound is offline Registered User
    Join Date
    Aug 2005
    Posts
    211
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Correction - I mean XServe G4 with 4 gigs of RAM

    I just realized I said Xserve G4 with 4 gigs of RAM, what I meant was XserveG5.

    Quote Originally Posted by sourcehound
    A Novell Server isn't even capable of working in the same scenario for hosting mount records for group folder and network home directories without schema modifications to eDirectory and additonal mount records and NFA tweaks to the Netware server. And if were to work in that scenario, no Netware admin in their right mind would put that much stress on an eDirectory server, and would certainly cluster the file services. An Xserve G4 with 4 gigs of RAM could easily handle this load. My advice would be NOT to automatically mount the Group folder through login items, but to put an alias of it on people's Dock to be mounted ON DEMAND with the Kerberos ticket from OD. That would cut out 100 or so persistent connections. Also, AFP doesn't immediately disconnect sessoins due to auto reconnect tokens. If you want this to work, you'll need to make changes to com.apple.afpserver.plist manually on the server. Otherwise, you'll need more beef. AFP ain't a lightweight protocol. If you need to discuss, you may track me down. I'm easy to find.
    Sourcehound, author of Mac HelpMate: http://www.macworkshops.com/machelpmate
    ACSA, ACTC, MCP, A+, APP
    Mac OS X IT Trainer & Consultant
    http://www.macworkshops.com

  5. #5
    Whitehill's Avatar
    Whitehill is offline Registered User
    Join Date
    May 2005
    Location
    Maine
    Posts
    512
    Thanks
    23
    Thanked 15 Times in 14 Posts
    Open Workgroup Manager, select LDAP directory, click on Users (head icon), click on any user in the left pane, then click the Home tab in the right pane. You should see a list of directories, mounted or mountable, that can be the mount point parent of the user's home directory.

    Apple told me that ideally this list should have one entry, at the most two or three. These are the directories that have to be mounted for network logins. If you have lots (say, one for each user, like I had), login becomes very sloooooooow.

    I cut my mount points back to the one entry afp://server.home.net/Users and ... problem solved.

  6. #6
    Go3iverson is offline Registered User
    Join Date
    Mar 2003
    Location
    Chicago, IL
    Posts
    1,071
    Thanks
    0
    Thanked 3 Times in 3 Posts
    Quote Originally Posted by Whitehill
    Open Workgroup Manager, select LDAP directory, click on Users (head icon), click on any user in the left pane, then click the Home tab in the right pane. You should see a list of directories, mounted or mountable, that can be the mount point parent of the user's home directory.

    Apple told me that ideally this list should have one entry, at the most two or three. These are the directories that have to be mounted for network logins. If you have lots (say, one for each user, like I had), login becomes very sloooooooow.

    I cut my mount points back to the one entry afp://server.home.net/Users and ... problem solved.
    What your saying is true, but is probably not what the OP is seeing. The OP states that they're doing automounts via WGM, not multiple home directories per user. He has 700 users being served from this one machine, with theoretically, 2100 AFP connections, on a G4 with 2GB of RAM, if everyone is logged in at once.

    At the very least, having multiple replicas at the site will help share the load of the directory service portion. Ideally, you make them all part of the same OD domain and Kerberos realm, allowing you to move shares to different machines. Also, hopefully your not doing all of this on internal drives!

  7. #7
    jhill326 is offline Registered User
    Join Date
    Feb 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    We are running 10.4.4 server. Though we have 700 users with home directories there are only about 250 workstations available to these users. Max. number of connections I have seen is 287 as observed via Server Admin. The server has 2 HD's. #1 has 80 GB and holds the OS, Drive #2 has 250 GB and holds the user home directories and network based application folder. DNA is currently provided by an off site server. We hope to use an older G4 (450 mhz 1gb RAM, 1000mhz ethernet) as a local DNS server soon. Could this machine be used to off load some of the tasks being performed by the G4 xserve maybe play host to the applications folder?

    Thanks for your help. We are a small K-12 school in upstate NY. I am the Biology teacher as well as the PowerSchool Data person and now the SYSOP so if my questions seem ill informed it is because they are

 

 

Similar Threads

  1. Login window loads slow, can't login
    By weuiggbv in forum Mac OS X System & Mac Software
    Replies: 3
    Last Post: June 14th, 2005, 06:26 AM
  2. Panther Slow to boot and login
    By Veljo in forum Mac OS X System & Mac Software
    Replies: 2
    Last Post: January 7th, 2004, 08:27 AM
  3. SSH and FTP login very slow
    By mwesterl in forum Mac OS X System & Mac Software
    Replies: 18
    Last Post: March 20th, 2002, 01:41 PM
  4. HELP! Slow Login Time
    By richlen in forum Mac OS X System & Mac Software
    Replies: 1
    Last Post: January 28th, 2002, 12:18 PM
  5. ftp-login so slow
    By Thies in forum Mac OS X System & Mac Software
    Replies: 3
    Last Post: June 22nd, 2001, 12:54 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •