01/13/2009, 4:05pm, EST
Tuesday, January 13th
AFP rendering Mac servers unusable
Problems with Mac OS X Server are causing some corporate networks to come to a crawl, complaints from network administrators indicate. The problem is believed to stem specifically from Apple File Protocol, as used by Mac OS X Leopard Server; whereas Leopard typically consumes only a portion of the CPU power on an Xserve, some administrators have noticed quad- and eight-core Xserves becoming non-functional due to AFP activity. CPU burden can become as bad as 800 percent, according to one complaint.
The exact reason for the AFP overloads is unknown, and their appears to be no permanent solution to the problem, whether from Apple or an independent source. Killing processes and/or restarting a server is necessary for recovery; some administrators say they have managed to reduce server load by adjusting the afp_wan_quantum and afp_wan_threshold variables on a server, and killing unnecessary processes or tasks.
Filed under: troubleshooting, enterprise
Other story tags: Xserve, Leopard Server, Mac OS X Server
,
, 7
,
,
,
,
,
,

subscribe to comments
for this article
Poor old AFP!
Apple needs to investigate this issue promptly. These kinds of problems could be hard to diagnose without the help of Apple and a good analysis of the network traffic. However, part of the cause could be related to an inappropriate network architecture.
"and their appears"
the awesome writing/editing continues. yay.
Traced it to Safari 3.2.1
I traced my problem of this nature to the use of Safari 3.2.1 by network accounts. Once I switched everybody to Firefox and disallowed the use of that version of Safari the problem hasn't resurfaced. I have six Xserves serving home folders and running 10.5.5 Server and 450 clients on 10.4.11 and 32 of those on 10.5.6.
Minor error
Actually it's "Apple Filing Protocol" not Apple File Protocol. Ain't trvia fun?
Would it kill them...
...to finally implement rw FTP in the Finder? They even embedded Panic's FTP in iWeb. This is eternally puzzling.
What can we expect?
What can we really expect forma company that still has a finder that hangs just because network store isn't responding? Or a CD that wont eject for mysterious reasons? They should also be able to tell the user EXACTLY what program is halting media ejections, as the generic messages rarely help when they say "start closing programs" WHAT?. They should be able to cancel a network store mounting WHEN I CLICK CANCEL and not halt the finder. Most beginning users know nothing of the terminal and how to recover from this when the relaunch finder command fails. There are serious issues that need to be fixed and if Microsoft was a pompous as apple was, they would make commercials saying how crappy certain fundamental parts of OS X STILL work nowhere near properly. As mac lovers we need to get on Apple to get this tuff fixed! 99% of everything else of course works like a charm which is why Apple rocks!
Just the usual...
We've been using Apple servers for eons now, AFP problems are nothing new. We had issues with stability (caused by AFP) as far back as 10.2.
Apple's line is a consistent "try this patch", and we've never got one that works. So far, what does seem to work is to reduce the number of users on each server (50 seems to be the maximum for a quad-core and 100-or-so for an 8-core), and set the servers to restart every night when no-ones using them.
Personally, I think it's a memory leak somewhere in the AFP implementation, simply because the issue is cumulative. Starting with a fresh reboot, everything works well, then as time progresses, it gets worst and worst, until the AFP thread takes over all the processing power and brings the servers to a halt.
OsX does have its of problems, but it has its advantages as well. Don't bash a system just because of one "glitch" (persistent as it may be).
M. (ACSA)