A possible cause for the Lion freezes: Spotlight indexing

Does your Mac freeze mysteriously after upgrading to Lion?
Mine had that problem, but after troubleshooting, I seem to have identified the culprit (at least for my MacBook) and, after deleting the offending file, I have since experienced no problem.  Here, I will share a case report with the hope that it will help others troubleshoot their computers experiencing the same problem.
The Problem: Mac (running Lion 10.7 or 10.7.1) freezes sometime after logging on.  The freeze begins by an inability to get a response to clicks.  The cursor is still active, but after a click or two the cursor turns into a spinning disc.  After some time, the clock stops updating on the menu bar.
Mine froze consistently after about 15-20 min after logging on.  It happened regardless of which application I was using, it froze even if I didn't do anything after logging on.  It required a reboot (control-command-power button on a MacBook) everytime.
Was Spotlight indexing active right before the freeze happened?  When Spotlight indexing is active, the magnifying glass icon on the upper right corner of your display will show a blinking dot.  Mine was.
A Possible Culprit: Spotlight may have encountered a corrupt file on the hard disk during indexing.
What you can do:
Before you do anything, it is recommended that you have backed up all your files.  Unfortunately, it is difficult to back up now because the Mac may freeze during the back up process.
1. Check the errors related to Spotlight by opening Console, which is an utility app that you can find in the Applications>Utilities folder.  Do you see error messages for "mdworkers"?  It does not always show up before the freeze, but this may indicate some problems during Spotlight indexing.
2. Confirm the problem by turning off Spotlight indexing.  You can do this in a number of ways, but I will list two ways below:
a) Go to System Preferences and click on Spotlight icon.  Under the Privacy tab, click on "+" icon and add the "Users" folder (or any particular folder that you may suspect).  The indexing will not happen to files in that folder.  Also, turn off Time Machine and disconnect back up disks, if you use any.  Apparently Spotlight indexes within the Time Machine backups.  OR
b) For experienced users: Open Terminal and type "sudo mdutil -i off" without the quotes.  (To turn it back on, type "sudo mdutil -i on /" without the quotes)
3. Try using your computer with Spotlight turned off.  Does it still freeze?  If it does not, you have confirmed that the problem is with Spotlight indexing.
4. Find the offending file that causes problem by turning Spotlight indexing back on...
a) Remove the folder by highlighting and clicking on "-" button under the Privacy tab.  OR
b) For experienced users: Type "sudo mdutil -i on /" without the quotes.
5. ...and then repeating steps 2a, 3, and 4a.  Try isolating different folders until you can narrow down the problem.  This process may take a while.
6. Once you narrowed down to a few folders, try QuickLook through the contents of the folder while the Console is open.  To use QuickLook, highlight a file in the Finder and hit a space bar on your keyboard.  It is helpful to set the Finder in a column view so you can use arrow keys to navigate through the folders.  Does Console show you an error when you QuickLook a file?  Can you double click and open that file?  If not, the file may be corrupt.  Trash that file and empty trash.
7. Now turn Spotlight indexing back on (step 4) and use your computer for a while.  Does it still freeze?  If so, repeat the process and find other corrupt files.
For me, it was a single corrupt image file in the Documents folder that caused the freezing problem.  I deleted it and the problem went away.  Since that file had been untouched for years, and I did not experience the same freezing problem in Snow Leopard, I suspect that Spotlight in Lion is somehow less permissive of corrupt files assuming that the file did not corrupt after the upgrade.
Steps 4-7 is cumbersome and it takes a long time to troubleshoot.  If you know of a faster way to identify corrupt files, please share in this thread.  Also, I think Spotlight should alert the users when it encounters a corrupt file and give us a choice to delete it on the spot.  Please join me by sending a feedback to Apple about this.

