Apple Event: May 7th at 7 am PT

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

Safari is very slow only with one user

Hi all !


Nice to be here !

I need your help, I tried many things but the issue is still here and it's very annoying !


Safari is very slow for opening some specific pages. For exemple, the vimeo's players take something like 1 minute to show (but the rest of the page is downloaded quickly). This is only with my (OSX) user profile. When I log with the guest user or my girlfriend user, it's OK, safari is running fast.


- I reseted all Safari

- I chenged DNS

- I disabled the auto fetching DNS / Re- enlabe

- I Repaired my hard disk

- I re-installed OSX

- Deleted many files stored in the safari's library etc. etc.


What do you think I can try ?


Thanks a lot !

Have a nice week to all !

Bastien

MacBook Pro with Retina display, OS X Mavericks (10.9.4)

Posted on Aug 20, 2014 1:12 PM

Reply
50 replies

Aug 22, 2014 11:10 AM in response to ClimbToSummit

Back up all data.

Unlock the Network preference pane, if necessary, by clicking the lock icon in the lower left corner and entering your password. Cllck Advanced, open the DNS tab, and change the server addresses to the following:

8.8.8.8

8.8.4.4

That's Google DNS. Click OK, then Apply.

In Safari, select

Safari ▹ Preferences... Privacy Remove All Website Data

and confirm. If you’re using another browser, empty the cache. Test. Any difference?

Notes:

1. If you lose Internet access after making the above change to your network settings, delete the Google servers in the Network preference pane, then select the TCP/IP tab and click Renew DHCP Lease. That should restore the original DNS settings; otherwise restore them yourself. Remember that you must click Apply in order for any changes to take effect.

2. I don't use Google DNS myself, though I have tested it, and I'm not recommending it or any other DNS provider; the server addresses are offered merely for testing purposes. There may be privacy and technical issues involved in using that service, which you should investigate personally before you decide whether to keep the settings. Other public DNS services exist.

Aug 22, 2014 1:37 PM in response to ClimbToSummit

I'm afraid that's not possible.

Some of your user files (not system files) have incorrect permissions or are locked. This procedure will unlock those files and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.

Back up all data before proceeding.

Step 1

If you have more than one user, and the one in question is not an administrator, then go to Step 2.

Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):

sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-

You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.

The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.

Step 2 (optional)

Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.

Start up in Recovery mode. When the OS X Utilities screen appears, select

Utilities Terminal

from the menu bar. A Terminal window will open. In that window, type this:

res

Press the tab key. The partial command you typed will automatically be completed to this:

resetpassword

Press return. A Reset Password window will open. You’re not going to reset a password.

Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.

Select your username from the menu labeled Select the user account if not already selected.

Under Reset Home Directory Permissions and ACLs, click the Reset button

Select

Restart

from the menu bar.

Aug 22, 2014 2:02 PM in response to Linc Davis

Same issue after the procedure.


Safari is also very slow on other users.

On other browsers, it's fast.


Safari is also very slower than other browsers in general and on other websites too and it's the same issue on all users.


I remarked that after a few more tests on various websites on various users.


Thanks a lot one more time for your help !

Bastien

Aug 22, 2014 2:25 PM in response to ClimbToSummit

Start up in Recovery mode. In the OS X Utilities screen, select Get Help Online. A clean copy of Safari will launch. No plugins, such as Flash, will be available. While in Recovery, you'll have no access to your saved bookmarks or passwords, so make a note of those before you begin, if they're needed for the test.

Test. After testing, restart as usual and post the results.

Aug 22, 2014 3:55 PM in response to ClimbToSummit

This could be a complicated problem to solve, as there are several possible causes for it.

Back up all data, then take each of the following steps that you haven't already taken. Stop when the problem is resolved.

Step 1

From the menu bar, select

 ▹ System Preferences... ▹ Date & Time

Select the Time Zone tab in the preference pane that opens and check that the time zone matches your location. Then select the Date & Time tab. Check that the data and time shown (including the year) are correct, and correct them if not.

Check the box marked

