RSS RSS Twitter Twitter
macnn

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

, , 7comments, del.icio.us, slashdot, digg, buzz , Twitter



7 comments
Reader Reactions (Please use <i></i> for italic text)

subscribe to comments
for this article




Expand All
   Global Settings

Poor old AFP!

1
01/13, 4:52pm, EST

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.

Fresh-Faced Recruit
Joined Aug 2008
User is offline

"and their appears"

-5
01/13, 5:05pm, EST

the awesome writing/editing continues. yay.

Fresh-Faced Recruit
Joined Aug 2001
User is offline

Traced it to Safari 3.2.1

6
01/13, 5:21pm, EST

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.

Fresh-Faced Recruit
Joined Jan 2009
User is offline

Minor error

3
01/13, 9:53pm, EST

Actually it's "Apple Filing Protocol" not Apple File Protocol. Ain't trvia fun?

Fresh-Faced Recruit
Joined Aug 2006
User is offline

Would it kill them...

2
01/13, 11:03pm, EST

...to finally implement rw FTP in the Finder? They even embedded Panic's FTP in iWeb. This is eternally puzzling.

Fresh-Faced Recruit
Joined Oct 1999
User is offline

What can we expect?

-1
01/14, 2:42am, EST

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!

Fresh-Faced Recruit
Joined Nov 2007
User is offline

Just the usual...

3
01/14, 3:39am, EST

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)

Your Comments

In order to post comments: If you are a registered member, please login with your MacNN Forums username and password otherwise please uncheck the checkbox below.


Registered Member?
macnn forums login:

macnn forums password:

Not a member of the MacNN forums? Register now for free.

RSS Feeds

Have the latest content delivered to your desktop via RSS. Use the links below to get access to a specific blog, news, or reviews feed.



  MacNN -all

  MacNN Reviews

  MacNN Podcasts

  iPodNN

  Electronista

  Left Lane News
Want To Sell Your Laptop? Any Condition - receive Top Cash. Get an instant quote. Free shipping www.CashForLaptops.com

Internet Marketing School - 100% Online: Master SEO, SEM, E Commerce, Media & More with a U of San Francisco Certificate.

Buy from The Apple Store, iTunes.com, Amazon.com, TechDepot, OfficeDepot, Computers4Sure, or donate.