RSS Reset

Bugs & Fixes: When OS X Lion Slows to a Crawl

Today’s column is another episode in my occasional series of “detective stories.” These show how I tracked down, identified and ultimately eradicated a mysterious bug for which there seemed no immediately obvious cause.

Today’s mystery actually began a few weeks ago, when I updated my Mac Pro from Snow Leopard to Lion (OS X 10.7.2). I had previously upgraded the other two Macs in our house without incident. So I was expecting similar smooth sailing. And, at first, my expectations were met. Lion installed successfully and everything was working perfectly.

It took a few hours before trouble arrived. My Mac began slowing down. I mean really slowing down. At first, it was just a slight lag. But, soon thereafter, everything slowed down to the point where if I clicked to drop down a menu, the menu would not appear for several minutes, if ever. Actions such as opening or closing an application were completely out of the question. I could still move the mouse pointer at a normal pace. It’s just that I couldn’t get it to do anything.

I did my usual first attempt at a fix: I restarted the Mac. I had to use the physical power button on the front of the machine, as no mouse click or keyboard command would work by this point. Happily, all returned to normal — but only for awhile. Within a few hours, the “slowdown extreme edition” once again reared its head.

Solving the Mystery

Donning my Sherlock Holmes cap and a pipe, I set out to uncover the villain.

I restarted the Mac once again. This time, before the Mac started reacting as if it were caught in a vat of congealing taffy, I launched Activity Monitor (an application in OS X’s Utilities folder). I monitored my activity. At first, nothing. Then, it happened. The WindowServer process started moving to the top of the “% CPU” column: 25 percent, 40 percent, 62 percent, 78 percent. When it got to about 75 percent, the slow down really kicked in. By the time it topped out at 99 percent (and stayed there), everything had ground to a halt.

What is WindowServer? In brief, it handles windows. It is the core process responsible for drawing the windows and boxes that make up the graphical user interface. As Apple notes: “The window server does more than just manage windows. Even an application with no user interface (like a background-only application) depends on the window server.”

In other words, it’s important. And it’s exactly the sort of process that, if it got bogged down, would produce the sort of symptom I was seeing.

I now had a prime suspect. But the key question remained unanswered: Why was WindowServer bogging down? It had never done so in Snow Leopard. And it wasn’t causing problems on my other Macs with Lion installed. So what made my Mac Pro running Lion special?

I assumed there was yet another piece of software involved. Most likely, it was something from my Login Items list, something not on my other Macs. These items launch automatically at startup, allowing them to cause trouble without the user having to take any “manual” action. But which item?

I searched online for possible guidance. I found several forum threads dealing with WindowServer slowdowns, describing symptoms similar to my own. But the threads either came to no conclusion or identified a cause that was not relevant to my particulars. Dead end.

Backtracking

Back to my Mac. I launched Console (another application in the Utilities folder) and scrolled back through the messages to the point just before a slowdown had required me to restart. I found many error messages referencing a variety of processes. Several referred to ScreenSaverEngine. This seemed promising. I was using My Living Desktop as my screensaver. This is a CPU-intensive screensaver that plays “high definition movie videos.” Maybe it was the other piece in the conflict puzzle.

My initial tests were not encouraging. The slowdown came back even if the screensaver never kicked in after a restart. The slowdown occurred even if I switched to a different screensaver. Finally, I removed the My Living Desktop component from my Login Items list, uninstalled the software, and restarted. Bingo! No more slowdowns!

I had one other “movie-like” screensaver on my Mac Pro: MacKiev’s 3D Weather Globe. When I enabled this screensaver, the WindowServer slowdown again roared back. In this case, simply switching to another screensaver was sufficient to end the symptom. But I uninstalled the software anyway.

I now use one of Apple’s built-in screensavers and have never been bothered by the slowdowns again.

There remains one unanswered question. It seems likely that not everyone running Lion has this problem with these screensavers. Otherwise, I would have expected this fact to show up in my search. So what is it about my particular setup that was triggering the screensaver-induced slowdowns? The My Living Desktop support site offers a clue.

