Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Safari slow and freezes when loading pages

Hi I've been having a problem with Safari for the past few months it frequently freezes when loading web pages, sometimes it will eventually load, other times it wont. the blue progress bar in the address bar stops on about 10% with a plain white page it doesn't happen all the time but disturbingly it happens on pages as simple as Google search, not just data heavy sites. other symptoms include having to click links several times to get them to respond and I get the you are not connected to the Internet page when I go to some sites only to try another page from my bookmarks and it will load perfectly.


Any help greatly appreciated its driving me nuts.

iMac, Mac OS X (10.7)

Posted on Apr 27, 2012 5:54 AM

Reply
Question marked as Best reply
93 replies

May 9, 2012 9:30 AM in response to excelcius

Please read this whole message before doing anything.


This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.


Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac.


These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing.


Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects.


Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then either copy or drag it. The headings “Step 1” and so on are not part of the commands.


Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply.


Launch the Terminal application in any of the following ways:


☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)


☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.


☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Terminal in the page that opens.


When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” (without the quotes) and press return. You should then get a new line ending in a dollar sign.


Step 1


Copy or drag — do not type — the line below into the Terminal window, then press return:


kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'


Post the lines of output (if any) that appear below what you just entered (the text, please, not a screenshot.)


Step 2


Repeat with this line:


sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfix|x)/{print $3}'


This time, you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning.


Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step.


Step 3


launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'


Step 4


ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null


Important: If you synchronize with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting.


Step 5


osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null


Remember, steps 1-5 are all drag-and-drop or copy-and-paste, whichever you prefer — no typing, except your password. Also remember to post the output.


You can then quit Terminal.

May 9, 2012 10:13 AM in response to Linc Davis

I only posted the other post because I hadnt anticipated getting such a quick responce from you 🙂, Im on a tight deadline for work and I needed to get this problem sorted a.s.a.p, I didnt think that anybody else would hop onto this discussion Anyway heres the output I get


Last login: Wed May 9 13:18:21 on console

Gareth-Joness-iMac:~ gareth$ kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'

Gareth-Joness-iMac:~ gareth$ sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfi x|x)/{print $3}'



WARNING: Improper use of the sudo command could lead to data loss

or the deletion of important system files. Please double-check your

typing when using sudo. Type "man sudo" for more information.



To proceed, enter your password, or type Ctrl-C to abort.



Password:

Sorry, try again.

Password:

com.microsoft.office.licensing.helper

com.adobe.SwitchBoard

Gareth-Joness-iMac:~ gareth$ launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'

com.wacom.pentablet

com.adobe.AAM.Scheduler-1.0

Gareth-Joness-iMac:~ gareth$ ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta} * L*/Fonts 2> /dev/null

/Library/Components:



/Library/Extensions:



/Library/Frameworks:

AEProfiling.framework

AERegistration.framework

Adobe AIR.framework

AudioMixEngine.framework

NyxAudioAnalysis.framework

PluginManager.framework

iLifeFaceRecognition.framework

iLifeKit.framework

iLifePageLayout.framework

iLifeSQLAccess.framework

iLifeSlideshow.framework



/Library/Input Methods:



/Library/Internet Plug-Ins:

AdobePDFViewer.plugin

Flash Player.plugin

JavaAppletPlugin.plugin

Quartz Composer.webplugin

QuickTime Plugin.plugin

SharePointBrowserPlugin.plugin

SharePointWebKitPlugin.webplugin

WacomNetscape.plugin

WacomSafari.plugin

flashplayer.xpt

iPhotoPhotocast.plugin

npContributeMac.bundle

nsIQTScriptablePlugin.xpt



/Library/Keyboard Layouts:



/Library/LaunchAgents:

com.adobe.AAM.Updater-1.0.plist

com.wacom.pentablet.plist



/Library/LaunchDaemons:

com.adobe.SwitchBoard.plist

com.apple.remotepairtool.plist

com.microsoft.office.licensing.helper.plist



/Library/PreferencePanes:

Flash Player.prefPane

PenTablet.prefPane



/Library/PrivilegedHelperTools:

com.microsoft.office.licensing.helper



/Library/QuickLook:

iWork.qlgenerator



/Library/QuickTime:

AppleIntermediateCodec.component

AppleMPEG2Codec.component



/Library/ScriptingAdditions:

Adobe Unit Types.osax



/Library/Spotlight:

Microsoft Office.mdimporter

iWork.mdimporter



/Library/StartupItems:



/etc/mach_init.d:



/etc/mach_init_per_login_session.d:



/etc/mach_init_per_user.d:

com.adobe.SwitchBoard.monitor.plist



Library/Address Book Plug-Ins:

SkypeABDialer.bundle

SkypeABSMS.bundle



Library/Fonts:



Library/Input Methods:

.localized



Library/Internet Plug-Ins:



Library/Keyboard Layouts:



Library/LaunchAgents:

com.adobe.AAM.Updater-1.0.plist

com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.E3CFAA50-1194-4D76-B170-E96 8592213B6.plist

com.apple.CSConfigDotMacCert-gareth@me.com-SharedServices.Agent.plist



Library/PreferencePanes:

Gareth-Joness-iMac:~ gareth$ osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null

iTunesHelper

Gareth-Joness-iMac:~ gareth$


Thanks

May 9, 2012 11:14 AM in response to Linc Davis

No Joy 😟 I noticed the problem started when I tried to update my iphone to ios5.1 it wouldnt connect to the servers either via iTunes or on my iphone and I changed my DNS to opendns ie 208.67.222.222 and after a few more tries I managed to update to ios5.1 via itunes, but since then Ive had this problem. Ive noticed that under network DNS settings I dont have anything set for Search Domains would that have any effect, what should it be set to ?

May 9, 2012 11:25 AM in response to excelcius

If you've taken all the steps recommended in that article, including checking to see whether a firmware update is available for your router, then you're probably dealing either with interference, a hardware fault, or an incompatibility between the router and the Mac. The 802.11n Wi-Fi standard was only finalized in 2009, though devices claiming to be compatible with it were in use before then. Those devices are sometimes incompatible.

May 9, 2012 12:12 PM in response to Linc Davis

Thanks for all your help on this much appreciated. Its puzzling because there was no issue prior to the ios5.1 update I first tried via OTA on the iphone itself and it spent ages trying to connect only for it to give a error message something about not being able to contact the server, then I connected it to my mac and itunes and got the same error only when I changed my DNS did it eventually connect and update. Im not sure but I think there was a osx lion update about the same time, which was a fix for wifi issues some people were experiencing maybe the fix broke it on my mac, as I said I wasnt experiencing any problems prior to that.


All my other devices PC PS3 wii ect connect with no issues. I had another wifi issue with my old iPhone 3g sometime ago when it would only connect at a very slow speed, never got to the bottom of that either but was due an upgrade so skipped it, it seems Apple products have a lot of issues with wifi. Not sure wether to get a refund on my mac whilst its still under warranty and go back to using a PC 😟

Safari slow and freezes when loading pages

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.