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

Macbook Pro running slow for no known reason

My MacBook Pro suddenly started running ridiculously slowly for no apparent reason. I haven't dropped it yet i think the harddrive may be broken. I ran the first aid option and repaired and verified the disk and permissions but that hasnt seeme wo work.


There is over 300GB of space left and the ram is not being used up. Usually runs at 80% idle. Are there any suggestions as to what it might be and how to solve it?


will it just be a case of replacing some hardware at a ridiculous cost?


Thanks

MacBook Pro (13-inch Mid 2012), OS X Mavericks (10.9)

Posted on Nov 1, 2013 5:25 AM

Reply
20 replies

Nov 1, 2013 6:43 AM in response to lowe281

First, back up all data immediately, as your boot drive might be failing.

Step 1


This diagnostic procedure will query the log for messages that may indicate a system issue. It changes nothing, and therefore will not, in itself, solve your problem.

If you have more than one user account, these instructions must be carried out as an administrator. I've tested them only with the Safari web browser. If you use another browser, they may not work as described.

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

syslog -k Sender kernel -k Message CReq 'Channel t|GPU D|I/O|find tok|n Cause: -' | tail | open -ef

Copy the selected text to the Clipboard (command-C).


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.


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


Paste into the Terminal window (command-V).


The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.


A TextEdit window will open with the output of the command. Normally the command will produce no output, and the window will be empty. If the TextEdit window (not the Terminal window) has anything in it, stop here and post it — the text, please, not a screenshot. The title of the TextEdit window doesn't matter, and you don't need to post that.

Step 2

There are a few other possible causes of generalized slow performance that you can rule out easily.


  • Reset the System Management Controller.
  • If you have a portable computer, check the cycle count of the battery. It may be due for replacement.
  • If you have many image or video files on the Desktop with preview icons, move them to another folder.
  • If applicable, uncheck all boxes in the iCloud preference pane. See whether there's any change.
  • Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
  • Check your keychains in Keychain Access for excessively duplicated items.
  • Boot into Recovery mode, launch Disk Utility, and run Repair Disk.
  • If you're booting from an aftermarket SSD, see whether there's a firmware update for it.
  • If you have a MacBook Pro with dual graphics, disable automatic graphics switching in the Energy Saverpreference pane for better performance at the cost of shorter battery life.

Step 3

When you notice the problem, launch the Activity Monitor 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 Activity Monitor in the icon grid.


Select the CPU tab of the Activity Monitor window.


Select All Processes from the View menu or the menu in the toolbar, if not already selected.


Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for User, System, andIdle at the bottom of the window.


Select the Memory tab. What value is shown in the bottom part of the window for Swap used?


Next, select the Disk tab. Post the approximate values shown for Reads in/sec and Writes out/sec (not Reads in andWrites out.)


Step 4


If you have more than one user account, you must be logged in as an administrator to carry out this step.


Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select

View Show Log List

from the menu bar.


Select the 50 or so most recent entries in the log. Copy them to the Clipboard by pressing the key combinationcommand-C. Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.


When posting a log extract, be selective. Don't post more than is requested.

Please do not indiscriminately dump thousands of lines from the log into this discussion.

Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

Nov 1, 2013 7:34 AM in response to Linc Davis

Oct 31 06:04:29 Name-Laptop kernel[0] <Debug>: Process Setup Assistant [225] disabling system-wide I/O Throttling


windowserver 11.9%


System 1.54%

User 2.59%

Idle 95.87%


Swap used - 0 bytes


Readsin/sec = 3

Writesout/sec = 13


01/11/2013 13:40:26.612 Google Chrome Helper[309]: Process unable to create connection because the sandbox denied the right to lookup com.apple.coreservices.launchservicesd and so this process cannot talk to launchservicesd. : LSXPCClient.cp #426 ___ZN26LSClientToServerConnection21setupServerConnectionEiPK14__CFDictionary_bl ock_invoke() q=com.apple.main-thread

01/11/2013 13:40:26.612 Google Chrome Helper[309]: Process unable to create connection because the sandbox denied the right to lookup com.apple.coreservices.launchservicesd and so this process cannot talk to launchservicesd.

01/11/2013 13:40:26.623 Google Chrome Helper[309]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1100)

01/11/2013 13:40:40.538 Google Chrome Helper[310]: Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650