My G5, PPC, came with Tiger installed and ran great. I decided to upgrade to Leopard (not snow leopard) and at first it seemed to work well.
Here is where you should backup, reinitialize, and make sure you use retail 10.4 rather than any OEM DVD?
After several days I noticed I have Permission errors that Disk Utility would not fix. (The only way to repair this was to insert the install disk and run Disk Utility from there: which means you have to reimport/install all the OS updates over again)
Some real confusion. Permissions can and should be done while booted from your hard drive; never run from older version of OS X.
Not all permission messages are errors.
Bootable backups (clones).
Invest in 3rd party repair programs.
Eventually the OS was crashing and freezing so I went to a local Apple repair store to ask why. Apparently Leopard is unstable on some G5 towers.
No, not really.
But you do have to insure your hardware, your software, is also current.
I decided to reinstall Tiger and still had problems. After about 5 attempts at reinstalling the OS I realized I was using a disk from a G4 tower that my kids use, so I found the disk that come with my G5 and the install worked perfectly.
So it appears that not all OS install disks are the same:
No secret there. NEVER use an OEM disc except your own; or, use retail full install versions is all. I guess you never came across that bit.
Sorry you had to take so much time, but sounds like came away with some misconceptions.

Similar Messages

  • Mac book pro hanging very often what will be the possible cause for it?

    hi my mac book pro is 3months old and nowadays its hanging very often like when iam surfing, and some times when i dont use it for 10 to 15min.
    can anybody suggest me what will be the possible cause for it.
    Thanks

    Start with this comprehensive troubleshooting article:
    https://discussions.apple.com/docs/DOC-3521
    Look at this one for possible solutions:
    https://discussions.apple.com/docs/DOC-3353
    Ciao.

  • What are possible causes for frequent loss of wireless mouse connectivity other than the batteries ?

    What are possible causes for frequent loss of wireless mouse connectivity other than the batteries ?

    Wi-Fi or another interference source. Try turning off the Wi-Fi and see if the problems continue. If that solves the problem, see if you can set your Wi-Fi to run in the 5 GHz range.
    Keyboard/Mouse – Troubleshooting Wireless
    WIFI AND BLUETOOTH FINALLY SOLVED, NO REALLY - YOSEMITE 10.10
    Bluetooth Wireless Problems
    Bluetooth devices become unresponsive

  • What is the cause for the mac to become slow

    what is the cause for the mac to become slow?

    Things You Can Do To Resolve Slow Downs
    If your computer seems to be running slower here are some things you can do:
    Start with a visit to: OS X Maintenance - MacAttorney.
    Boot into Safe Mode then repair your hard drive and permissions:
    Repair the Hard Drive and Permissions Pre-Lion/Mountain Lion
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Repair the Hard Drive - Lion/Mountain Lion
    Boot from your Lion Recovery HD. When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Restart your computer normally and see if this has helped any. Next do some maintenance:
    Suggestions for OS X Maintenance
    For situations Disk Utility cannot handle the best third-party utility is Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger.  These utilities have limited or no functionality with Snow Leopard or Lion and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems. For more about malware see Macintosh Virus Guide.
    I would also recommend downloading a utility such as TinkerTool System, OnyX 2.4.3, or Cocktail 5.1.1 that you can use for periodic maintenance such as removing old log files and archives, clearing caches, etc.
    For emergency repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. There is no confirmation that this version also works with Lion.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
      1. Carbon Copy Cloner
      2. Data Backup
      3. Deja Vu
      4. SuperDuper!
      5. SyncTwoFolders
      6. Synk Pro
      7. Synk Standard
      8. Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac maintenance Quick Assist.
    Referenced software can be found at CNet Downloads or MacUpdate.
    Additional Hints
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
    Add more RAM. If your computer has less than 2 GBs of RAM and you are using OS X Leopard or later, then you can do with more RAM. Snow Leopard and Lion work much better with 4 GBs of RAM than their system minimums. The more concurrent applications you tend to use the more RAM you should have.
    Always maintain at least 15 GBs or 10% of your hard drive's capacity as free space, whichever is greater. OS X is frequently accessing your hard drive, so providing adequate free space will keep things from slowing down.
    Check for applications that may be hogging the CPU:
    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time, then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Often this problem occurs because of a corrupted cache or preferences file or an attempt to write to a corrupted log file.

  • What are the possible values for the JOB status?

    What are the possible values for the JOB status in the table TBTCP and significance for each?

    Hi,
    Have a look at include LBTCHDEF.
    The standard include from SAP.
    -> Definitions and Constants for Function group BTCH
    Kind Regards
    Raymond

  • Generic service 'Analysis Services (TEST1)' could not be brought online (with error '1060') during an attempt to open the service. Possible causes include: the service is either not installed or the specified service name is invalid.

    Hi,
    We have a cluster with 2 nodes. Everything works fine in Node1. When I try to failover TEST1 database to Node-2 it fails with this message.
    Generic service 'Analysis Services (TEST1)' could not be brought online (with error '1060') during an attempt to open the service.  Possible causes include: the service is either not installed or the specified service name is invalid.
    Any help is much appreciated.
    Thanks

    Hello,
    The error message is pretty straight forward, it's saying either the service isn't installed or it's not installed as the same service on that node. Did you install analysis services on the second node (from the error it seems like it isn't)?
    Sean Gallardy | Blog |
    Twitter

  • ESS- Leave : You are not one of the possible agent for the task ws9021212?

    Hi ,
    I have copied the standard workflow template wa12300111 and assigned the new template in the customizing. When i apply leave from ESS working time , it says an error " You are not one of the possible agent for the task ws9021212? " .
    The similar kind of Error i have solved before in by making the workflow as GENERAL TASK in PFTC as follows.
    PFTC -> Choose "Workflow Template" from the drop down -> Enter the workflow template id "ws9021212" in the text box -> now click on "change" button -> Now goto the menu addional data -> agent assignment -> maintain -> select the task text -> and set it as general task.
    i have cleared the buffer also!
    BUT STILL I AM GETTING THE ERROR ?
    Please help me !
    Richard A

    hi Richard
    Try to do this way.  IN the workflow builder there is a button with hat. that is basic data. click on that and  it will go to another screen and u can find a apple button that is agent assignment for a task click that.
    It will open maintain agent assignment screen. click the text below that and click the attribute button and click the genral task. i think this will solve ur issue.
    If helpful kindly reward points
    Regards
    vijay

  • Download updates for the lion and I read the writing could not save any of the selected updates. Why?

    why after Download updates for the lion 10.7 and I read the writing could not save any of the selected updates and I can't upgrade the software ?

    The only thing that worked for me was to boot in safe mode.
    Power down.  Then press power button and hold 'shift' key until grey screen with progress bar appears... Once booted and logged in just open safari and browse to applestore. 
    No trouble at all once I did this.
    Reminder: create full backup before you upgrade OS
    Hope it helps.

  • Cause for the sudden shutdown of Essbase?

    Hello Experts,
    One of my customer would like to know the cause for the sudden shutdown of Essbase. They started receiving the below error when tried to connect through EAS or through Spread sheet Add-in
    network error [145]: unable to connect to essolap.east:1423
    Please find the application log as below:
    [Tue Apr  7 23:01:52 2009]Local/MRI_R_09///Info(1019018)
    Writing Parameters For Database [MRI_R_09]
    [Tue Apr  7 23:01:52 2009]Local/MRI_R_09///Info(1013207)
    RECEIVED SHUTDOWN COMMAND - SERVER TERMINATING
    [Tue Apr  7 23:02:36 2009]Local/MRI_R_09/MRI_R_09/admin/Info(1013273)
    Database MRI_R_09.MRI_R_09 altered
    [Tue Apr  7 23:02:36 2009]Local/MRI_R_09/MRI_R_09/admin/Error(1270095)
    Specified load buffer resource usage [1] is above currently available value [0]
    [Tue Apr  7 23:02:36 2009]Local/MRI_R_09/MRI_R_09/admin/Info(1019018)
    Writing Parameters For Database [MRI_R_09]
    [Tue Apr  7 23:02:39 2009]Local/MRI_R_09/MRI_R_09/admin/Error(1270040)
    Data load buffer [123] does not exist
    [Tue Apr  7 23:02:39 2009]Local/MRI_R_09/MRI_R_09/admin/Error(1003050)
    Data Load Transaction Aborted With Error [1270040]
    Any suggestions on this? Thanks in advance.
    Regards,
    Sonal

    Hello Amol,
    I reviewed the log files. I could find only these logs:
    [Tue Apr  7 23:01:52 2009]Local/MRI_R_09///Info(1019018)
    Writing Parameters For Database [MRI_R_09]
    [Tue Apr  7 23:01:52 2009]Local/MRI_R_09///Info(1013207)
    RECEIVED SHUTDOWN COMMAND - SERVER TERMINATING
    [Tue Apr  7 23:02:36 2009]Local/MRI_R_09/MRI_R_09/admin/Info(1013273)
    Database MRI_R_09.MRI_R_09 altered
    [Tue Apr  7 23:02:36 2009]Local/MRI_R_09/MRI_R_09/admin/Error(1270095)
    Specified load buffer resource usage [1] is above currently available value [0]
    [Tue Apr  7 23:02:36 2009]Local/MRI_R_09/MRI_R_09/admin/Info(1019018)
    Writing Parameters For Database [MRI_R_09]
    [Tue Apr  7 23:02:39 2009]Local/MRI_R_09/MRI_R_09/admin/Error(1270040)
    Data load buffer [123] does not exist
    [Tue Apr  7 23:02:39 2009]Local/MRI_R_09/MRI_R_09/admin/Error(1003050)
    Data Load Transaction Aborted With Error [1270040]
    After this, the server was hung. When server was restarted, it did not crash again.
    Thanks in advance.
    Regards,
    Sonal

  • I am aware that the iPod Touch 5g has no official date yet, on the site it only says: Available to ship: October. But, does anyone know what a possible, date for the iPod to be released? :)

    I am aware that the iPod Touch 5g has no official date yet, on the site it only says: Available to ship: October. But, does anyone know what a possible, date for the iPod to be released? :)

    Well, I recently checked apple.com, and the "pre-order" button has been replaced with the "buy now" button. This is a very good sign that the iPods will begin to ship soon! There is still no exact date, but I expect that they will ship within the next 3 days. You should get an email when they have shipped.
    Take care!
    -59Ballons

  • Is the new Firefox update the cause for my iBook freezing up?

    I have an iBook (the last model before they were discontinued) running OSX 10.4 and have noticed that it has been freezing up, forcing me to do a hard reset, ever since I downloaded the latest Firefox update.
    Sometimes it seems like the screen will go to sleep and won't wake up, also forcing a hard reset.
    I have done some preliminary googling but I don't think I am using the right terms to get meaningful answers.
    Is this a known issue? If so, can I uninstall the update? Or is it something else that I can fix? I have Applecare, but it might have expired by now.
    Haven't noticed the problem in Safari, although it's only been since last night that I switched browsers and I may just not have used it long enough for the issues to surface.

    Hi Liz!
    The Firefox update, and your issue, coming about in close proximity, may just be a coincidence.
    Exactly which model iBook G4 is it?
    What is the Processor speed?
    What size is the Hard Drive, and how much space is available?
    How much RAM is installed, and is it original or added?
    What peripherals do you have connected? A keyboard, mouse, printer, external drive or modem, router, etc?
    Have you made any additional changes, like upgrading the system, updated or installed any other applications or programs, etc?
    Have there been any unusual occurences, like freezes, crashes, power outages, etc?
    Insufficient available space, can cause performance issues, system corruption, and possible loss of data.
    Depending on Mac system usage habits, it is a general recommendation, to keep 10% to as much as 20%, of the Total capacity, available at all times.
    Review the suggestions, in the documents that I have linked to below.
    Authored by Dr Smoke:
    Problems From Insufficient RAM And Free Hard Disk Space
    Freeing Space On Your Mac OS X Startup Disk
    Have you ever run any routine Maintenance procedures, as suggested in the articles linked to below?
    Mac OS X 10.3/10.4: System Maintenance, authored by Gulliver
    Maintaining Mac OS X, authored by Dr Smoke
    Is the iBook shutdown overnight, or does it run 24/7?
    If you turn the Mac off nightly, the Background Maintenance Tasks, may not run on a timely basis.
    These can also be run, using a Third-Party utility, or manually using Terminal, to run the CRON Commands.
    I use MacJanitor, when necessary.
    INSTRUCTIONS TO RUN CRON MANUAL COMMANDS
    Quit all applications/programs.
    Navigate to HD > Applications > Utilities.
    Double click on Terminal, to open.
    At the prompt, type:
    sudo periodic daily
    Press Return.
    Enter your Admin password when prompted, then press Return.
    This will execute the daily script that is sheduled to run every night.
    When completed, repeat this procedure, but change the command to:
    sudo periodic weekly
    This one rebuilds a database or two, and usually takes somewhat longer to complete. It is scheduled to run once a week.
    Repeat again, with command:
    sudo periodic monthly
    Or they can all be run in one pass, which is preferable, with this command:
    sudo periodic daily weekly monthly
    When the tasks complete, and return to the prompt, you may quit Terminal.
    Restart the Mac, and run Repair Permissions.
    TO REPAIR PERMISSIONS ON THE STARTUP DISK
    1.Open Disk Utility, located in Applications/Utilities, and select the startup disk in the left column.
    2.Click First Aid.
    3.Click Verify Disk Permissions to test permissions or Repair Disk Permissions to test and repair permissions. (I never "Verify". Just run "Repair".)
    Rerun RP, until the only messages reported, are listed here Spurious Permissions Errors Using: 10.4.x, authored by Michael Conniff.
    When "Repair Permissions" is complete. Quit "Disk Utility".
    ali b

  • HP OfficeJet Pro 8600 - Anyone have a solution for the 8600 freezing up?

    I bought this All-In-One for xmass and the initial install went fine.  I've attached it to my wireless network for use by all the PC's/Laptops in my house.  After a couple of weeks, I noticed that the printer connection was lost, and when I tried to scroll through the printer menu, I discovered it was frozen or locked.  I could not even get it to turn off with the power button.  The only way to regain access was to unplug the printer.  Once it's back up, it seems to work for no more than 15-20 minutes, and then locks up again.  I thought it was a faulty machine so I returned it to store for a replacement.  The second printer acted the exact same way.  It worked fine for a couple of weeks and then began freezing up again.  I'm going to return this one and just get my money back if I can't get this resolved. 
    I did see another posting about this, but the resolution did not work (re-install software on PC and return printer to factory settings). 
    Has anyone found a solution to this issue?

    I'm on my second 8600 within 2 weeks - tonight I stumbled upon a *possible* glitch that may have caused both printers to freeze. I did not have my wireless connection set up but I did have the wireless enabled on the printer - the blue wireless indicator light on the console was flashing. This printer repeatedly froze, requiring the power cord to be disconnected/reconnected to reboot the printer.  At some point I disabled the wireless, using the console menu and the machine no longer froze. WHAT???  When I restarted the wireless and completed the setup, the blue indicator light went solid and...so far no freezes.  I can access the printer via wireless connection and a USB connection on a different computer.   IMO, this should not happen.  I'm thinking if my router goes down, it will cause a wireless connection failure and the printer will freeze - again.  I will test this theory when I feel up to it - but, the frustration of the past couple hours has me very disinterested in screwing with it now - it continues to work so I think I'll go fishing....
    AL

  • Possible reason for the iMac G5 with 10.4.3 Sleep Problems

    Ok first off let me say that I got this new iMac G5 20" about 4 days ago. It's wonderful. If anyone out there is holding out for the intel machines, don't wait, get a G5. It's a fantastic machine. Now on to the meat of the subject. The story goes like this; I hooked up my Plextor PVR with eyeTV to my iMac to see how well it would do (been using it with a P4 Windoze XP machine and my iBook G4 14" with no problems). It worked just great. No problems with the iMac, the PVR or any of my other addons (including the boatload of software I migrated over from the iBook). So I set up EyeTV to record some stuff while I was asleep. It's supposed to wake up the Mac, record the shows then the Mac goes back to sleep. Easy huh? Well the wakeup, record part went just fine but the Mac wouldn't go back to sleep. Perplexed (actually thrilled, this is where I have my most fun with new machines, figuring out why they aren't working correctly) I did all the standard "I can't get my Mac to sleep automatically" things. You know, blow away all the plist files that have anything to do with powermanagement and autowake, reset NVRAM from OF, reset the PRAM (3 times just like the old days), reset the SMU, blow away all the Bluetooth plist files, etc, etc. Did them all, don't suggest any, I did them all I swear, really. I've been through this kind of thing before. One big difference with this iMac. Nothing and I mean nothing would work to fix the problem. The only way the bad boy would sleep is by hitting the Power button for a second or selecting "Sleep" from the Apple menu. Hmmmm. Spent the better part of a morning reading every thread here about peoples problems like mine. One post and I mean exactly one had something I hadn't tried. I rebooted the Mac in Safe Mode (hold the shift key down while it boots until you get the login screen with the red text "Safe Mode".) I forgot that OSX even did that. Logged in as myself (normal login but still in safe mode) and low and behold the thing would sleep automatically! I repeated this (boot in normal mode, boot in safe mode) many times. Every single time the Mac would sleep from safe mode but not from normal mode. Tells me it's software not hardware. In each mode I run "Activity Monitor" and save a list of the running processes to a text file. Now compare them and shutdown each process that is different one at a time. To make this story somewhat shorter (heh) I finally found that I could consistantly make the machine sleep or not sleep by killing the "mdimport" process and restarting it. This has to do with Spotlight. To be exact, it's the process that imports Metadata into Spotlights data list (I'm no expert, have a basic understanding of this). So on a hunch I ran the terminal and entered the command to delete then rebuild Spotlights databases, "mdutil -E /". Then I let Spotlight rebuild that databases and rebooted. Guess what? The iMac sleeps perfectly now, go figure. I did this once so far and the Mac has been working correctly now for about 5 hours. I've got a feeling that the problem will come back. Especially if it's an inherent problem in Spotlight and the 10.4.3 upgrade. I don't seem to have this problem with 10.4 or earlier. Long post I know but I thought it could help someone out. Please post any comments. I'd like to know if what I did is coincidence (I really don't think so since I reproduced it many times) or not.
    -joe-
    iBook G4 1Gig, iMac G5 2.1 Gig, iMac 266   Mac OS X (10.4.3)   iMac 266 running 10.3.6, been using Macs since the '80s

    Right guy's i to have researched this problem
    concerning my auto sleep problem.I started off by
    following Joeaux's original post by safe
    booting,noting what was running in the activity
    monitor,booting normaly and again noting what was
    running now.I eliminated the same processes that were
    running from both boots, and then started quiting one
    by one, the extra processes, from the normal boot, in
    activity monitor.Once you quit a process, allow the
    computer to try to go to sleep i.e set energy saver
    to 1minute and wait to see what happens.I tried the "
    mdimport"as of Joeaux but this was not my problem.In
    my case the sleep problem was down to two
    applications called N67U_ButtonManager and
    N124U_ButtonManager.These are for use with my Canon
    scanner.I also noted that if i left the scanner
    connected to the computer this would also stop it
    going to sleep,even after deleting the two
    applications.Hope this helps!
    Thank you now i know that those login items are for my scanner, and not logic audio i am a little less angry(Logic is now an apple application but the version I run was from the emagic days and i presumed that the button managers were from this app as it was the oldest bit of software running on my machine) By the way any apps that may cause a problem like this are more than likely simply residing in your user login items and can be disabled from there permanently as far as i can see.

  • A possible solution for the folder exclamation or folder! problem

    This worked for Windows XP. Don't know if it will work for the Mac but it may.
    Three days ago my wife’s iPod, 4th gen 40gb, stopped working. I got the folder exclamation icon (or folder! as some have described it). I hooked it to my laptop and had no joy with it. The system (XP) would see it sometimes as a removable and sometimes as a hard drive. Disk Manager saw it a couple of times but it always took about an hour for it to show up. I messed with it about 5 hours the first night and then decided to take it to the Apple Store the next day. The guys at the Genius Bar had the same problem, this time on a Mac. Told me it was out of warranty and that the best I could do was find someone who could repair it. I’m a tech and I don’t want to mess with it but I’m not going to pay someone $200+ to replace what is essentially a laptop hard drive. So I kept plugging away and researching on the net. I’ve seen a lot of posts concerning the icon as well as a few concerning the partitioning of the drive. I’ve even seen where some people are advocating opening the iPod and shaking the drive which is never a good idea. Nothing really seemed to help so I kept working on it myself.
    I did find a solution and it takes a bit of time. It involves deleting the current partition and formatting it again. Since I’m using this on XP I had to format the partition as a Fat32. In order to do this I had to use the Knoppix operating system because Microsoft limited XP’s ability to format Fat32 partitions to 32GB. If you have an iPod that is less than 32gb you may be able to just format it using XP. I also couldn’t get XP to delete the partition so using Knoppix worked out very well since it has a program called QTParted on it that works like Partition Magic. Knoppix is free and does not have to be installed. It runs entirely off of your CDRom drive. If you have about an hour to try this I’d be interested in whether it works for anyone else.
    I believe the problem that most people are having comes from the fact that the Fat32 file system is not good for keeping a “clean” hard drive. It tends to leave bits and pieces around and if you update a lot it can affect the hard drive’s performance. I know that Restoring using the updater is supposed to fix this but it appears that the updater software does a quick format. That won’t always fix the problem. By following what I did you will blow away the existing partition and create a new one and format it to the Fat32. This effectively makes it a “clean” hard drive.
    Before I walk you through this I just wanted to say that I’ve purposely blown my wife’s iPod away 4 times to make sure that this works. Works like new now and did so after each time I blew it away. You should have seen her face when I did it.
    The things you will need and need to do are:
    CD Burner (you need to be able to create a disk from an ISO Image
    Blank CD
    Download a copy of Knoppix 4.0 from http://www.knoppix.com
    Download the current version of iPod updater http://www.apple.com/iPod/download/
    Make sure your system can boot from CD-Rom (Check your system docs)
    About an hour of your time
    1. Using your software of choice, burn the Knoppix image to your CD.
    2. Place your iPod in Disk Mode. You do that by resetting the iPod and , on 4th gen at least, once it resets immediately hold down the Select+Play/Pause buttons. You should see it say Disk Mode at the top of your screen. Not sure how to do that on other iPods but I figure if you’ve gotten this far you will be able to figure it out.
    2. Shut your system down and place the Knoppix cd in your cdrom. Make sure your system will boot from CD
    Note: If you are using a laptop you may not be able to use the mouse by default with Knoppix. You can try to enable it when you first start Knoppix. You do this by typing the following at the Boot: prompt.
    Knoppix pci=irqmask=0x0e98
    If that doesn’t work for you then you may need to hook another mouse to your laptop.
    3. Once Knoppix is up go to the K button (located like the start button on XP) and go to the system group. You will see a program called QTParted. Start that program.
    4. On the left of the QTParted screen you will see the hard drives on your system. One of them should be your iPod. It should say something like /dev/sda1. Click on that device. In the bottom on the left side for Drive Info I was given the information that it was an Apple iPod and the capacity. Don’t know if everyone will get that but it stands to reason that you should.
    5. You should now see the iPod’s partition information on the right side of the screen. I don’t know about anyone else’s but my wife’s had 37mb free and that turned out to be important. Make a note of any unallocated space you may have and keep it for the next step. Highlight the partition and then delete it. Once deleted you will need to go to the upper left corner of the screen. There is a button there to Commit changes that you have made. Click on this button and wait for the process to end.
    6. Now to create a new partition. In the right panel right click again on the drive. Select create partition. It will ask you what type of partition you want to create. Select Fat32 and where it gives you the option for the partition size, use the slide bar to leave the amount of space free that was unallocated in step 5. The reason for this is that when I first partitioned my wife’s I used all of the available space and the iPod didn’t like it. Once you have the size set hit OK (or whatever it is to continue). Go again to the upper right and hit the Commit button. Wait for the changes to happen and then shutdown your system, remove the Knoppix cd and then boot again as normal.
    7. Once your system has rebooted start the iPod updater. Once it asks you to plug in your iPod connect your iPod and you should be able to Restore it.
    As I said I did this 4 times to make sure it worked and each time both the updater and iTunes saw the iPod with no problems.
    At this point you should have your iPod back up and running. I apologize if I haven’t been very detailed here but I’m at work and typing this from memory. I wanted to get this out now while I’m thinking about it because I’m getting ready to go away for a couple of months and won’t have time to do this at home.
    Let me know if this works for anyone.
    Windows XP Pro
      Windows XP Pro  

    mythic: You do NOT have to use FAT32. You don't even have to delete and recreate the partition. All you have to do is format the hard drive of the iPod. That's it. Your procedure will work even if you format the new partition as NTFS.
    But don't take my word for it. Try it yourself.
    I've done this exact same thing a hundred times, and I never used Knoppix to do it. All you have to do is:
    1. Force the iPod into Disk Mode as described here: http://docs.info.apple.com/article.html?artnum=93651 (note that there's a different procedure for 3G and older iPod's!)
    2. Start the iPod Updater (on an XP box). Having the Updater open will prevent iTunes from auto-launching and trying to screw around with the iPod.
    3. Connect the iPod. It'll show up as a normal drive letter on the PC (if the PC crashes at this point, that's a Windows specific problem, not an iPod one).
    4. Use the Disk Management tool (located in Control Panel->Admin Tools->System Management) to format. Doing this as NTFS is perfectly fine. Do not do a quick format.
    5. After the format, go back to the updater and hit Restore.
    It works every time. I've posted this like a thousand times, but nobody ever seems to pay attention.
    Why does it work? It's simple, really. The Updater's Restore process is broken if there are bad sectors in certain locations. Formatting the iPod's partition like that causes it to do a scan for bad sectors. That's why the format takes so long (quick format skips this scan). The reason NTFS works fine is because one of the things the restore process actually does is to rewrite the iPod's partition table, and in the process it converts that NTFS space back into a FAT32 space. So really it makes no difference what that partition is, Restore will overwrite it anyway.
    For information's sake, what the Restore process actually does is to write a disk image onto the iPod's drive. This disk image itself is tricky, but the Restore procedure is not particularly complex. You can even extract that image and write it to the iPod yourself in Linux using dd. That works just as well.
    Anyway, when the drive won't write to a specific sector, then the Restore program freaks out. Formatting will remap the unwritable sectors and fix the problem. It's the bad sector remapping that's important here, not the partition layout or the filesystem type. Fix the drive problem and the Restore will work.

  • HT4480 I put my itunes dollars into itunes and am trying to use it to buy lion on my PC and I cant get it to work.  I guess I did it wrong, is there a way to get this money to use for the lion app?

    Hi, I put my itunes dollars into itunes thinking I could use it to buy the Lion App and when I went to down load it asked for the money then.  Is there a way to take the money from my itunes account?

    Hi..
    "put my itunes dollars" ...  did you redeem an iTunes gift card? I see you used the link about redeming a code.
    Three ways to purchase Lion
    One if from redeeming an iTunes gift card. Two, setting up a credit or debit card account with iTunes associated with your Apple ID, or purchase the thumb drive > OS X Lion USB Thumb Drive - Apple Store (U.S.)
    If you redeemed an iTunes gift card, make sure there is enough funds available. You need to take into account when you purchase apps including Lion, there may be applicable taxes or fees added the original purchase price.
    Info regarding taxes and fees:  iTUNES STORE - MAC APP STORE - TERMS AND CONDITIONS

Maybe you are looking for

  • Why does some artwork embed into the file, but not others?

    Hey everyone. I'm running iTunes 11.3.1. I'm incredibly obsessive about having organised files and one thing in particular I want is album artwork embedded into the music file itself, not just on iTunes. The problem I have is that the artwork will em

  • Item Level

    Hi All, Can someone explain me what is the best option for Item's GL Method? Between Item Level/Item Group? Currently I am using Item group. I noticed that to use the Item Level, I need to enter the warehouse code for all the product. Is that correct

  • Report run in background, attachment needs to be sent to user via email

    Hi all, we have a PDF solution which allows the system to send a PDF document as attachment via email to the recipient, all one needs to do is type in recipient email to a predefined PDF printer. What i need is a similar solution but instead of PDF i

  • Palm Desktop Date Book/Layout

    I have Palm Desktop 4.2.2.  In month view of date book, there are blanks between entries.  Sometimes entries are obscured/out of view but would be viewable if I could move them into empty space for that day.  Any way to move entries into blank lines/

  • Should I do a fresh install?

    Hey guys, I purchased my unibody macbook (Intel core 2 duo 2.4 GHz, 4GB ram, 256 SSD, NVIDIA GeForce 9400M 256MB, running 10.7.2) in April of 2009 and have been using it exclusively ever since. Recently, my computer has begun to slow down quite a bit