Although the site doesn’t list specific symptoms, it acknowledges a possible OS X Lion conflict between My Living Desktop and System Preferences items that similarly interact with “QuickTime movie playing.” It cites Flip4Mac WMV (which I do have installed) as one potential culprit. My Living Desktop’s recommendation is to uninstall Flip4Mac. I never got around to testing this, so I can’t confirm if it works or not. But if you are experiencing any similar slowdowns, it’s worth a try.

Macworld

For more Macintosh computing news, visit Macworld. Story copyright © 2011 Mac Publishing LLC. All rights reserved.

Random Artcile

  • words descri Utah State Digital Archives

    038 0387 039 03936 03am 03chcv 03g 03ipm 03p 03pm 03ut00282 04 04-04-0418 04-10 04-11 ... 7/x 7/y&a& 7/ya 7/zz 70 70-28s 70-72 70-thousand 70-thousasnd 70/100 700 7000 7002 7003 [...]
  • Top50KWiki utf8 Apache Home

    os|84119 uncle|84011 clinton|83993 notify|83976 updated ... bugs|72064 properly|72008 107|71997 category:new|71950 ... lion|60668 gaming|60660 301|60656 dual|60650 desire|60648 [...]
  • irclogs ubuntu

    ... ubotu> SNeeR: kernel is the core of the Ubuntu Operating System ... contains ONLY updates that fix VERY serious bugs ... === Lion-O [i=fwuser@220-130-50-11.HINET-IP.hi. ... [...]
  • mill en nium t hisiswhowe a re

    X-Files 2500924. Truth 2505462. In -1. Laredo 2506584. Hidden 2506674. date 2507388. apocalypse 2512278. Mick 2513064. King 2513146. Reviews -1. kindly 2520524. submitted 2523454 [...]
  • Amazon’s Prime Lending Library Collection Now Viewable Online

    By Ian Paul, PCWorld    Nov 6, 2011 6:50 AM Amazon is tempting Kindle owners to sign up for its Prime service with free e-books, and if you are wondering if there are any good ones to read you can now peruse a list right from your PC. The Internet retailer’s complete collection of Prime [...]
  • New Apple iPad

    With a gorgeous ultra-high-resolution display and the widest selection of apps you can get, the new iPad is the best large-screen tablet around.
  • Quad-Core Phones: What to Expect in 2012

    One of the big mobile buzzwords of 2011 was “dual-core.” Dual-core processors became the standard for high-end smartphones, starting with the LG Optimus 2X in January. In 2012, however, it’s going to be all about quad-core.  But other than having double the cores of this year’s smartphones, what exactly is a “quad-core” processor and what [...]
  • Verizon Working to Fix Problem with 4G Network

    Verizon Wireless said Wednesday that its engineers are working to resolve an issue with its 4G (fourth-generation) LTE (Long Term Evolution) service, that is affecting some customers’ 4G devices. The company said in an e-mailed statement that in the past 24 hours, some 4G LTE customers have reported that their devices are operating on 3G [...]
  • Presented By:

    The likely cause for this is that your browser, feed reader, or email application is configured to not accept cookies, or your reader may launch an external browser to view links without sharing cookies. If you’re using Internet Explorer, make sure your privacy setting is at medium or below. Select ‘Internet Options’ from the ‘Tools’ [...]
  • Philips 32PFL3506/F7 32-inch 720p LCD HDTV, Black

    Philips 32PFL3506/F7 32-inch 720p LCD HDTV, Black – An ideal television for any room, the Philips 32-Inch 720p LCD HDTV offers crisp, vibrant visuals and rich surround sound. This HDTV uses multiple imaging technologies to render detailed images on its 1366-by-768-pixel widescreen display. It also boasts Incredible Surround sound technology, energy efficiency, and a versatile [...]

No comments yet.

Leave a Comment