Skip navigation

Mail consuming excessive processor power

488 Views 6 Replies Latest reply: Sep 5, 2013 9:35 PM by SaadFromIslamabad RSS
Hearn Cho1 Calculating status...
Currently Being Moderated
Jul 17, 2013 2:05 PM

In the last day or two, Mail is consuming between 60-85% of CPU power according to activity monitor, causing the processor to run hot and the fan to cycle up to high.  Mail has crashed a couple of times, too.  I recently moved a lot of old messages to archives and synchronized all accounts.

 

I am currently running two accounts on Mail, iCloud and my work Exchange account.  My system admin at work reports no problems with the Exchange server.

 

Any help is appreciated!

MacBook Pro, OS X Mountain Lion (10.8.2)
  • Eric Root Level 6 Level 6 (13,850 points)
    Currently Being Moderated
    Jul 17, 2013 2:30 PM (in response to Hearn Cho1)

    Try a restart.

     

    Do a backup, using either Time Machine or a cloning program, to ensure files/data can be recovered. Two backups are better than one.

     

    Try setting up another admin user account to see if the same problem continues. If Back-to-My Mac is selected in System Preferences, the Guest account will not work. The intent is to see if it is specific to one account or a system wide problem. This account can be deleted later.

     

    Isolating an issue by using another user account

     

    If the problem is still there, try booting into the Safe Mode.  Shut down the computer and then power it back up. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. When you reboot normally, the initial reboot may be slower than normal. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application uninstaller. For each disable/delete, you will need to restart if you don't do them all at once.

                   

    Safe Mode

     

    Safe Mode - About

  • Linc Davis Level 10 Level 10 (107,660 points)
    Currently Being Moderated
    Jul 18, 2013 12:20 AM (in response to Hearn Cho1)

    Launch the Console 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 Console in the icon grid.

     

    Step 1

     

    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.

    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).

     

    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.

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

     

    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

     

    Step 2

     

    Still in the Console window, look under User Diagnostic Reports for crash reports related to the process. The report name starts with the name of the crashed process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • Linc Davis Level 10 Level 10 (107,660 points)
    Currently Being Moderated
    Jul 18, 2013 8:34 AM (in response to Hearn Cho1)

    Back up all data.

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

    ~/Library/Containers/com.apple.mail/Data/Library/Caches/com.apple.mail/Cache.db

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

     

    Services Reveal

    from the contextual menu.* A folder should open with an item selected. Quit the application if it's running. Move the selected item to the Trash. Relaunch the application and test.

    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select

    Go Go to Folder...

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

  • parasbuy22 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Aug 13, 2013 8:48 AM (in response to Linc Davis)

    Has this issue been resolved?  I'm having the same error and problem and would be interested to learn more.

     

    Linc Davis... if it helps, here are the lines from Console before, during, and after deleting the cache.db file in com.apple.mail folder.  Mail is now working well at CPU% < 1% at idle and jumping up to 38% to fetch a new mail message.  This CPU% problem happens often.  Is there a way to resolve the issue or will this process of closing Mail and deleting the cache.db file have to be repeated regularly?

     

    Thanks,

    parasbuy22

     

     

     

     

     

     

    8/13/13 11:14:57.655 AM Mail[158]: Error in CGSAddTrackingRect (1000)

    8/13/13 11:14:57.655 AM Mail[158]: CGSSetTrackingAreaOption returned CG error 1001

    8/13/13 11:16:40.196 AM Mail[158]: CGSAddTrackingRect: Region creation failure

    8/13/13 11:16:40.196 AM Mail[158]: Error in CGSAddTrackingRect (1000)

    8/13/13 11:16:40.197 AM Mail[158]: CGSSetTrackingAreaOption returned CG error 1001

     

    8/13/13 11:23:11.575 AM Mail[158]: Unable to simultaneously satisfy constraints:

    (

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e3d9d780 h=-&- v=-&- V:|-(0)-[WebClipView:0x7ff1e1d65700]   (Names: '|':WebDynamicScrollBarsView:0x7ff1e1d41080 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e1dd3820 h=-&- v=-&- V:|-(0)-[WebDynamicScrollBarsView:0x7ff1e1d41080]   (Names: '|':WebFrameView:0x7ff1e1db9520 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e3d4cc80 h=-&- v=-&- V:|-(20)-[WebFrameView:0x7ff1e1db9520]   (Names: '|':MessageWebView:0x7ff1e1d5fe20 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e376eef0 h=-&- v=-&- V:[WebFrameView:0x7ff1e1db9520]-(0)-|   (Names: '|':MessageWebView:0x7ff1e1d5fe20 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e39f4ae0 h=-&- v=-&- V:[WebDynamicScrollBarsView:0x7ff1e1d41080]-(0)-|   (Names: '|':WebFrameView:0x7ff1e1db9520 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1dbad0c30 h=-&- v=-&- V:[WebClipView:0x7ff1e1d65700]-(0)-|   (Names: '|':WebDynamicScrollBarsView:0x7ff1e1d41080 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e3d8b700 h=-&- v=-&- V:[MessageWebView:0x7ff1e1d5fe20]-(0)-|   (Names: '|':_MailNSClipView:0x7ff1e9b2e740 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e3dd7fb0 h=-&- v=-&- V:|-(20)-[MessageWebView:0x7ff1e1d5fe20]   (Names: '|':_MailNSClipView:0x7ff1e9b2e740 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e1d09d10 h=-&- v=-&- V:|-(0)-[_MailNSClipView:0x7ff1e9b2e740]   (Names: '|':MessageBodyScrollView:0x7ff1e9b38520 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e49b23a0 h=--& v=--& V:[MessageBodyScrollView:0x7ff1e9b38520(20)]>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e1d06180 h=-&- v=-&- V:[_MailNSClipView:0x7ff1e9b2e740]-(0)-|   (Names: '|':MessageBodyScrollView:0x7ff1e9b38520 )>"

    )

    Will attempt to recover by breaking constraint

    <NSAutoresizingMaskLayoutConstraint:0x7ff1dbad0c30 h=-&- v=-&- V:[WebClipView:0x7ff1e1d65700]-(0)-|   (Names: '|':WebDynamicScrollBarsView:0x7ff1e1d41080 )>

    Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens.  And/or, break on objc_exception_throw to catch this in the debugger.

     

     

    8/13/13 11:23:11.576 AM Mail[158]: Unable to simultaneously satisfy constraints:

    (

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e1dd3820 h=-&- v=-&- V:|-(0)-[WebDynamicScrollBarsView:0x7ff1e1d41080]   (Names: '|':WebFrameView:0x7ff1e1db9520 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e3d4cc80 h=-&- v=-&- V:|-(20)-[WebFrameView:0x7ff1e1db9520]   (Names: '|':MessageWebView:0x7ff1e1d5fe20 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e376eef0 h=-&- v=-&- V:[WebFrameView:0x7ff1e1db9520]-(0)-|   (Names: '|':MessageWebView:0x7ff1e1d5fe20 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e39f4ae0 h=-&- v=-&- V:[WebDynamicScrollBarsView:0x7ff1e1d41080]-(0)-|   (Names: '|':WebFrameView:0x7ff1e1db9520 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e3d8b700 h=-&- v=-&- V:[MessageWebView:0x7ff1e1d5fe20]-(0)-|   (Names: '|':_MailNSClipView:0x7ff1e9b2e740 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e3dd7fb0 h=-&- v=-&- V:|-(20)-[MessageWebView:0x7ff1e1d5fe20]   (Names: '|':_MailNSClipView:0x7ff1e9b2e740 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e1d09d10 h=-&- v=-&- V:|-(0)-[_MailNSClipView:0x7ff1e9b2e740]   (Names: '|':MessageBodyScrollView:0x7ff1e9b38520 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e49b23a0 h=--& v=--& V:[MessageBodyScrollView:0x7ff1e9b38520(20)]>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e1d06180 h=-&- v=-&- V:[_MailNSClipView:0x7ff1e9b2e740]-(0)-|   (Names: '|':MessageBodyScrollView:0x7ff1e9b38520 )>"

    )

    Will attempt to recover by breaking constraint

    <NSAutoresizingMaskLayoutConstraint:0x7ff1e1dd3820 h=-&- v=-&- V:|-(0)-[WebDynamicScrollBarsView:0x7ff1e1d41080]   (Names: '|':WebFrameView:0x7ff1e1db9520 )>

    Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens.  And/or, break on objc_exception_throw to catch this in the debugger.

     

     

    8/13/13 11:23:11.577 AM Mail[158]: Unable to simultaneously satisfy constraints:

    (

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e3d4cc80 h=-&- v=-&- V:|-(20)-[WebFrameView:0x7ff1e1db9520]   (Names: '|':MessageWebView:0x7ff1e1d5fe20 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e376eef0 h=-&- v=-&- V:[WebFrameView:0x7ff1e1db9520]-(0)-|   (Names: '|':MessageWebView:0x7ff1e1d5fe20 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e3d8b700 h=-&- v=-&- V:[MessageWebView:0x7ff1e1d5fe20]-(0)-|   (Names: '|':_MailNSClipView:0x7ff1e9b2e740 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e3dd7fb0 h=-&- v=-&- V:|-(20)-[MessageWebView:0x7ff1e1d5fe20]   (Names: '|':_MailNSClipView:0x7ff1e9b2e740 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e1d09d10 h=-&- v=-&- V:|-(0)-[_MailNSClipView:0x7ff1e9b2e740]   (Names: '|':MessageBodyScrollView:0x7ff1e9b38520 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e49b23a0 h=--& v=--& V:[MessageBodyScrollView:0x7ff1e9b38520(20)]>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e1d06180 h=-&- v=-&- V:[_MailNSClipView:0x7ff1e9b2e740]-(0)-|   (Names: '|':MessageBodyScrollView:0x7ff1e9b38520 )>"

    )

    Will attempt to recover by breaking constraint

    <NSAutoresizingMaskLayoutConstraint:0x7ff1e3d4cc80 h=-&- v=-&- V:|-(20)-[WebFrameView:0x7ff1e1db9520]   (Names: '|':MessageWebView:0x7ff1e1d5fe20 )>

    Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens.  And/or, break on objc_exception_throw to catch this in the debugger.

     

     

    8/13/13 11:27:20.473 AM Mail[158]: Unable to simultaneously satisfy constraints:

    (

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e43614b0 h=-&- v=-&- V:[WebFrameView:0x7ff1e7be0d00]-(0)-|   (Names: '|':MessageWebView:0x7ff1e1ef54d0 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e3fd2940 h=-&- v=-&- V:|-(2.14748e+09)-[WebFrameView:0x7ff1e7be0d00]   (Names: '|':MessageWebView:0x7ff1e1ef54d0 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e48cdc60 h=--& v=--& V:[MessageBodyScrollView:0x7ff1e37e6630(2.14748e+09)]>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e1ee5170 h=-&- v=-&- V:|-(15)-[MessageWebView:0x7ff1e1ef54d0]   (Names: '|':_MailNSClipView:0x7ff1e1dfb780 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e3c580d0 h=-&- v=-&- V:[_MailNSClipView:0x7ff1e1dfb780]-(0)-|   (Names: '|':MessageBodyScrollView:0x7ff1e37e6630 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e3829ec0 h=-&- v=-&- V:|-(0)-[_MailNSClipView:0x7ff1e1dfb780]   (Names: '|':MessageBodyScrollView:0x7ff1e37e6630 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7ff1e3e968a0 h=-&- v=-&- V:[MessageWebView:0x7ff1e1ef54d0]-(0)-|   (Names: '|':_MailNSClipView:0x7ff1e1dfb780 )>"

    )

     

    Will attempt to recover by breaking constraint

    <NSAutoresizingMaskLayoutConstraint:0x7ff1e3fd2940 h=-&- v=-&- V:|-(2.14748e+09)-[WebFrameView:0x7ff1e7be0d00]   (Names: '|':MessageWebView:0x7ff1e1ef54d0 )>

     

    Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens.  And/or, break on objc_exception_throw to catch this in the debugger.

     

     

    8/13/13 11:32:20.710 AM Mail[1441]: Using V2 Layout

  • SaadFromIslamabad Level 1 Level 1 (0 points)
    Currently Being Moderated
    Sep 5, 2013 9:35 PM (in response to Linc Davis)

    Thank you Linc. Deleting the cache file fixed the problem for me. Mail back to 2% CPU utilization.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.