Re: Slow launch of Mail.app and Safari, [NSHost currentHost],
Re: Slow launch of Mail.app and Safari, [NSHost currentHost],
- Subject: Re: Slow launch of Mail.app and Safari, [NSHost currentHost],
- From: Stephane Sudre <email@hidden>
- Date: Wed, 26 Apr 2006 18:09:31 +0200
On 5 avr. 06, at 18:57, Chris Parker wrote:
On Apr 5, 2006, at 3:08 AM, Stephane Sudre wrote:
Has there been a modification of some APIs in Mac OS X 10.3.9 that
could explain why Mail.app and Safari.app hang (2 minutes to complete
launch on a fast G5) in the [NSHost currentHost] call when you launch
them for the first time?
As this Cocoa API potentially deals with network related stuff, I
wonder if a bug would not have been introduced in a security update
for 10.3.9 as I've not seen this problem previously.
I don't believe we touched the NSHost code at all for any security
update.
[snipping the sample a bit]
983
-[NetworkController domainName]
983
+[NSHost currentHost]
983
getnameinfo
983
_lookup_all
983
_lookup_all_secure
983 mach_msg
983 mach_msg_trap
983 mach_msg_trap
This indicates that getnameinfo is going off to talk to lookupd - what
does it look like lookupd is doing?
From what I experienced, this kind of slowdown can be caused by a DNS
being down, very busy or the DNS address being incorrectly set.
It looks strange from an user point of view that an application is
taking a long time to start for this reason (with no further
explanation).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden