Version: 2008

Comments on: Why is Safari using 97 percent of my CPU?

I never thought that Firefox would use less system resources than Safari.

Add a Comment (Log in or register) (18 Comments)
  • prev
  • 1
  • next
by smkatz March 12, 2008 10:32 PM PDT
Plugins can cause this. (Flash, perl?) Also, according to macosxhints.com, the favicons folder (~/Library/Safari/icons) and the cache can sometimes cause cpu usage. Yes, it is a leak or hog issue.. and it is vastly improved in the developer builds, which are available at dave hyatt's blog.

--Sam
Reply to this comment
by FellowConspirator March 13, 2008 5:41 AM PDT
This isn't Safari so much as it is the Flash plugin. You'll find it sometimes happens with Firefox too. This is a farily well known bug in the Flash plugin. To a lesser extent it also affects Windows and Linux too (pretty rare under Windows, but it still happens now and then).
Reply to this comment
by d.c.rogers March 13, 2008 6:01 AM PDT
I agree about the formula bar in Excel 2008!
Reply to this comment
by mreiher March 13, 2008 6:25 AM PDT
Yeah... I have a ton of things running on my MBP including Safari and the CPU is only bouncing around 5-7% of usage.... I'd say you have other factors than Safari causing your CPU to go nuts. I'd select "Reset Safari" from your Safari menu and see what happens first. What's happening to you is not normal.
Reply to this comment
by Ronin_1 March 13, 2008 8:02 AM PDT
I would also suggest running a system utility such as OnyX, Yasu or Cocktail (available from MacUpdate.com or VersionTracker.com) which can clear all caches as well as running the daily, weekly, and monthly Unix functions that are not run unless the system is on (and not set to sleep) 24/7.

Safari, like virtually all browsers presently available should be restarted at least once a day or they tend to build up things.

Keep an eye out for an item in Activity Monitor named syslogd which has been reported to periodically consume very substantial CPU cycles in other Macs. Several people have been reporting going into Terminal to (temporarily) stop the process, but just force quitting it from within Activity Monitor seems to work as well. Note: syslogd is just a log file and will restart itself without further action.
Reply to this comment
by Constable Odo March 13, 2008 8:13 AM PDT
It must be a plug-in. Safari barely sips CPU cycles when I go to various sites. At one time Reuters used to suck about 50% CPU cycles, but I believe when I updated the plug-ins on my computer I was able to cure that problem. Either way, it has something to do with your particular machine and not Safari in general. On this page my MacBook Pro 2.33 with Safari is using about 3% CPU. On AOL it was using about 11%.
Reply to this comment
by Olu070 March 13, 2008 8:33 AM PDT
Do yourself a favor and get a menubar utility called Menumeters (free). It has graphic symbols in the menubar. It has ones for CPU, Network activity, Hardrive activity. It's a quick way to see when your CPU is getting out of control.
Reply to this comment
by Maarek Stele March 13, 2008 8:39 AM PDT
Safari has been known to take up alot of CPU processing on any Mac. I'm sticking with Firefox.
Reply to this comment
by SWK595 March 13, 2008 8:43 AM PDT
Running Mac OS X 10.4.11, on an iMac G5 with 1GB of Memory. The latest Webkit is running at five percent. Safari itself averages at eight to fifteen percent.
Reply to this comment
by lkrupp March 13, 2008 9:56 AM PDT
"Safari has been known to take up alot of CPU processing on any Mac. I'm sticking with Firefox."

Patently false, Firefox F.U.D.
Reply to this comment
by blues_coup March 13, 2008 11:03 AM PDT
" I couldn't figure it out until today when I noticed that Safari was using anywhere from 90-97 percent of my CPU. I also noticed a few times when the CPU was running over 100 percent."

This is because of a bug in the way the CPU usage numbers are calculated in the Activity Monitor. I've never really been able to figure out exactly how they are calculated but since the switch to multi-core CPUs it has been incorrect. The only reliable way to tell about how much of your CPU is being used is by the little bar graphs and how much black is showing across all of your cores. Granted this makes it impossible to tell what processes are taking up how much but you still have a ballpark approximation based upon the incorrect usage numbers.

With that said I have had Safari peg my CPU nearly all on it's own, but that is usually because of the various aforementioned poorly coded plug-ins.
Reply to this comment
by sriggins March 13, 2008 12:48 PM PDT
You might want to try running pith helmet to turn off animated ads (heh, maybe it is cnet ads!) but at least that will tell you if those are chewing your time.
Reply to this comment
by Kevplugz March 13, 2008 1:21 PM PDT
I've had the same problem with flash burning up my CPU.
It's a major issue and I can see why flash is banned from the iPhone.
Reply to this comment
by M C March 13, 2008 2:33 PM PDT
Blog now, troubleshoot later.

Sounds like CNet.
Reply to this comment
by nouser March 13, 2008 3:28 PM PDT
Safari runs between 3 and 8% on my Macbook. Something else is causing your issues.
Reply to this comment
by archseed March 13, 2008 11:27 PM PDT
This claim is patently absurd! Thanks, Barack Obama.

No, seriously, I am not using the latest Webkit and I hardly use 5% of my CPU. The author should blame Microsoft's humungous programs for his woes instead of spreading FUD about Safari.
Reply to this comment
by Walt French March 13, 2008 11:56 PM PDT
Easy to keep Activity Monitor's little bar(s) on-screen to see when something jumps.

Less easy to understand why sites like FT.Com -- otherwise, a fine business/news source -- make their sites unacceptably bad by whatever Flash / script / etc.

Not to try to understand this too much: FT (and whatever sites are sandbagging your machine) already know that their ad machines or whatever are quick & dirty CPU cycle-burners, the equivalent of Chevy Suburbans' rotten gas mileage without any comfort or power features that justify it. Or, if they don't know, it's because they don't want to know.

Don't worry: Safari is a fine browser; it just can't work miracles when a site asks it to do meaningless crap every millisecond.
Reply to this comment
by j0hnny0 April 5, 2008 5:49 PM PDT
I'd like a way to see CPU utilization on each Safari page or tab that's open. That way I could zap the offending Flash applet.

Too bad Pith Helmet only does Safari 3.0.4.
Reply to this comment
(18 Comments)
  • prev
  • 1
  • next
advertisement

15 sites that went kaput in 2009

Web sites launch all the time, but they also shut their doors. We highlight 15 that bit the dust this year.

Top 10 news stories of the decade

Let the debate begin: Was the iPhone more important than iTunes? Was anything bigger than Google finding a great business model? CNET offers its list of the 10 most important stories of the '00s.

About Software, Interrupted

In "Software, Interrupted," Dave Rosenberg discusses disruption in the software market, as well as the products and services that keep business technology norms in perpetual flux.

With nearly 15 years of technology and marketing experience spanning from Bell Labs to multiple start-up IPOs, Dave co-founded open-source software company MuleSource and now serves as general manager of Hardy Way. He also happens to be a U.S. patent holder and a workaholic. Technology is his best friend and mortal enemy.

Add this feed to your online news reader

Software, Interrupted topics

advertisement
advertisement