01/11/2013 13:41:25.769 com.apple.InputMethodKit.UserDictionary[315]: -[PFUbiquitySwitchboardEntryMetadata setUseLocalStorage:](760): CoreData: Ubiquity: Name~7BBD95CA-4ED9-5876-B733-B9E4D6D4AFD4:UserDictionary

Using local storage: 1

01/11/2013 13:41:29.011 com.apple.InputMethodKit.UserDictionary[315]: -[PFUbiquitySwitchboardEntryMetadata setUseLocalStorage:](760): CoreData: Ubiquity: NAME~7BBD95CA-4ED9-5876-B733-B9E4D6D4AFD4:UserDictionary

Using local storage: 0

01/11/2013 13:44:37.598 Google Chrome Helper[316]: Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650

01/11/2013 13:44:37.679 Google Chrome Helper[316]: Process unable to create connection because the sandbox denied the right to lookup com.apple.coreservices.launchservicesd and so this process cannot talk to launchservicesd. : LSXPCClient.cp #426 ___ZN26LSClientToServerConnection21setupServerConnectionEiPK14__CFDictionary_bl ock_invoke() q=com.apple.main-thread

01/11/2013 13:44:37.679 Google Chrome Helper[316]: Process unable to create connection because the sandbox denied the right to lookup com.apple.coreservices.launchservicesd and so this process cannot talk to launchservicesd.

01/11/2013 13:44:37.685 Google Chrome Helper[316]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1100)

01/11/2013 13:44:46.083 Google Chrome Helper[317]: Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650

01/11/2013 13:44:47.133 Google Chrome Helper[317]: Process unable to create connection because the sandbox denied the right to lookup com.apple.coreservices.launchservicesd and so this process cannot talk to launchservicesd. : LSXPCClient.cp #426 ___ZN26LSClientToServerConnection21setupServerConnectionEiPK14__CFDictionary_bl ock_invoke() q=com.apple.main-thread

01/11/2013 13:44:47.133 Google Chrome Helper[317]: Process unable to create connection because the sandbox denied the right to lookup com.apple.coreservices.launchservicesd and so this process cannot talk to launchservicesd.

01/11/2013 13:44:47.139 Google Chrome Helper[317]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1100)

01/11/2013 13:45:12.326 WindowServer[92]: disable_update_timeout: UI updates were forcibly disabled by application "Dock" for over 1.00 seconds. Server has re-enabled them.

01/11/2013 13:45:12.484 WindowServer[92]: common_reenable_update: UI updates were finally reenabled by application "Dock" after 1.16 seconds (server forcibly re-enabled them after 1.00 seconds)

01/11/2013 13:45:51.098 com.apple.SecurityServer[21]: Session 100006 created

01/11/2013 13:46:13.729 com.apple.SecurityServer[21]: Session 100018 created

01/11/2013 13:47:26.178 mDNSResponder[40]: ERROR: mDNSPlatformWriteTCP - send Broken pipe

01/11/2013 13:47:26.178 mDNSResponder[40]: tcpConnectionCallback: error writing

01/11/2013 13:53:31.112 WindowServer[92]: disable_update_timeout: UI updates were forcibly disabled by application "Finder" for over 1.00 seconds. Server has re-enabled them.

01/11/2013 13:53:45.112 WindowServer[92]: disable_update_likely_unbalanced: UI updates still disabled by application "Finder" after 15.00 seconds (server forcibly re-enabled them after 1.00 seconds). Likely an unbalanced disableUpdate call.

01/11/2013 13:53:57.597 WindowServer[92]: common_reenable_update: UI updates were finally reenabled by application "Finder" after 27.49 seconds (server forcibly re-enabled them after 1.00 seconds)

01/11/2013 13:53:57.604 Finder[205]: void CGSUpdateManager::log() const: conn 0xc003: spurious update.

01/11/2013 13:54:25.906 Finder[205]: [QL] After retry, preview was from a different type for <QLPreview 0x7fdbf1fcf510 63807 file:///Users/NAME/Dropbox/Report.docx>

01/11/2013 13:54:33.271 com.apple.launchd[1]: (com.apple.quicklook.satellite.97D1C9EA-475D-4F71-8DBE-82648ECC3EB4[365]) Exited: Killed: 9

