• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AFP tuning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AFP tuning


  • Subject: Re: AFP tuning
  • From: Quinn <email@hidden>
  • Date: Mon, 12 Apr 2004 15:06:51 +0100

At 8:24 -0500 10/4/04, Steve Modica wrote:
found some documentation refering to parameters being set in NetInfo manager under /config/AppleFileServer but when I attempted to set TCPQuantum in there, it was just ignored (even after a reboot). Are these values simply hardcoded into the daemon?

No.

Can one set things like afpTCPPort and TCPQuantum or are they just ignored?

Looking at the AFP server source it seem that it can get preferences from one of two different places, that is, the /config/AppleFileServer node in Directory Services (and hence NetInfo on the default install) and the "com.apple.AppleFileServer" domain in CFPreferences. I'm not sure how it chooses between them.

Note that it uses a different key in each database. In DS the key is "tcp_quantum". In CFPreferences the key is "TCPQuantum".

In this case I'd recommend that you try setting the CFPreferences value and see how it goes. You should be able to use something like:

% sudo defaults write com.apple.AppleFileServer TCPQuantum xxx

where "xxx" is the value you want.

I'm not sure whether this will help with your actual problem. I don't have time to test this right now. I have used this mechanism to set other server prefs in the past, just not the quantum.

S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.


References: 
 >AFP tuning (From: Steve Modica <email@hidden>)

  • Prev by Date: Re: CFSockets, sockets and timeouts (corrections)
  • Next by Date: Re: CFSockets, sockets and timeouts
  • Previous by thread: AFP tuning
  • Next by thread: Re: AFP tuning
  • Index(es):
    • Date
    • Thread