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.

Mail - CPU 100%

When I startup my Mail, the CPU goes everytime to 100% and the ventilator to maximum speed.
Why could this be? I'm rather new to the Mac environment.

MacBook, Mac OS X (10.5.5)

Posted on Oct 5, 2008 7:06 AM

Reply
42 replies

Oct 30, 2008 2:08 PM in response to 2o9

This just started happening to my macbook pro as well. I just noticed it this week that whenever I receive emails with any type of media file in them, mail jumps to 100% CPU as soon as that email is opened. This must be related to quicklook working on the attachments. I believe it started happening after the most recent update of Airport extreme on 10/29/08. I don't recall having this problem before I installed that update. Thumbs down for Apple quality control on this one.

Nov 1, 2008 11:40 AM in response to kocr_mac

I noticed yesterday that a in the Activity Manager a program called "syslogd" was eating up my processor power and battery (yes, almost complete drained within the hour), when the computer was just sitting on the desk in my hotelroom.

The MacBook Pro was only started from being standby, and no Mail or any program whatsoever was running, so only the Finder and it even did not go into standby because it was being uattended for quite a while... what in Earth is going on!!.... I am desparate now and can only think of doing a complete blank install when I am home from being on tour (roadying).

I have a deja-vue, you cannot imagine how much time I already wasted on installing Windows XP on my previous PC based laptops and now I am back to square one with an Apple. How disappointing and what an embarrassment!!!

Nov 7, 2008 8:04 AM in response to kocr_mac

Same here, it is set to 5 minutes. I am taking mine to Geniuses today, will let you know what transpires. Really dreading reinstalling everything as I just did, a few months ago, and besides, I switched not to have to reinstall anything, ever, silly me. Nope, its not a solution for me. Already tried replacing RAM to no effect (I had 2 gigs laying around from my MBP), and just dont know what else to do. There was a thoughtful suggestion to just let it sit while the mail is "being indexed", but i think my MB was running Mail "day in day out" -- till i started noticing it became so power hungry and noisy, and my 10K of messages were there from the beginning. I am giving the "indexing" idea a shot right now still, but doubt anything will come out of it. This is really weird.
In comparison, my MBP is running Mail totally cool at low CPU use, but, i don't think i downloaded all of the Gmail messages onto it, it just set it up with POP and I rarely use it for mail anyway. I do suspect that the heavy use of CPU on my MB comes from the fact that all of my messages are on my MB, but afterall, wasnt Mail designed to manage just that? Nowhere does it say, oh, you can only use it with 500 messages tops with no PDF attachments, or am i being naive/expecting too much from my Mac?

Nov 7, 2008 8:09 AM in response to kocr_mac

Reinstall the box like in the good old Windows times.


You don't need to do that; not only will it wipe out everything you have, it probably isn't necessary. Instead, you can just do an Archive & Install, with the Preserve Users and Network Settings option. This will install a fresh copy of Mac OS X and put the old one in a folder named Previous System, which you can then delete. No files, programs or settings are erased.

You would need to manually download the 10.5.5 Combo Update from the Apple web site and install it, then use Software Update to bring the rest of your system current. Then you should test Mail again to see if the problem is still there.

Mulder

Nov 7, 2008 10:17 AM in response to kocr_mac

Anyone who's having problems with Mail using 100% of the cpu, open Activity Monitor (in the /Applications/Utilities/ folder) if it's not already running. Select Mail in the list and click the "Sample Process" button in the Activity Monitor window's toolbar. (If that button isn't available, choose View > Customize Toolbar, and add it to the toolbar).

Copy and paste the output of the sample to a post here so we can look at it.

Nov 7, 2008 11:18 AM in response to MarkDouma®

Sampling process 379 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling Mail (pid 379) every 1 millisecond
Call graph:
967 Thread_2503
967 0xfa9a2
967 NSApplicationMain
967 -[NSApplication run]
967 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
967 _DPSNextEvent
967 BlockUntilNextEventMatchingListInMode
967 ReceiveNextEventCommon
967 RunCurrentEventLoopInMode
967 CFRunLoopRunInMode
967 CFRunLoopRunSpecific
965 mach_msg
965 mach msgtrap
965 mach msgtrap
1 __CFRunLoopModeFindSourceForMachPort
1 CFSetApplyFunction
1 __CFRunLoopFindSource
1 __CFRunLoopFindSource
1 __NSFireTimer
1 -[ActivityAggregator updateUnitBasedValues]
1 -[ActivityAggregate updateUnitBasedValues]
1 -[ActivityAggregate updateAggregateValues]
1 _NSSetUnsignedIntValueAndNotify
1 -[NSObject(NSKeyValueObserverNotification) willChangeValueForKey:]
1 NSKVOPendingNotificationCreate
1 -[NSObject retain]
1 __CFDoExternRefOperation
1 spin_unlock
1 spin_unlock
967 Thread_2603
967 thread_start
967 pthreadstart
967 _NSThread__main_
967 -[NSThread main]
967 -[RSSInterchange _runManager]
967 -[NSRunLoop(NSRunLoop) run]
967 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
967 CFRunLoopRunInMode
967 CFRunLoopRunSpecific
967 mach_msg
967 mach msgtrap
967 mach msgtrap
967 Thread_2703
967 start_wqthread
967 _workqops
967 _workqops
967 Thread_2903
967 thread_start
967 pthreadstart
967 fe fragmentthread
967 pthread condwait$UNIX2003
967 _semwaitsignal
967 _semwaitsignal
967 Thread_2a03
967 thread_start
967 pthreadstart
967 _NSThread__main_
967 -[NSThread main]
967 -[NSUIHeartBeat _heartBeatThread:]
967 -[NSConditionLock lockWhenCondition:]
967 -[NSConditionLock lockWhenCondition:beforeDate:]
967 -[NSCondition waitUntilDate:]
967 pthread cond_timedwait_relativenp
967 pthread_condwait
967 semaphore timedwait_signaltrap
967 semaphore timedwait_signaltrap
967 Thread_2b03
967 thread_start
967 pthreadstart
967 CFURLCacheWorkerThread(void*)
967 CFRunLoopRunInMode
967 CFRunLoopRunSpecific
967 mach_msg
967 mach msgtrap
967 mach msgtrap
967 Thread_2c03
967 thread_start
967 pthreadstart
967 _NSThread__main_
967 -[NSThread main]
967 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]
967 CFRunLoopRunInMode
967 CFRunLoopRunSpecific
967 mach_msg
967 mach msgtrap
967 mach msgtrap
967 Thread_2d03
967 thread_start
967 pthreadstart
967 _NSThread__main_
967 -[NSThread main]
967 +[_NSSocket _runIOThread]
967 -[NSRunLoop(NSRunLoop) run]
967 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
967 CFRunLoopRunInMode
967 CFRunLoopRunSpecific
967 mach_msg
967 mach msgtrap
967 mach msgtrap
967 Thread_2e03
967 thread_start
967 pthreadstart
967 select$DARWIN_EXTSN
967 select$DARWIN_EXTSN
967 Thread_2f03
967 thread_start
967 pthreadstart
967 CMMConvTask(void*)
967 pthreadSemaphoreWait(t_pthreadSemaphore*)
967 pthread condwait$UNIX2003
967 _semwaitsignal
967 _semwaitsignal
967 Thread_3003
967 thread_start
967 pthreadstart
967 CAPThread::Entry(CAPThread*)
967 HALRunLoop::OwnThread(void*)
967 CFRunLoopRunInMode
967 CFRunLoopRunSpecific
967 mach_msg
967 mach msgtrap
967 mach msgtrap
967 Thread_3103
967 thread_start
967 pthreadstart
967 kevent
967 kevent
967 Thread_3203
967 thread_start
967 pthreadstart
967 glvmDoWork
967 pthread condwait$UNIX2003
967 _semwaitsignal
967 _semwaitsignal
967 Thread_3303
967 thread_start
967 pthreadstart
967 PrivateMPEntryPoint
967 TSystemNotificationTask::SystemNotificationTaskProc(void*)
967 CFRunLoopRun
967 CFRunLoopRunSpecific
966 mach_msg
966 mach msgtrap
966 mach msgtrap
1 TNodeEvent::HandleInternalEvent(OpaqueEventQueue*)
1 NodeEventGetNextEvent
1 pthread mutexlock
1 semaphore wait_signaltrap
1 semaphore wait_signaltrap
967 Thread_3403
967 thread_start
967 pthreadstart
967 PrivateMPEntryPoint
967 TFSEventsNotificationTask::FSEventsNotificationTaskProc(void*)
967 CFRunLoopRun
967 CFRunLoopRunSpecific
964 mach_msg
964 mach msgtrap
964 mach msgtrap
3 __CFMachPortPerform
3 FSEventsClientProcessMessageCallback
3 FSEventsD2F_server
3 Xcallbackrpc
2 implementation callbackrpc
2 TFSEventsNotificationTask::HandleFileChanged(__FSEventStream const*, void*, unsigned long, void*, unsigned long const*, unsigned long long const*)
2 TNode::HandleChange(char*)
1 TNode::FindChildButDontSynchronize(HFSUniStr255 const&) const
1 pthread mutexlock
1 semaphore wait_signaltrap
1 semaphore wait_signaltrap
1 TNode::HandleRecursiveListeners()
1 TFolderSizeTask::RequestSizeTask(TCountedPtr<TNodeTask> const&)
1 MPNotifyQueue
1 pthread condsignal
1 pthread cond_signal_threadnp
1 semaphore signal_threadtrap
1 semaphore signal_threadtrap
1 mig_deallocate
1 vm_deallocate
1 mach_msg
1 mach msgtrap
1 mach msgtrap
967 Thread_3503
967 thread_start
967 pthreadstart
967 PrivateMPEntryPoint
967 TNodeSyncTask::SyncTaskProc(void*)
967 MPWaitOnQueue
967 TSWaitOnConditionTimedRelative
967 TSWaitOnCondition
967 pthread condwait$UNIX2003
967 _semwaitsignal
967 _semwaitsignal
967 Thread_3603
967 thread_start
967 pthreadstart
967 kevent
967 kevent
967 Thread_3703
967 thread_start
967 pthreadstart
967 PrivateMPEntryPoint
967 TFolderSizeTask::FolderSizeTaskProc(void*)
967 MPWaitOnQueue
967 TSWaitOnConditionTimedRelative
967 pthread cond_timedwait_relativenp
967 pthread_condwait
966 semaphore timedwait_signaltrap
966 semaphore timedwait_signaltrap
1 pthread_condwait
840 Thread_3803
840 thread_start
840 pthreadstart
840 PrivateMPEntryPoint
840 TFolderSizeTask::FolderSizeTaskProc(void*)
839 MPWaitOnQueue
839 TSWaitOnConditionTimedRelative
839 pthread cond_timedwait_relativenp
839 pthread_condwait
839 semaphore timedwait_signaltrap
839 semaphore timedwait_signaltrap
1 TFolderSizeTask::HandleSizeRequest(TCountedPtr<TNodeTask> const&)
1 TNode::RecalculateFreeSpace()
1 TNode::SendNotification(unsigned long, TNodePtr const&, unsigned long, long)
1 TNodeEvent::Notify(TNotifierList const&)
1 TNodeEvent::RedispatchEventToNotifier(unsigned long, OpaqueEventQueue*, TCountedPtr<TNotifier> const&) const
1 TNotifier::Tickle(bool)
1 pthread mutexlock
1 semaphore wait_signaltrap
1 semaphore wait_signaltrap