01/11/2013 13:54:33.926 com.apple.quicklook.satellite[368]: [QL] Can't setup sandbox ;;

;; Quick Look Plug-in - sandbox profile

;; Copyright (c) 2011 Apple Inc. All Rights reserved.

;;

;; WARNING: The sandbox rules in this file currently constitute

;; Apple System Private Interface and are subject to change at any time and

;; without notice. The contents of this file are also auto-generated and not

;; user editable; it may be overwritten at any time.

;;



(version 1)

(import "quicklook-satellite.sb")



(system-graphics)



;; Plug-in specific extensions

;; Text

(preference-read "com.apple.TextEdit")

(preference-read "pbs")

(preference-read "com.apple.ServicesMenu.Services")



;; Audio

(allow file-read* (home-subpath "/Music/iTunes"))

(allow file-read* (home-subpath "/Library/Audio/Plug-Ins"))



(preference-read "com.apple.iApps")



(allow iokit-open (iokit-user-client-class "IOAudioEngineUserClient"))



;; Movie

(allow file-read* (home-subpath "/Library/Video/Plug-Ins"))



(preference-read "com.apple.coremedia")



;; EPS

(allow file-read* file-write* (regex #"^/private/var/folders/.+/com\.apple\.psnormalizer\.fontcache\.[^/]+$"))



;; Web

(allow file-read* (subpath "/Applications/Safari.app")) ;; to read Safari's icon



(preference-read "com.apple.WebFoundation")



;; QC

(allow file-read* (home-subpath "/Library/Graphics"))

(allow file-read* (home-subpath "/Library/Compositions"))

: /usr/share/sandbox/quicklook-satellite.sb:65: string-append: argument 1 must be: string

01/11/2013 13:54:33.927 com.apple.quicklook.satellite[368]: [QL] Setting up sandbox for <QLSatellite 0x7f9c90c045f0 97D1C9EA-475D-4F71-8DBE-82648ECC3EB4> failed, exiting!

01/11/2013 13:54:33.929 com.apple.launchd[1]: (com.apple.quicklook.satellite.97D1C9EA-475D-4F71-8DBE-82648ECC3EB4[368]) Exited with code: 255

01/11/2013 13:54:34.517 com.apple.launchd[1]: (com.apple.quicklook.satellite.97D1C9EA-475D-4F71-8DBE-82648ECC3EB4) Throttling respawn: Will start in 9 seconds

01/11/2013 13:54:39.837 sandboxd[369]: ([368]) QuickLookSatelli(368) deny file-read-data /Users/NAME

01/11/2013 14:02:25.783 mDNSResponder[40]: ERROR: mDNSPlatformWriteTCP - send Broken pipe

01/11/2013 14:02:25.783 mDNSResponder[40]: tcpConnectionCallback: error writing

01/11/2013 14:04:04.914 universalAccessAuthWarn[252]: AccessibilityAPI: pid 242, is not allowed to access the accessibility API. Path: /Applications/CheatSheet.app/Contents/MacOS/CheatSheet

01/11/2013 14:06:07.592 login[390]: USER_PROCESS: 390 ttys000

01/11/2013 14:07:35.825 coreservicesd[70]: SFLEntryBase::ListHasChanged mach_msg returned 10000004d

01/11/2013 14:07:38.876 coreservicesd[70]: SFLEntryBase::ListHasChanged mach_msg returned 10000004d

01/11/2013 14:10:31.472 BezelServices 240.49[43]: __BezelUI_ShowImageMeter_block_invoke failed to contact BezelUIServer due to error 0x10000004: (ipc/send) timed out

01/11/2013 14:12:26.159 WindowServer[92]: disable_update_timeout: UI updates were forcibly disabled by application "Activity Monitor" for over 1.00 seconds. Server has re-enabled them.

01/11/2013 14:12:28.000 kernel[0]: Network delay is not specified! Defaulting to 0x384

01/11/2013 14:12:28.129 WindowServer[92]: common_reenable_update: UI updates were finally reenabled by application "Activity Monitor" after 2.97 seconds (server forcibly re-enabled them after 1.00 seconds)

01/11/2013 14:17:25.605 mDNSResponder[40]: ERROR: mDNSPlatformWriteTCP - send Broken pipe

01/11/2013 14:17:25.605 mDNSResponder[40]: tcpConnectionCallback: error writing

01/11/2013 14:18:40.203 Google Chrome Helper[426]: Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650

01/11/2013 14:18:40.297 Google Chrome Helper[427]: Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650

01/11/2013 14:28:28.000 kernel[0]: CODE SIGNING: cs_invalid_page(0x1000): p=436[GoogleSoftwareUp] final status 0x0, allow (remove VALID)ing page

01/11/2013 14:29:35.936 Console[439]: setPresentationOptions called with NSApplicationPresentationFullScreen when there is no visible fullscreen window; this call will be ignored.

01/11/2013 14:29:41.095 WindowServer[92]: disable_update_timeout: UI updates were forcibly disabled by application "Console" for over 1.00 seconds. Server has re-enabled them.

01/11/2013 14:29:44.771 WindowServer[92]: common_reenable_update: UI updates were finally reenabled by application "Console" after 4.68 seconds (server forcibly re-enabled them after 1.00 seconds)

Nov 1, 2013 8:55 AM in response to lowe281

Problems such as yours are sometimes caused by files that should belong to you but are locked or have wrong permissions. This procedure will check for such files. It makes no changes and therefore will not, in itself, solve your problem.

First, empty the Trash.

Triple-click anywhere in the line below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:

find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 -o -acl \) 2> /dev/null | wc -l

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.

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

Paste into the Terminal window (command-V). The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.

The output of this command, on a line directly below what you entered, will be a number such as "41." Please post it in a reply.

Nov 1, 2013 11:31 AM in response to lowe281

Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.

This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, 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.


Step 1

If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.

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

{ sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null

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 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 will take a noticeable amount of time to run. 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 or if it doesn't solve the problem.

Boot into Recovery. When the OS X Utilities screen appears, select

Utilities Terminal

from the menu bar. A Terminal window will open.

In the Terminal 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 boot 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.

Nov 4, 2013 11:48 AM in response to lowe281

Please read this whole message before doing anything.


This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.


Step 1


The purpose of this step is to determine whether the problem is localized to your user account.


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 personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; 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.


Step 2


The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, or by corruption of certain system caches.


Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.


Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal boot may also be somewhat slow.


The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.


Test while in safe mode. Things will be slow, but they shouldn't be "ridiculously slow." Same problem?


After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

Nov 4, 2013 1:25 PM in response to lowe281

If you don't already have a current backup, back up all data, then reinstall the OS. You don't need to erase the startup volume, and you won't need the backup unless something goes wrong. If the system was upgraded from an older version of OS X, you may need the Apple ID and password you used to upgrade.

There are ways to back up a computer that isn't fully functional. Ask if you need guidance.

If you installed the Java runtime distributed by Apple and still need it, you'll have to reinstall it.

Nov 5, 2013 7:41 AM in response to lowe281

Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.

Back up all data on the internal drive(s) before you hand over your computer to anyone. There are ways to back up a computer that isn't fully functional — ask if you need guidance.

If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you have at least two complete, independent backups, and you know how to restore to an empty drive from any of them.) Don’t erase the recovery partition, if present.

Keeping your confidential data secure during hardware repair

*An SSD doesn't need to be zeroed.

Nov 5, 2013 9:46 PM in response to Linc Davis

Linc, I found this thread when trying to research my unending challenges with getting Time Machine (on my Time Capsule) to work since upgrading to Mavericks.


Don't want to take this thread off topic, so narrowly my questions is: What is the diagnostic above called? And is a particular number (I assume lower the better?) desirable?


I ran it because I am getting some the the same errors as the OP and the result I received was 1042981.


I have a feeling that's not good :/


Ed

Nov 29, 2013 6:46 AM in response to Linc Davis

Linc,


I have the same issue with sluggishness since moving to Mavericks, particularly switching users. Several ChromeHelper errors related to denial of access as well:


11/29/13 9:42:03.521 AM Google Chrome Helper[6669]: Process unable to create connection because the sandbox denied the right to lookup com.apple.coreservices.launchservicesd and so this process cannot talk to launchservicesd. : LSXPCClient.cp #426 ___ZN26LSClientToServerConnection21setupServerConnectionEiPK14__CFDictionary_bl ock_invoke() q=com.apple.main-thread


When I run your script I get a value of 143. What does that mean?


Thanks

Charlie

Macbook Pro running slow for no known reason

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