Set date and time automatically

if it's not already checked, and select one of the Apple time servers from the menu next to it.

Step 2

Triple-click anywhere in the line below on this page to select it:

/System/Library/Keychains/SystemCACertificates.keychain

Right-click or control-click the highlighted line and select

Services Show Info

from the contextual menu.* An Info dialog should open. The dialog should show "You can only read" in the Sharing & Permissions section.

Repeat with this line:

/System/Library/Keychains/SystemRootCertificates.keychain

If instead of the Info dialog, you get a message that either file can't be found, reinstall OS X.

*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. Open a TextEdit window and paste into it by pressing command-V. Select the line you just pasted and continue as above.

Step 3

Launch the Keychain Access 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.

☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.

In the upper left corner of the window, you should see a list headed Keychains. If not, click the button in the lower left corner that looks like a triangle inside a square.

In the Keychains list, there should be items named System and System Roots. If not, select

File Add Keychain

from the menu bar and add the following items:

/Library/Keychains/System.keychain /System/Library/Keychains/SystemRootCertificates.keychain

From the Category list in the lower left corner of the window, select Certificates. Look carefully at the list of certificates in the right side of the window. If any of them has a a blue-and-white plus sign or a red "X" in the icon, double-click it. An inspection window will open. Click the disclosure triangle labeled Trust to disclose the trust settings for the certificate. From the menu labeled

Secure Sockets Layer (SSL)

select

no value specified

Close the inspection window. You'll be prompted for your administrator password to update the settings.

Now open the same inspection window again, and select

When using this certificate: Use System Defaults

Save the change in the same way as before.

Revert all the certificates with non-default trust settings. Never again change any of those settings.

Step 4

Select My Certificates from the Category list. From the list of certificates shown, delete any that are marked with a red X as expired or invalid.

Export all remaining certificates, delete them from the keychain, and reimport. For instructions, select

Help Keychain Access Help

from the menu bar and search for the term "export" in the help window. Export each certificate as an individual file; don't combine them into one big file.

Step 5

From the menu bar, select

Keychain Access Preferences... Certificates

There are three menus in the window. Change the selection in the top two to Best attempt, and in the bottom one to CRL.

Step 6

Triple-click anywhere in the line of text below on this page to select it:

/var/db/crls

Copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select

Go Go to Folder...

from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

A folder named "crls" should open. Move all the files in that folder to the Trash. You’ll be prompted for your administrator login password.

Step 7

Restart the computer, empty the Trash, and test.

Aug 23, 2014 5:48 AM in response to Linc Davis

Hello Linc,

I followed your entire procedure.

No certificate was with a blue and white plus sign or a red X.


Now I got the same issue, plus an other.


The other issue is that Flash is not working with Safari on Facebook for reading Facebook videos. It's working fine on youtube and it's working fine also with an other browser on Facebook.


I uninstalled flash player and re-installed, same issue.


What do you think ?

Aug 23, 2014 8:46 AM in response to ClimbToSummit

This thread has become too long to read and I no longer have a clear idea of what the problem is, if I ever did. So let's start from the beginning.

Please answer as many of the following questions as you can. You may already have answered some of them. In that case, there's no need to repeat the answers, unless you've changed your mind.

If your browser is Safari, then from the Safari menu bar, select

Safari Preferences... Privacy Remove All Website Data

and confirm. Any change?

If you're running OS X 10.9 or later, select the Advanced tab in the Preferences window and uncheck the box marked

Stop plug-ins to save power

Any change?

Quit and relaunch the browser. Any change?

Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”

While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.

Test while logged in as Guest. Same problem?

After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.

*Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

Enable Private Browsing in the Safari menu. Any change?

Are any other web browsers installed, and are they the same? What about other Internet applications, such as iTunes and the App Store?

If other browsers and Internet applications are also affected, follow these instructions and test. Any change?

If Parental Controls is active for any user, please turn it off and test. Any change?

