• 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: "TCP/IP Preferences" files fill my FCB pool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "TCP/IP Preferences" files fill my FCB pool


  • Subject: Re: "TCP/IP Preferences" files fill my FCB pool
  • From: Quinn <email@hidden>
  • Date: Mon, 4 Mar 2002 11:34:58 +0000

At 14:56 +0300 1/3/02, Mike Kluev wrote:
When I drop into Macsbug and use "file" command I often see
bunch of "TCP/IP Preferences" FCB entries (resource forks).
Sometimes hundreds. As if some part of the system (OpenTransport?)
opens them (on idle?) and never close. Is it known issue?
Has it to do something that I am on dialup (not connected
most of the time)? These files are opened on behalf of
different applications (sometimes not internet related at all);
if I quit some applications some entries removed. Mac OS 9.2.

Various folks open and close the "TCP/IP Preferences" file in order to mess with its resources. Some of those folks don't do this properly and end up being bitten by the issues described in TN 1120 "Opening Resource Files Twice Considered Hard?". IIRC at least one of the offenders is in Apple system software. It's likely that something on your system is triggering this problem because, in general, you don't get runaway "TCP/IP Preferences" FCB leaks in normal usage.

<http://developer.apple.com/technotes/tn/tn1120.html>

You should be able to isolate this using MacsBug. Put breakpoints on all of the routines that can open a resource file (OpenResFile, OpenRFPerm, HOpenResFile, FSpOpenResFile, and so on) and on CloseResFile, and then just sit back and watch for the leaks. You do dump out the application's current resource chain using "rd -c".

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: 
 >"TCP/IP Preferences" files fill my FCB pool (From: Mike Kluev <email@hidden>)

  • Prev by Date: TCP Connect Failures
  • Next by Date: Re: Does Launch Services honor IC preferred Browser?
  • Previous by thread: "TCP/IP Preferences" files fill my FCB pool
  • Next by thread: Re: "TCP/IP Preferences" files fill my FCB pool
  • Index(es):
    • Date
    • Thread