Foundation/BSD problems and the Firewall
Foundation/BSD problems and the Firewall
- Subject: Foundation/BSD problems and the Firewall
- From: Robert Vasvari <email@hidden>
- Date: Sun, 15 Sep 2002 15:21:13 -0700 (PDT)
There seems to be a problem connected to Jaguar's
built-in firewall. The problem may exist on 10.1.x
also. If the firewall is turned on, certain Fondation
methods that deal with the local filesystem slow down
to a crawl. So far I can confirm that [NSFileManager
enumeratorAtPath:] and especially NSFileAttributes are
very susceptible to this. When the firewall is turned
on, my program spends a lot of time in this call
stack:
#3 0x9003431c in _lookup_all ()
#4 0x90032664 in lu_getpwnam ()
#5 0x9008b638 in getpw_internal ()
#6 0x9008b4a8 in getpw ()
#7 0x90848120 in __NSUserAccountNumberToName ()
#8 0x90814644 in -[NSFileAttributes
objectForKey:@"NSFileOwnerAccountName"] ()
As soon as the firewall is turned off, the problems
disappear and things go with the normal speed one
would expect.
Any help is appreciated, as this is adding up to a lot
of frustrated users.
=[vrobi]=
Yahoo! News - Today's headlines
http://news.yahoo.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.