If only Safari is affected, launch the Activity Monitor application and enter "web" (without the quotes) in the search box. If a process named "Safari Web Content" is shown in red or is using more than about 5% of a CPU, select it and force it to quit by clicking the X or Quit Process button in the toolbar of the window. There may be more than one such process. Any improvement?

Open the iCloud preference pane and uncheck the box marked Photo Stream, if it's checked. Any change?

Are there any other devices on the same network that can browse the Web, and are they affected?

If you can test Safari on another network, is it the same there?

If you connect to your router with Wi-Fi and you can also connect with Ethernet, do that and turn off Wi-Fi. Any difference?

Aug 23, 2014 3:06 PM in response to Linc Davis

Excuse me for that.


For your information, I restored all my system for the problem with flash player on Facebook, it is working now.


Here are the results, all tested with the dropbox website:


-
SafariPreferences... PrivacyRemove All Website Data ==>> Done right now, no change, still slow


- Stop plug-ins to save power ==>> Done right now, no change, still slow


- Quit and relaunch the browser. Any change? ==>> Done right now, no change, still slow


- Test while logged in as Guest. Same problem? ==>> Done right now, no change, still slow


- *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing. ==>> “Find My Mac” or FileVault not activated while the procedure, guest account created properly.


- Enable Private Browsing in the Safari menu. Any change? ==>> Done right now, no change, still slow


- Are any other web browsers installed, ==>> Yes, Firefox and Chrome

- and are they the same? ==>> No, they are really much faster ! Safari takes about 1min to go on dropbox, chrome and firefox: half a second !

- What about other Internet applications, such as iTunes and the App Store? ==> They both seems to be fast.


- If Parental Controls is active for any user, please turn it off and test. Any change? ==> Not activated at all.

- If only Safari is affected, launch the Activity Monitor application and enter "web" (without the quotes) in the search box. If a process named "Safari Web Content" is shown in red or is using more than about 5% of a CPU, select it and force it to quit by clicking the X or Quit Process button in the toolbar of the window. There may be more than one such process. Any improvement? ==>> Not web content in red, all web content between 0.2% and 2% of using CPU.

- Open the iCloud preference pane and uncheck the box marked Photo Stream, if it's checked. Any change? ==>> Done right now, no change, still slow

- Are there any other devices on the same network that can browse the Web, and are they affected? ==>> Only this macbook.

- If you can test Safari on another network, is it the same there? ==>> I tried 4 different networks, still slow

- If you connect to your router with Wi-Fi and you can also connect with Ethernet, do that and turn off Wi-Fi. Any difference? ==>> I don't have Ethernet on this Macbook.

Further infos: Safari is slow for every users on this mac. It is slow for only some website that are using some "things that I don't know" which slow down safari. Otherwise, safari is relatively quick on others websites instead dropbox.

Thanks one more time for you help and I'm sorry to bother you on that, but I'm going really bad with this problem.

Have a nice end of day !

Bastien

Aug 24, 2014 9:03 AM in response to ClimbToSummit

Is all of this correct:


1. The "dropbox" site and a few others are slow to load initially, but then normal, only when you're logged in on the sites.


2. If you don't log in, the sites perform as you expect.


3. It's the same in all user accounts, and in safe mode.


4. In Recovery mode there's no problem, even when you log in to the sites.


5. There's no problem in other browsers.


6. None of the steps you've taken so far has had any effect on the above issue.

Aug 24, 2014 11:53 AM in response to Linc Davis

All points are tested just before I post this message.


1. Dropbox is running slow at all, on both, logged or not.

- On dropbox, every time I click on a link or a button, it's taking about 1 min for charging the page, logged or not.


2. Correct for Vimeo. It is running as I expect when NOT logged in.


3. Correct, , it's the same with every user, include guest user. Same again in safe mode for every user, include guest user.

4. In recovery mode, dropbox is running Logged in or not. Vimeo makes errors (I think because there is no Flash in recovery mode) but seems to be fast also.


5. Correct, no problem at all in all other browsers.


6. Correct, always the same issue. I had re-installed OSX too, nothing has changed.


Thanks for your help !

Safari is very slow only with one user

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