Total number in stack (recursive counted multiple, when >=5):
17 pthreadstart
17 thread_start
9 mach_msg
9 mach msgtrap
8 CFRunLoopRunSpecific
6 CFRunLoopRunInMode
5 PrivateMPEntryPoint

Sort by top of stack, same collapsed (when >= 5):
mach msgtrap 7731
_semwaitsignal 3868
semaphore timedwait_signaltrap 2772
kevent 1934
_workqops 967
select$DARWIN_EXTSN 967
Sample analysis of process 379 written to file /dev/stdout

Nov 8, 2008 11:48 AM in response to kocr_mac

Well, guess what, taking my MB to Geniuses did not reveal a thing. They confirmed that the Mail is unusually CPU-hungry, suggested taking mailboxes off, to see which of the two might be the source.
Well, I tried archiving and rebuilding to no effect. Further, I made a backup with Time Machine on an external drive, and loaded it all as a profile on a different Mac, my 2.2 MBP with 4 gigs of Ram. Well, MBP had no problem reading this Mail file and all the 10K+ messages and it basically behaves totally cool, just like it should. The question is: what is wrong with MB?

Nov 8, 2008 1:04 PM in response to CaptPicard

I will try posting it in parts but its loong! Having thought about this and the fact that the same Mail and the whole universe is running totally fine on my MBP loaded from backup on TM as a profile, I am beginning to suspect that a processor is shot in my MB... I tried different Ram, did not fix it. IS there a test for processors for these puppies?

Nov 9, 2008 2:02 AM in response to deniskqc

Regarding the number of people that suffer from this problem, I think a hardware related cause is very unlikely. The difference in percentage problems against chances of hardware failure is just too big...

But to be sure, perhaps an expert can shine his/her light over the question wheather the build in OS/Apple diagnostics include a full CPU checkup (please no suggestions any more, wasting people's time is bad karma! ;-))

Mail - CPU 100%

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