Posted on 12-14-2012 02:39 PM
I've got an Xserve3,1 running 10.6.8 server, that hosts home directories for some of our students and it seems that whenever AFP connections approaches 280 or higher, performance drops dramatically. Student's can't log in, or students that are logged in can't save work. The home folders are stored in a fiber channel SAN (50% full) so I know that the storage isn't the bottleneck. The server has 24 GB RAM, 20 of which is Free or Inactive most of the time. When I disconnect sleeping accounts or restart AFP or the machine itself (basically anything that gets the number of connections back down to under 720) performance returns to normal.
Does anybody know what else could be causing this issue?
Here's a picture of the Activity Monitor on this server with about 230 users connected.
external image link
Posted on 12-14-2012 02:40 PM
img tags are case-sensitive apparently.
Posted on 12-16-2012 09:56 AM
Just some quick hits:
Not all are determinative, nor exhaustive - but would give everyone a better idea of the environment.
Posted on 12-17-2012 06:16 AM
I had a similar issue after upgrading a 10.4 server to 10.5 in 2008. The solution for me (which I now use as standard practice) was to increase the AFP MaxThreads value to 600. To do so, run the following Terminal command: serveradmin settings afp:maxThreads=600
Then restart AFP.
This allows AFP to better utilize available RAM and CPU cycles.