Mail is taking 100% CPU

Out of nowhere OS X Mail on my macbook pro is taking 100% of the CPU. Doesn't seem to be downloading emails or anything but it's working the CPU. It's an IMAP connection to Mobile Me. I have tried to remove the account and re-create it from scratch and no change.
Any help would be appreciated.
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
1129 top 5.1% 0:01.42 1 18 29 880K 200K 1476K 18M
1123 ocspd 0.0% 0:00.01 1 19 21 412K 192K 1072K 18M
1121 PubSubAgen 0.0% 0:00.01 2 57 27 348K 4576K 1396K 20M
1053 Mail 98.7% 6:22.50 11 239 451 45M 36M 70M 471M
1051 sqlite3 0.0% 0:00.00 1 31 25 112K 188K 520K 18M

I have a similar problem.
Mail starts eating up all CPU and RAM resources at the same time. After a short hang its CPU usage drops and RAM is set free again. This occurs periodically about each minute. I tried all suggestions in the forum from Onyx cleaning over envelope index deletion to Flip4Mac uninstall. Nothing helps.
Switching to Thunderbird is ok, but i'd really like to use Mail again and I'm desperately looking for a final solution.

Similar Messages

  • Procedure is taking 100% cpu

    Hi ,
     One of my procedure is taking 100% CPU, I looked execution plan .. But I am not sure what to look on that .. I didn't find any anything wrong in execution plan. like all are index seek ..  Even the query is not taking much time just 2 sec
    Regards Vikas Pathak

    In addition to great suggestion Sean has been posted , I always start with the below
    ---This first thing to check if CPU is at 100% is to look for parallel queries:
    -- Tasks running in parallel (filtering out MARS requests below):
    select * from sys.dm_os_tasks as t
     where t.session_id in (
       select t1.session_id
        from sys.dm_os_tasks as t1
       group by t1.session_id
      having count(*) > 1
      and min(t1.request_id) = max(t1.request_id));
    -- Requests running in parallel:
     select *
       from sys.dm_exec_requests as r
       join (
               select t1.session_id, min(t1.request_id)
              from sys.dm_os_tasks as t1
             group by t1.session_id
            having count(*) > 1
               and min(t1.request_id) = max(t1.request_id)
          ) as t(session_id, request_id)
         on r.session_id = t.session_id
        and r.request_id = t.request_id;
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • F1 live timing taking 100% CPU

    I realise this is a pretty obscure problem. F1's live timing service runs as a Java applet in a browser: http://www.formula1.com/services/live_t … popup.html (registration required, but it should load and run at any time, not just on race weekends). Obviously, I haven't used it since last October, and when I fired it up this weekend it just sat there, taking 100% CPU.
    It doesn't seem to be the JVM at fault: other Java applets run fine, and I've tried downgrading to a version I know worked last year. Neither is it anything in the applet itself: I have another Arch partition which I cloned off this one last November, and it works perfectly there (it doesn't seem to be the kernel, either; I tried booting this "current" partition with the kernel from that one). However, so many packages have been upgraded - and I've tinkered so much with this install - since then, that it could be literally anything.
    For that reason, I don't expect anyone to come up with an immediate answer, but I'd appreciate some ideas on how to narrow down the possibilities and figure out what might be causing this.

    lucke wrote:What browser?
    All of 'em: Firefox, Opera, Konq, Kazehakase...
    Works OK in konqueror.
    Weirder and weirder, then. 

  • Oracle on NT(taking 100% CPU)

    I have my Oracle running on NT.It is a Dell machine .The database isna test database.When the instance starts up it is taking 100% CPU.No activity possible on it.All querries hanging.Any suggestions ?

    Please look at patch name EM_NT_1224539.
    null

  • HELP PLEASE - syslogd gone mad taking 100% CPU!!!!!!!!!!!!!!!!!

    Hi PLEASE HELP
    I have no idea what is going on but syslogd has suddenly started taking 100% CPU.
    This started around 6pm this evening and despite 5 restarts 2 hours later it is STILL consuming 100% CPU.
    Kicks in as soon as the machine has finished booting.
    Did stop for no reason for about 10 minutes then started again!!!!!!!!!!!!!!!
    Robin

    This topic should be a Sticky untill Apple releases a fix for the issue!
    Also these 2 Links are very useful!
    http://smartic.us/2007/11/8/leopard-100-cpu-usage-caused-by-syslogd-and-possibly -time-machine
    http://julianschrader.de/20080131-100-cpu-usage-caused-by-syslogd-leopard/

  • [SOLVED] mandb hangs, taking 100% CPU

    I have a VPS running Arch (limited to kernel 3.9.4-1 by the provider). The system was unceremoniously rebooted last night due to a power outage at their facility. When it came back up, the mandb process being run by cron was taking 100% of the CPU and had been running for ~10 hours by the time I noticed it.
    I eventually killed the mandb process and re-tried it manually with debugging turned on: `mandb -d`. It appears that processing stops at /usr/share/man/man5/core.5.gz (this is the last output I see, even if I leave it running for an hour or two). Even after the output stops, it is still taking 100% CPU. Anyone have any ideas or other things to try debugging it? I'm all out.
    Last edited by aclindsa (2013-11-26 01:02:42)

    I re-installed man-pages with `pacman -S man-pages` and then received the following messages:
    Purging old database entries in /usr/share/man...
    Processing manual pages under /usr/share/man...
    Updating index cache for path `/usr/share/man/man2'. Wait...mandb: bad fetch on multi key alarm 2
    mandb: index cache /var/cache/man/3354 corrupt
    Then, after running
    mandb -c
    subsequent calls to `mandb` executed successfully. Problem solved. I guess maybe mandb was running when the power outage occurred, corrupting the man index cache... makes me wonder what else got corrupted that I haven't noticed yet.

  • Mail is using 100% CPU processes - wondering if I possibly have the answer?

    Hi...
    I have a big problem with Mail using all the CPU processes but may just have found a possible solution. I'm posting to see if anyone else shares this problem or can shed some light on whether or not this is a possible solution.
    _*The Problem*_
    Over the past couple of weeks, I've noticed that Mail is using on average 100% of the processes and sometimes up to 168% (I have screenshots to prove it). My 17" MacBookPro gets very, very hot and the fans spin up to cool it down so it's obviously not right as it's never done this before. I can only use Mail intermittently now as the machine overheats quickly soon after Mail starts up. As a result, the CPU is being hammered so I can't now use Mail or other CPU intensive applications properly, which is a big problem.
    I've used the iStatPro widget to verify that Mail is constantly using 100% of the CPU processes. I've also verified this using Utilities / Activity Monitor. When the Activity Monitor application loads, I've selected Mail from the list of Process Names and then clicked Inspect. I've managed to identify the parent process as being launchd (110) which is using all the CPU power. Here are some other stats for this parent process:
    %CPU 95.56 (at that specific instance)
    Threads 15
    Ports 275
    CPU Time 3:30.55
    Context Switches 310968
    Faults 65795
    Page Ins 1
    Mach Messages In 272627
    Mach Messages Out 65025
    Mach System Calls 1459878
    Unix System Calls 103120
    I guess the important bit is the first bit that says 95.56%.
    I have screenshots to back this up but no way of posting them here. I have also managed to use Activity Monitor to generate sample data that the process is creating and again there is no way of posting an attachment here but there is lots of sample data from the process to look at. I've compared the sample data from my MacBookPro to a colleagues machine and the difference between the sample data is enormous. There is obviously something very wrong happening.
    Here's some basic info about my machine, with the serial number removed:
    Hardware Overview:
    Model Name: MacBook Pro 17"
    Model Identifier: MacBookPro2,1
    Processor Name: Intel Core 2 Duo
    Processor Speed: 2.33 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache: 4 MB
    Memory: 2 GB
    Bus Speed: 667 MHz
    Boot ROM Version: MBP21.00A5.B08
    SMC Version: 1.14f5
    Sudden Motion Sensor:
    State: Enabled
    System Software Overview:
    System Version: Mac OS X 10.5.6 (9G55)
    Kernel Version: Darwin 9.6.0
    Boot Mode: Normal
    Time since boot: 1:44
    _*The Possible Solution??*_
    I recently installed a Beta version of Daylite 3 as I was interested in the application and remembered that it integrates closely with Mail. I wondered if Daylite was constantly trying to communicate with Mail and having problems. Having uninstalled Daylite 3, the problem of Mail using all the processes has so far not reappeared. Mail is now using very little of the CPU processes as is usual. However, I'm currently at home instead of on my network at the office so I'll wait to see if the problem still fails to appear when at work.
    I know other people have had problems with Mail using 100% of the processes. Have you also installed Daylite 3? There has been some talk of Flip4Mac being a possible culprit but I use Flip4Mac and haven't previously had the problem. The only recent change and connection I can think of is an install of Daylite 3.
    I don't want to talk down Daylite 3 but it's the only thing I can think of and having uninstalled it, the problem hasn't occurred. I hope I have stumbled across the solution but any thoughts, shared experiences or feedback would be greatly appreciated...
    Many Thanks,
    Nigel

    Hi...
    Thanks for the post. Not sure what you mean when you say "What does Mail say it's doing?" Can you be more specific and supply specific instructions to follow so that I can give you the information you need?
    I've sampled the process but can't post any attachments on the forum. I've listed what the Activity Monitor stats are saying at the top level in the post above.
    This is a serious problem that's hammering my machine and making it overheat and almost making it unusable. Any feedback or instructions anyone can give me for what info to supply to help you determine what the issue is would be greatly appreciated. I'm hoping to find a solution here rather than have the machine overheat permanently and eventually fail, leaving me to sort it out with AppleCare.
    Help!
    Clown Guy

  • Firefox 3.6.12 is running extremely slow and taking 100% CPU on my mac.

    Just updated Firefox to 3.6.12 and it's taking over 100% CPU on one of my processors and is running EXTREMELY slow, too slow to use.

    Firefox used to be the doggs bollocks now its just a dog.
    Back to internet exploder fro me im afraid.I cant keep waiting twenty seconds for everything its like being back in 1993.

  • Sessions with Event "class slave wait" taking 100% CPU

    Hi experts,
    I have an issue in an 11.2.0.2 RAC database with 2 standby nodes that are driving me nuts.
    All started when I've been told there are 2 Oracle processes consuming too much CPU in the environment.
    I found 2 processes which takes 100% CPU each. These processes are Oracle processes into the DB and checking them out although they are registered in v$process and v$session, there is nothing related to them in v$bgprocess so I could not find out which oracle processes started these 2 OS processes.
    The view v$session shows them ACTIVE in the event "class slave wait". There aren't too much information about this event, at least I failed to find...
    Using dbms_monitor and dbms_system to create trace events did not create any tracefile. Only ORADEBUG was able to create events but with nearly no information inside the trace files.
    Questions I need to have answered or at least hints that I can follow to find the answer:
    1) what is causing the CPUs to be consumed at 100%? Which process?
    2) Why does these processes are using that much of CPU?
    3) What can be done to safely get over it?
    Honestly I don't know where else to look at except trying to get some help. Could someone give me a hand please?
    BR,
    Lauro Ojeda
    Edited by: LauroOjeda on 26/01/2013 06:44

    Hi Pal, thanks for your reply!
    Here are the answers:
    1. If it is RAC there is no such construct as a "standby node" and you say you have two of them. Please be specific ... is this RAC or Data Guard or a combination? Or do you have a three node cluster with all services pointing to only a single server wasting all of the resources of the other three?
    A: This is a combination of them. We have 2 nodes in a RAC environment shipping logs to two physical standby databases in another site.
    2. Two processes can not be at 100% of CPU any more than I can be 200% awake. Please show us how you arrived at this conclusion, on what hardware and operating system, and include a formatted (read the FAQ to learn how) extract showing what you are seeing.
    A: top in Linux shows two oracle processes consuming 100% (or nearly of it) of 1 CPU each. This is a 16 cores server (each primary node) so 2 of these are working on full capacity to service the described processes.
    3. What processes? Name them and again run a SQL statement and post the output so we can see what you are looking at.
    A: Like I said before I failed to find which background process they belongs to as there are no indications of them in v$bgprocess and in v$session/v$process either. I can see them in v$process and v$session but again, there are no indications of for which bg process they belong to.
    4. Is anything slow? Are there any problems with the system or are you only reacting to two numbers you think are too high?
    A: No, system is not slow because of that but the client wants to investigate and have it sorted as it is not normal.
    Additionally I found a bug in metalink which seems to be the culprit, but I'm unsure yet. This is Bug 12929268 : HIGH CPU ON ORA_O00N PROCESS
    Is any other information that I may provide you?
    Thanks for help!
    Lauro Ojeda

  • Genius updating taking 100%+ CPU time and error 13011

    Does anyone else have the issue of iTunes updating Genius causing their CPU usage to max out run the cooling fan at full speed?
    Im getting an average of 100%+ CPU usage while its updating or compiling or whatever its doing and Macbook cooks whiles its doing so.
    Activity Monitor is reporting ridiculously high CPU usage. How do you even get 108% CPU usage?? Can someone explain that for me?
    Im also getting the message 'unable to save library' with error 13011 at the end of Genius updating (the Genius update progress bar is full).
    Can anyone give me some pointers as to what I can do to check why i'm getting these issues or if there is resolution?
    Killing the Genius data gathering solves the CPU usage issue straight away but I'm sure it wasnt this bad before Snow Leopard.
    Cheers
    AC

    here is a log of the console messages relating to itunes if that helps anyone...
    11/09/09 8:22:24 AM [0x0-0x1cd1cd].com.apple.iTunes[4459] objc[4459]: Class DOMHTMLParamElement is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore and /Library/InputManagers/SafariBlock/SafariBlock.bundle/Contents/MacOS/SafariBloc k. One of the two will be used. Which one is undefined.
    11/09/09 8:22:24 AM [0x0-0x1cd1cd].com.apple.iTunes[4459] objc[4459]: Class WebBaseNetscapePluginView is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit and /Library/InputManagers/SafariBlock/SafariBlock.bundle/Contents/MacOS/SafariBloc k. One of the two will be used. Which one is undefined.
    11/09/09 8:22:26 AM Firewall[65] iTunes is listening from 0.0.0.0:3689 proto=6
    11/09/09 8:22:27 AM Firewall[65] iTunes is listening from :::3689 proto=6
    11/09/09 8:22:27 AM [0x0-0x1cd1cd].com.apple.iTunes[4459] Child process initialized.
    11/09/09 8:22:28 AM /Applications/iTunes.app/Contents/MacOS/iTunes[4459] dnssd_clientstub read_all(49) failed -1/4 9 Bad file descriptor
    11/09/09 8:22:28 AM /Applications/iTunes.app/Contents/MacOS/iTunes[4459] dnssd_clientstub read_all(49) failed -1/4 9 Bad file descriptor
    11/09/09 8:22:28 AM /Applications/iTunes.app/Contents/MacOS/iTunes[4459] dnssd_clientstub read_all(45) failed -1/4 9 Bad file descriptor
    11/09/09 8:22:28 AM /Applications/iTunes.app/Contents/MacOS/iTunes[4459] dnssd_clientstub DNSServiceRefDeallocate called with invalid DNSServiceRef 0x1a808680 FFFF0004 DDDDDDDD
    11/09/09 8:22:28 AM /Applications/iTunes.app/Contents/MacOS/iTunes[4459] dnssd_clientstub DNSServiceRefDeallocate called with invalid DNSServiceRef 0x1a8025a0 00000000 80000000
    11/09/09 8:22:28 AM /Applications/iTunes.app/Contents/MacOS/iTunes[4459] dnssd_clientstub DNSServiceRefDeallocate called with invalid DNSServiceRef 0x1a8025e0 00000001 18B96E00

  • LinkedBlockingQueue taking 100% CPU on linux

    I've just discoverd that java.util.concurrent.LinkedBlockingQueue takes 100% CPU on linux (AMD XP2400 512MB of RAM Fedora Core 3 using:
    java version "1.5.0_04"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)
    I don't know what's happening (could it be a bug?). On Windows 2000 (Pentium4) it works fine.
    Is there a special setting that has to be set on Linux for this code to work? Is this code working on your linux box?
    If you know any work around that acheives the same effect, I'd be glad to here it.
    Help! please!
    import java.util.concurrent.LinkedBlockingQueue;
    import java.util.concurrent.TimeUnit;
    import java.util.ArrayList;
    public class Test {
        public Test() {
        public static void main(String[] args) {
            Test t = new Test();
            t.execute();
        public void execute() {
            try {
                System.out.println("1");
    LinkedBlockingQueue queue = new LinkedBlockingQueue();
    ArrayList list = (ArrayList) queue.poll(3162240000L, TimeUnit.SECONDS);    // wait 100 year (!) for an element in the queue
            System.out.println("2");
            } catch (Exception e) {
                e.printStackTrace();
    }

    Yes it's the poll call that causes problems.
    I've looked at the bug database and did not find something similar. I've created a bug for this. I hope that it will be fixed in the future.
    As I cannot wait, I've find an alternative in "Java 1.4 backport of JSR 166 (java.util.concurrent)"
    http://www.mathcs.emory.edu/dcl/util/backport-util-concurrent/
    It is kinda stuipid to run Java 1.5 and having to use a backport of java.util.concurrent but I have no choice.
    I guess that this is a threading problem as on Windows 2000 on a Pentium4 I've got no problem.

  • Dock frozen, taking 100% CPU, 50gb swap

    My dock is frozen and shows 100% cpu use (that is, 100% of one core).  It gradually takes more and more memory until I run out of hard disk space.  Killing the process does nothing - it immediately comes back at 100% of cpu and starts eating the memory over again.  Same with deleting com.apple.dock.plist.
    This problem was occuring in 10.8.3, so i tried updating to 10.8.4, which had no effect.
    Any ideas?

    I had this problem, eventually found a solution - it's to do with Parallels (and maybe VMWare Fusion) sharing Windows applications to the Mac Dock. It turned out that I had quit Parallels, but somehow it had left something about these shared Dock items in limbo.  Restarting Parallels got things right again, then disabling the Shared Windows Apps in the configuration of the VMs
    See http://reviews.cnet.com/8301-13727_7-20074173-263/dock-using-100-cpu-after-os-x- 10.6.8-update-for-parallels-6-users/

  • Diskimages-helper taking 100% CPU ...

    I suddenly got a problem with the process "diskimages-helper" created by my account. It consumes 100% CPU time constantly.
    I have read other threads about this, but they are +4 years old and I doubt the solution is the same since that was a different operating system.
    Does anyone have an idea as to why this phenomena suddenly appears and what a solution might be ??

    Remember in the future... "When In Doubt, Restart!"

  • Mail goes to 100% CPU and becomes unresponsive on one e-mail

    Until this morning, I've had no problems with Mail. A business associate sent me an e-mail as a reply to a conversation spanning several weeks with a small PDF attachment. When I went to read the e-mail on my MacBook Pro, Mail became unresponsive with the "loading panel" twirling in the e-mail pane. CPU load went to 100% and remained there. I found that if I clicked on another mailbox, eventually (minutes later) it would become selected and CPU load would drop back down to normal. Tried it several times with the same results.
    My mail server filters out spam and forwards all e-mails to my gmail account so that I have all of my e-mails on my iPhone. I found the offending e-mail on my iPhone and found that it opened just fine and the attachment opened fine too. Thinking that the e-mail had somehow become corrupted, I deleted it from my MacBook Pro then forwarded the message from my iPhone to the account used by my MacBook Pro. When I went to read the forwarded e-mail on my MBP, the same problem occurred. From what I can see in my iPhone there's nothing unusual about the e-mail, just some text and the small PDF attachment. I can open other e-mails with PDF attachments fine. It's just this one e-mail that gives Mail a problem.
    Here's what I've done so far:
    Using Disk Utility, I did a repair on my MBP volume - no problems found.
    I did a permissions repair - nothing unusual.
    I did a rebuild on all of my mail folders - everything went okay.
    I disabled and uninstalled Letter Opener Pro (the only plug-in I use with Mail)
    I disabled Norton.
    Still no joy. I realize I can just delete the e-mail and go on with life but ideally I would like to be able to solve the problem so it doesn't happen again. Has anyone else had this problem and if so, how did you solve it?

    Safari has been known to cause cpu usage to spike. If nothing else, report the pages to Apple using "Report Bugs to Apple" under the Safari menu.
    One of the Safari issues in the OS X 10.4.4 update was:
    Addresses an issue in which some websites, such as www.cbsnews.com, could cause CPU usage to spike unnecessarily, or cause Safari to stop responding, unless Safari's Enable JavaScript preference was deselected.
    It is possible that they didn't get it completely fixed.
    I have also noticed that Safari slows down after being open for an extended period or if I have tons of tabs open, although it is not as bad as it once was. Additionally, regardless of anything else, it does appear that some sites slow down Safari's performance and/or spike the cpu usage until I close that tab. (I've had this happen to me with Firefox as well, by the way).

  • Oracle taking 100% CPU usage

    Hi,
    I have a situation. I am trying to execute a big query by involving 3 tables (joins). The query is taking about 20 minutes time to execute. While the query is executing the CPU usage for ORACLE is 100%. Please put somelight on this as of to why this is happening? Do I need to tweak my query a bit more. This is happening only recently as there are more number of records. ORACLE is installed on a Unix machine
    Thanks in advance.

    The First Rule Of Performance Troubleshooting: IDENTIFY THE PERFORMANCE PROBLEM.
    All you have done thus far is identifying a symptom. High CPU utilisation. This in itself is totally meaningless - nothing can be inferred from this symptom without additional troubleshooting.
    This means determining WHAT is happening when that query/process runs. What is it doing? (look at wait states and event state summaries of the process)
    WHY is it doing that? Look at the execution plan.
    With performance tuning, one needs to deal with facts. So you need to pop the hood and get your hands dirty so see what is actually happening under the hood.

Maybe you are looking for

  • How to make an a basic attack in my text based game

    hey guys! i really need some genuine help on how to create an attack for my monsters and player. the attack should be basic: if the room contains a monster, then the monster attacks when the player goes inside the room. then the player can type a com

  • What's a good real estate theme?

    I'm going to be looking for a new apartment this summer and want to use Keynote and iWork.com to share potential listings with my GF. What's a good theme for this? (one that ships with the program) Thanks in advance.

  • Should I move my Lightroom 3 to External Hard drive?

    Can I move my Adobe Lightroom 3 from my C drive to my external Hard Drive in order to free up much needed space?

  • GB e-filing - can't see business systems

    We are trying to implement GB e-filing using XI. Our 4.6C R/3 system is shortly to be upgraded to ECC 6.0 so we are moving from Business Connector to XI. The XI system is installed and appears to be running OK. It is the latest version with the lates

  • HELP: Artwork on Nano

    i've added artwork to all of the songs on my nano but only one of the pictures for a song shows up. yes the "Manually manage songs and playlists" and "Display artwork.." option was checked. any help? thanks.