Time machine running slow and slowing network access

I have had and continue to have issues with wifi on my MBP.  Those are pretty well summarized in https://discussions.apple.com/thread/5535320?start=30&tstart=0.  I've been able to make mt system usable with some of the less dodgy workarounds in that thread ( like keeping a ping on my router running )
That thread really doesn't mention the issues I've been having with time machine though, so I thought I'd bring this up here.  Whenever time machine starts up, Safari and mail become unresponsive.  It's worst when TM is "preparing" of "cleaningup", though barely usable during the actual backup.  Mostly, I can work around that too, but occationally, TM will find GB of data to be backed up and lock up my mac for a day.  Here's a recent example:
2/16/14 12:30:27.952 PM com.apple.backupd[11557]: Starting automatic backup
2/16/14 12:30:28.466 PM com.apple.backupd[11557]: Attempting to mount network destination URL: afp://;AUTH=No%20User%20Authent@MyBookLive._afpovertcp._tcp.local/TimeMachine
2/16/14 12:30:33.866 PM com.apple.backupd[11557]: Mounted network destination at mount point: /Volumes/TimeMachine using URL: afp://;AUTH=No%20User%20Authent@MyBookLive._afpovertcp._tcp.local/TimeMachine
2/16/14 12:31:44.678 PM com.apple.backupd[11557]: Disk image /Volumes/TimeMachine/sparky.sparsebundle mounted at: /Volumes/Time Machine Backups
2/16/14 12:31:46.613 PM com.apple.backupd[11557]: Backing up to /dev/disk2s2: /Volumes/Time Machine Backups/Backups.backupdb
2/16/14 12:34:07.904 PM com.apple.backupd[11557]: Will copy (1.66 GB) from Macintosh HD
2/16/14 12:34:08.004 PM com.apple.backupd[11557]: Found 83487 files (1.66 GB) needing backup
2/16/14 12:34:08.738 PM com.apple.backupd[11557]: 4.16 GB required (including padding), 445.21 GB available
2/16/14 1:32:33.579 PM com.apple.backupd[11557]: Copied 534.6 MB of 1.66 GB, 28317 of 83487 items
2/16/14 2:40:02.513 PM com.apple.backupd[11557]: Copied 564.1 MB of 1.66 GB, 30225 of 83487 items
2/16/14 3:46:20.853 PM com.apple.backupd[11557]: Copied 593.2 MB of 1.66 GB, 31631 of 83487 items
2/16/14 4:48:19.461 PM com.apple.backupd[11557]: Copied 621.8 MB of 1.66 GB, 33182 of 83487 items
2/16/14 5:00:31.968 PM com.apple.backupd[11557]: Bulk setting Spotlight attributes failed.
2/16/14 5:54:51.036 PM com.apple.backupd[11557]: Copied 658 MB of 1.66 GB, 34773 of 83487 items
2/16/14 6:17:20.839 PM com.apple.backupd[11557]: Bulk setting Spotlight attributes failed.
2/16/14 6:56:27.566 PM com.apple.backupd[11557]: Copied 688.2 MB of 1.66 GB, 36246 of 83487 items
2/16/14 7:57:07.076 PM com.apple.backupd[11557]: Copied 704.8 MB of 1.66 GB, 37267 of 83487 items
2/16/14 8:58:52.469 PM com.apple.backupd[11557]: Copied 730.7 MB of 1.66 GB, 38724 of 83487 items
2/16/14 10:09:42.807 PM com.apple.backupd[11557]: Copied 760.5 MB of 1.66 GB, 40291 of 83487 items
2/16/14 11:21:25.825 PM com.apple.backupd[11557]: Copied 803.8 MB of 1.66 GB, 42462 of 83487 items
2/17/14 12:30:58.322 AM com.apple.backupd[11557]: Copied 834.1 MB of 1.66 GB, 43513 of 83487 items
2/17/14 1:45:28.495 AM com.apple.backupd[11557]: Copied 846.1 MB of 1.66 GB, 44160 of 83487 items
2/17/14 2:45:36.010 AM com.apple.backupd[11557]: Copied 868.6 MB of 1.66 GB, 45485 of 83487 items
2/17/14 3:57:29.939 AM com.apple.backupd[11557]: Copied 890.6 MB of 1.66 GB, 46729 of 83487 items
2/17/14 5:07:30.971 AM com.apple.backupd[11557]: Copied 926.7 MB of 1.66 GB, 48695 of 83487 items
2/17/14 6:15:49.283 AM com.apple.backupd[11557]: Copied 963.7 MB of 1.66 GB, 50583 of 83487 items
This is on an AC router.  My peak throughput shows 19 Mb/s on menu meters, so, not great, but not this slow.  Mostly, the network activity is nothing with short bursts of higher throughput.
I'm hoping this will be addressed in 10.9.2.  In the mean time, are there any workarounds to get past this issue short of turning off TM?
Thanks,
Horst

These instructions were taken from Mac OS X Hints at:
http://hints.macworld.com/article.php?story=20050302225659382
The Unix program dd is a disk copying util that you can use at the command line in order to make a disk image. It makes a bit-by-bit copy of the drive it's copying, caring nothing about filesystem type, files, or anything else. It's a great way to workaround the need for Norton Ghost.
Normally, in order to make a disk image, the disk you're copying from has to be able to spin up and talk -- in other words, it's OK to make a copy if the disk is healthy. But what happens when your disk is becoming a doorstop? As long as it continues to spin, even with physical damage on the drive, dd and Mac OS X will get you out of the fire.
We had a situation recently where a friend sent a disk to us that had hard physical errors on it. It would boot in Windows, but then it would hit one of these scratch marks and just die. We fired up dd, and it started OK, but stopped at the same physical error location -- complaining about a Hard Error.
So the workaround was to designate the dd mode as noerror -- which just slides over the hard stops, and to add the mode sync, which fills the image with nulls at that point. We did it on BSD Unix, but as long as you can get the hard drive attached to your Mac, the command is the same:
dd bs=512 if=/dev/rXX# of=/some_dir/foo.dmg conv=noerror,sync
The bs=512 designates block size, and the if=/dev/rXX# is the UNIX path to the actual disk device. Make sure that the chosen directory (some_dir) has enough room to take the entire disk image -- which will be equal to the size of the drive. Since dd doesn't care about the contents of the drive, it copies every bit on the thing, so you get an image equal to the disk's capacity. A really big file. One workaround is to put it on a RAID array.
Once you've established the disk image (in this example, foo.dmg), you're almost home. Here's where your Mac OS X box is far and away the best thing to have. In this example, the dd output file is foo.dmg. You have to realize that this is an exact copy of a busted drive, but the "holes" are filled with nulls. As long as the damage isn't to the boot sector, though, when you double-click on it, Mac OS X mounts it without breathing hard ... who cares if it's FAT32, NTFS, whatever.
Due to the size of the image that we were copying, we put it on a RAID array, and had to access the image over the network -- it still mounted fine. In straight UNIX, if you try to mount a disk image, it complains that there is "no block device" and fails. Once your image is mounted, it appears in your Finder, and then it's easy work to retrieve the critical files from the image -- usually things like .doc files and .xls files and the lot.
Finally, since your disk is actually dying, once you have your image, you can drop it to tape or something and you've not only recovered your files, you've made a viable backup as well. Once again, that which destroys a Windows box becomes a play thing to a Mac OS X box.

Similar Messages

  • Time machine issues - ejecting time machine server volumes and slow backups

    i've got 2 client machines set up to back up using the OS X 10.5 Server - problem is one is a laptop and therefore needs to be disconnected from the office network frequently. Time Machine doesn't seem to want to let go of the Server drive at all - just won't unmount. Any ideas on this?
    In addition, if a backup is running and then interrupted, the next backup runs at absurdly slow speeds. Is there any way to remedy this?
    Also, are there any good resources on Time Machine out there? the Apple docs are pretty paltry, and although I understand that its operation is supposed to be dead simple, it would be good to understand how it thinks a bit so as to be able to troubleshoot problems like the ones described above.
    thanks in advance
    david

    Sparsebundle in use is well known..
    Look at C12 and C17 here.
    http://pondini.org/TM/Troubleshooting.html
    Lion and TC is a network nightmare.
    Reboot the TC on a daily basis might help.

  • Why is my Time Machine running so slow?

    I am curious why my Time Machine backup is running so slow. I am trying to backup 52.85 GB. I am currently at 17.65 GB and it has taken about 6 hours. The Time Machine "meter" that shows how long it is going to take to finish the backup is telling me it estimates about 14 hours. Thirty minutes it was telling me it was going to take about 12 hours. Now 14? What's the deal? It seems to me the backup is taking way too long. What is puzzling was that the first 15 GBs or so were prett fast. You could actually see the download happening. Now it seems like the meter is stuck and not moving. Inerimittently, the meter will change the number of files yet to be backed up. Can anyone shed some light as to what might be happening.
    Thanks!
    Edward

    I've followed many of the suggestions on this thread (except upgrading to Mountain Lion). My Time Machine and computer has been going for eight days straight backing up 580 gigs and last night there were 30 gigs to go! Something happened and in the middle of the night the computer crashed. I restarted the computer and external harddrive that I use for my Time Machine this morning and continued the backing up of 35.24 gigs. Except now the status window tells me it will take 9,624 days to back up!
    I ran the diagnostic command prompt:
    sudo tmdiagnose
    And here are some of the results (I did not include the lines that identify my computer name and self-identifying info; also a zip file was generated by I did not include it because it is almost 3 megs):
    2013-11-09 09:27:43.038 tmdiagnose[864:2303] Executing '/usr/bin/fs_usage -w'...
    2013-11-09 09:27:53.069 tmdiagnose[864:2303] Executing '/usr/bin/top -l 10'...
    2013-11-09 09:28:04.859 tmdiagnose[864:2303] Sampling 'backupd'...
    2013-11-09 09:28:11.385 tmdiagnose[864:2303] Sampling 'mtmd'...
    2013-11-09 09:28:11.451 tmdiagnose[864:2303] Sampling 'mtmfs'...
    2013-11-09 09:28:11.517 tmdiagnose[864:2303] Sampling 'Finder'...
    2013-11-09 09:28:20.769 tmdiagnose[864:2303] Executing '/bin/ls -la /Volumes/'...
    2013-11-09 09:28:20.898 tmdiagnose[864:2303] Executing '/bin/df -H'...
    2013-11-09 09:28:20.964 tmdiagnose[864:2303] Executing '/sbin/mount'...
    2013-11-09 09:28:21.030 tmdiagnose[864:2303] Executing '/usr/sbin/diskutil list'...
    2013-11-09 09:28:21.288 tmdiagnose[864:2303] Executing '/usr/sbin/diskutil cs list'...
    2013-11-09 09:28:21.354 tmdiagnose[864:2303] Executing '/bin/bash -c /usr/sbin/diskutil list | /usr/bin/awk '/disk/ {system("/usr/sbin/diskutil info "$NF); print "*********************"}''...
    2013-11-09 09:28:29.019 tmdiagnose[864:2303] Executing '/usr/bin/hdiutil info'...
    2013-11-09 09:28:29.284 tmdiagnose[864:2303] Executing '/usr/sbin/netstat -aW -p tcp'...
    2013-11-09 09:28:47.321 tmdiagnose[864:2303] Executing '/bin/bash -c /bin/ps auxc | /usr/bin/awk '/mtmd/ {system("lsof -p "$2); print("\n\n")}''...
    2013-11-09 09:28:47.478 tmdiagnose[864:2303] Executing '/bin/bash -c /bin/ps auxc | /usr/bin/awk '/mtmfs/ {system("lsof -p "$2); print("\n\n")}''...
    2013-11-09 09:28:47.570 tmdiagnose[864:2303] Executing '/usr/sbin/ioreg -ls -w 0'...
    2013-11-09 09:28:56.096 tmdiagnose[864:2303] Gathering system diagnostic logs for 'backupd'...
    2013-11-09 09:28:56.103 tmdiagnose[864:2303] Gathering system diagnostic logs for 'mtmd'...
    2013-11-09 09:28:56.104 tmdiagnose[864:2303] Gathering system diagnostic logs for 'mtmfs'...
    2013-11-09 09:28:56.105 tmdiagnose[864:2303] Gathering system diagnostic logs for 'mds'...
    2013-11-09 09:28:56.111 tmdiagnose[864:2303] Gathering system diagnostic logs for 'Locum'...
    2013-11-09 09:28:56.112 tmdiagnose[864:2303] Gathering system diagnostic logs for 'diskimages-helper'...
    2013-11-09 09:28:56.113 tmdiagnose[864:2303] Gathering system diagnostic logs for 'newfs_hfs'...
    2013-11-09 09:28:56.114 tmdiagnose[864:2303] Gathering system diagnostic logs for 'NetAuthSysAgent'...
    2013-11-09 09:28:56.115 tmdiagnose[864:2303] Gathering system diagnostic logs for 'Finder'...
    2013-11-09 09:28:56.116 tmdiagnose[864:2303] Gathering system diagnostic logs for 'Locum'...
    2013-11-09 09:28:56.117 tmdiagnose[864:2303] Gathering system diagnostic logs for 'System Preferences'...
    2013-11-09 09:28:56.126 tmdiagnose[864:2303] Gathering system diagnostic logs for 'SystemUIServer'...
    2013-11-09 09:28:56.127 tmdiagnose[864:2303] Gathering system diagnostic logs for 'iPhoto'...
    2013-11-09 09:28:56.128 tmdiagnose[864:2303] Gathering system diagnostic logs for 'MailTimeMachineHelper'...
    2013-11-09 09:28:56.129 tmdiagnose[864:2303] Gathering system diagnostic logs for 'Address Book'...
    2013-11-09 09:28:56.130 tmdiagnose[864:2303] Gathering recent user diagnostic logs for 'Finder'...
    2013-11-09 09:28:56.294 tmdiagnose[864:2303] Gathering recent user diagnostic logs for 'Locum'...
    2013-11-09 09:28:56.318 tmdiagnose[864:2303] Gathering recent user diagnostic logs for 'System Preferences'...
    2013-11-09 09:28:56.343 tmdiagnose[864:2303] Gathering recent user diagnostic logs for 'SystemUIServer'...
    2013-11-09 09:28:56.366 tmdiagnose[864:2303] Gathering recent user diagnostic logs for 'iPhoto'...
    2013-11-09 09:28:56.391 tmdiagnose[864:2303] Gathering recent user diagnostic logs for 'MailTimeMachineHelper'...
    2013-11-09 09:28:56.416 tmdiagnose[864:2303] Gathering recent user diagnostic logs for 'Address Book'...
    2013-11-09 09:28:58.687 tmdiagnose[864:4303] Executing '/usr/sbin/system_profiler -xml SPParallelATADataType SPAirPortDataType SPBluetoothDataType SPDiagnosticsDataType SPEthernetDataType SPFibreChannelDataType SPFireWireDataType SPFirewallDataType SPHardwareDataType SPHardwareRAIDDataType SPNetworkLocationDataType SPManagedClientDataType SPMemoryDataType SPNetworkDataType SPPowerDataType SPSerialATADataType SPSoftwareDataType SPUSBDataType'...
    2013-11-09 09:29:14.646 tmdiagnose[864:4303] Gathering host information...
    2013-11-09 09:29:14.649 tmdiagnose[864:4303] Getting Time Machine configuration...
    2013-11-09 09:29:14.984 tmdiagnose[864:4303] Executing '/bin/bash -c /bin/launchctl list | /usr/bin/grep -e 'PID' -e 'com.apple.mtm' -e 'com.apple.backup' -e 'com.apple.TMLaunchAgent''...
    2013-11-09 09:29:15.052 tmdiagnose[864:2303] Making backup disk available...
    2013-11-09 09:29:15.086 tmdiagnose[864:4303] Building classic Time Machine snapshot skeletons...
    2013-11-09 09:29:16.675 tmdiagnose[864:4303] Executing '/bin/ls -lde /Volumes/TimeMachine/Backups.backupdb/.spotlight_repair'...
    2013-11-09 09:29:16.741 tmdiagnose[864:4303] Executing '/usr/bin/xattr -l /Volumes/TimeMachine/Backups.backupdb/.spotlight_repair'...
    2013-11-09 09:29:17.523 tmdiagnose[864:4303] Executing '/bin/ls -lde /Volumes/TimeMachine/Backups.backupdb/.spotlight_temp'...
    2013-11-09 09:29:17.589 tmdiagnose[864:4303] Executing '/usr/bin/xattr -l /Volumes/TimeMachine/Backups.backupdb/.spotlight_temp'...
    013-11-09 09:29:17.788 tmdiagnose[864:4303] Executing '/bin/ls -l /Volumes/TimeMachine/Backups.backupdb/.spotlight_repair'...
    2013-11-09 09:29:18.614 tmdiagnose[864:4303] Executing '/bin/ls -l /Volumes/TimeMachine/Backups.backupdb/.spotlight_temp'...
    2013-11-09 09:29:19.392 tmdiagnose[864:4303] Building Mobile Time Machine overlay snapshot skeletons...
    2013-11-09 09:29:19.393 tmdiagnose[864:4303] Building Mobile Time Machine delta store snapshot skeletons...
    2013-11-09 09:29:19.505 tmdiagnose[864:2303] Gathering information about reachable AirPort devices...
    2013-11-09 09:29:49.509 tmdiagnose[864:2303] unable to locate any Bonjour services within 30 seconds
    2013-11-09 09:29:49.540 tmdiagnose[864:2303] Executing '/usr/bin/mddiagnose -h'...
    2013-11-09 09:29:49.708 mddiagnose[974:707] Executing '/usr/bin/sw_vers'...
    2013-11-09 09:29:49.776 mddiagnose[974:707] Getting system version...
    2013-11-09 09:29:49.778 mddiagnose[974:707] Executing '/usr/bin/arch'...
    2013-11-09 09:29:49.865 mddiagnose[974:707] Executing '/usr/bin/what /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Support/mds'...
    2013-11-09 09:29:49.866 mddiagnose[974:707] Executing '/usr/bin/what /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Metadata'...
    2013-11-09 09:29:49.867 mddiagnose[974:707] Executing '/usr/bin/top -l 2 -s 2'...
    2013-11-09 09:29:54.050 mddiagnose[974:707] Executing '/bin/df -H'...
    2013-11-09 09:29:54.117 mddiagnose[974:707] Executing '/bin/ls -la /Volumes/'...
    2013-11-09 09:29:54.184 mddiagnose[974:707] Executing '/sbin/mount'...
    2013-11-09 09:29:54.251 mddiagnose[974:707] Executing '/usr/bin/vmmap -resident -w mds'...
    2013-11-09 09:29:54.761 mddiagnose[974:707] Executing '/usr/bin/heap mds'...
    2013-11-09 09:29:55.018 mddiagnose[974:707] Executing '/usr/local/bin/ddt mds'...
    2013-11-09 09:29:55.166 mddiagnose[974:707] Sampling 'mds'...
    2013-11-09 09:30:01.114 mddiagnose[974:707] Spindumping 'mds'...
    2013-11-09 09:30:08.686 mddiagnose[974:707] Executing '/usr/bin/find /Volumes/TimeMachine/Backups.backupdb/.Spotlight-V100 ( -type d -and ( ! -name Cache -or -prune ) ) ! -name Cache -exec echo  ; -print -execdir ls -l {} ;'...
    2013-11-09 09:30:08.753 mddiagnose[974:707] Executing '/usr/bin/find /Volumes/TimeMachine/Backups.backupdb/.Spotlight-V100 -name *.plist -exec echo ; -print -exec echo ; -exec /bin/cat {} ;'...
    2013-11-09 09:30:08.823 mddiagnose[974:707] Executing '/usr/bin/find /.MobileBackups/.Spotlight-V100 ( -type d -and ( ! -name Cache -or -prune ) ) ! -name Cache -exec echo  ; -print -execdir ls -l {} ;'...
    2013-11-09 09:30:08.890 mddiagnose[974:707] Executing '/usr/bin/find /.MobileBackups/.Spotlight-V100 -name *.plist -exec echo ; -print -exec echo ; -exec /bin/cat {} ;'...
    2013-11-09 09:30:08.958 mddiagnose[974:707] Executing '/usr/bin/find /Volumes/TimeMachine/.Spotlight-V100 ( -type d -and ( ! -name Cache -or -prune ) ) ! -name Cache -exec echo  ; -print -execdir ls -l {} ;'...
    2013-11-09 09:30:23.311 mddiagnose[974:707] Executing '/usr/bin/find /Volumes/TimeMachine/.Spotlight-V100 -name *.plist -exec echo ; -print -exec echo ; -exec /bin/cat {} ;'...
    2013-11-09 09:30:23.570 mddiagnose[974:707] Executing '/usr/bin/find /Volumes/Video/.MobileBackups/.Spotlight-V100 ( -type d -and ( ! -name Cache -or -prune ) ) ! -name Cache -exec echo  ; -print -execdir ls -l {} ;'...
    2013-11-09 09:30:23.637 mddiagnose[974:707] Executing '/usr/bin/find /Volumes/Video/.MobileBackups/.Spotlight-V100 -name *.plist -exec echo ; -print -exec echo ; -exec /bin/cat {} ;'...
    2013-11-09 09:30:23.705 mddiagnose[974:707] Executing '/usr/bin/find /Volumes/IPOD/.Spotlight-V100 ( -type d -and ( ! -name Cache -or -prune ) ) ! -name Cache -exec echo  ; -print -execdir ls -l {} ;'...
    2013-11-09 09:30:23.772 mddiagnose[974:707] Executing '/usr/bin/find /Volumes/IPOD/.Spotlight-V100 -name *.plist -exec echo ; -print -exec echo ; -exec /bin/cat {} ;'...
    2013-11-09 09:30:23.841 mddiagnose[974:707] Executing '/usr/bin/find /Volumes/Video/.Spotlight-V100 ( -type d -and ( ! -name Cache -or -prune ) ) ! -name Cache -exec echo  ; -print -execdir ls -l {} ;'...
    2013-11-09 09:30:23.971 mddiagnose[974:707] Executing '/usr/bin/find /Volumes/Video/.Spotlight-V100 -name *.plist -exec echo ; -print -exec echo ; -exec /bin/cat {} ;'...
    2013-11-09 09:30:24.041 mddiagnose[974:707] Executing '/usr/bin/find /Volumes/Audio/.Spotlight-V100 ( -type d -and ( ! -name Cache -or -prune ) ) ! -name Cache -exec echo  ; -print -execdir ls -l {} ;'...
    2013-11-09 09:30:24.297 mddiagnose[974:707] Executing '/usr/bin/find /Volumes/Audio/.Spotlight-V100 -name *.plist -exec echo ; -print -exec echo ; -exec /bin/cat {} ;'..
    2013-11-09 09:30:24.816 mddiagnose[974:707] Executing '/usr/bin/find /Volumes/Photo/.Spotlight-V100 ( -type d -and ( ! -name Cache -or -prune ) ) ! -name Cache -exec echo  ; -print -execdir ls -l {} ;'...
    2013-11-09 09:30:24.946 mddiagnose[974:707] Executing '/usr/bin/find /Volumes/Photo/.Spotlight-V100 -name *.plist -exec echo ; -print -exec echo ; -exec /bin/cat {} ;'...
    2013-11-09 09:30:25.077 mddiagnose[974:707] Executing '/usr/bin/find //.Spotlight-V100 ( -type d -and ( ! -name Cache -or -prune ) ) ! -name Cache -exec echo  ; -print -execdir ls -l {} ;'...
    2013-11-09 09:30:25.207 mddiagnose[974:707] Executing '/usr/bin/find //.Spotlight-V100 -name *.plist -exec echo ; -print -exec echo ; -exec /bin/cat {} ;'...
    2013-11-09 09:30:35.454 mddiagnose[974:707] Executing '/usr/bin/find /Volumes/Audio/Backups.backupdb/.Spotlight-V100 ( -type d -and ( ! -name Cache -or -prune ) ) ! -name Cache -exec echo  ; -print -execdir ls -l {} ;'...
    2013-11-09 09:30:35.520 mddiagnose[974:707] Executing '/usr/bin/find /Volumes/Audio/Backups.backupdb/.Spotlight-V100 -name *.plist -exec echo ; -print -exec echo ; -exec /bin/cat {} ;'...
    2013-11-09 09:30:35.587 mddiagnose[974:707] Executing '/usr/bin/find /Volumes/Photo/.MobileBackups/.Spotlight-V100 ( -type d -and ( ! -name Cache -or -prune ) ) ! -name Cache -exec echo  ; -print -execdir ls -l {} ;'...
    2013-11-09 09:30:35.654 mddiagnose[974:707] Executing '/usr/bin/find /Volumes/Photo/.MobileBackups/.Spotlight-V100 -name *.plist -exec echo ; -print -exec echo ; -exec /bin/cat {} ;'...
    2013-11-09 09:30:35.951 mddiagnose[974:707] Executing '/usr/bin/find / -name .metadata_never_index -maxdepth 1'...
    2013-11-09 09:30:36.018 mddiagnose[974:707] Executing '/usr/bin/find /Volumes -name .metadata_never_index -maxdepth 2'...
    2013-11-09 09:30:36.590 mddiagnose[974:707] Getting crash logs for 'mds'...
    2013-11-09 09:30:36.651 mddiagnose[974:707] Getting crash logs for 'mdworker'...
    2013-11-09 09:30:36.652 mddiagnose[974:707] Getting crash logs for 'Spotlight'...

  • HT1277 Mail has gone crazy. Header's and messages are mixed up. New Mac Book Pro. Migrated files from Time machine running snow leopard. Reinstall or new computer needed?

    Mail has gone crazy. Header's and messages are mixed up. New Mac Book Pro. Migrated files from Time machine running snow leopard. Reinstall or new computer needed?

    Ok; I'm not sure what you're doing.    36 hours is rather long.  Seems like a new migration.  Not what I intended.
    Here's what I intended: from the newly-migrated and apparently-corrupt environment, create a new user, not related to any existing user, nor any migration-created user, or any other user for that matter.  That is, use  > System Preferences > Users and Groups, authenticate yourself by clicking on the padlock, and then click the + and create a wholly new user.  Then log in under that user and establish the mail access.
    36 hours?  I'm wondering if there's an error or an exceedingly slow network here?  Or a really, really slow disk?  Or a sick backup?  (WiFi isn't the path I'd usually choose, either.)
    Failing the attempted second migration, I'd try a different tactic.  Does your existing (old) system work?   If so, I'd bypass the backup and connect an external (scratch) USB disk drive to the (old) sstem and then boot and use Disk Utility booted from the installer DVD disk or boot and use Disk Utility from the recovery partition or booted from a recovery partition created on some other external storage (details here vary by the OS X version and what hardware you have), and perform a full-disk backup of your original internal disk to (scratch) external storage.  (Make sure you get the source and target disks chosen correctly here; copying the wrong way — from the scratch disk to your existing disk — will clobber your data!)  In esssence, this will clone your existing boot disk.  Then dismount the (formerly-scratch) external disk, transfer it over to the new system, and use it as the source of the migration, by performing a fresh OS X installation on the new system.
    Target Disk Mode is also sometimes an option for accessing the disk for a migration, but that requires the right cable, and requires systems that have the same external connection; newer MacBook Pro systems use Thunderbolt for this, and older systems tend to use FireWire.  And I'm guessing you don't have compatible hardware.
    The details here can and do vary by your OS X versions and your particular Mac systems — if you'll identify the specific models and hardware, somebody might be able to better tailor the above (fairly generic) sequence to your particular configuration.

  • Is ther a way to speed up a Mac? Mine has gotten slower and slower over time.  When memory comes close to full would that have an effect on performance? Is there a way to determine unused programs/software to remove and free space?

    Is there a way to speed up a Mac (similar to de-fragging on a PC)? Mine has gotten slower and slower over time. 
    When memory/disc comes close to full would that have an effect on performance? How should I determine what programs/software to remove and free space?

    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 visits to:     OS X Maintenance - MacAttorney;
                                      The X Lab: The X-FAQs;
                                      The Safe Mac » Mac Performance Guide;
                                      The Safe Mac » The myth of the dirty Mac;
                                      Mac maintenance Quick Assist.
    Boot into Safe Mode then repair your hard drive and permissions:
    Repair the Hard Drive and Permissions Pre-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.
    Repair the Hard Drive - Lion/Mountain Lion/Mavericks
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the Utilites 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 disk icon and click on the arrow button below.
    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.
    Restart your computer normally and see if this has helped any. Next do some 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.
    Note: Alsoft ships DW on a bootable DVD that will startup Macs running Snow Leopard or earlier. It cannot start Macs that came with Lion or later pre-installed, however, DW will work on those models.
    Suggestions for OS X Maintenance
    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 later 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.
    Helpful Links Regarding Malware Protection
    An excellent link to read is Tom Reed's Mac Malware Guide.
    Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
    See these Apple articles:
              Mac OS X Snow Leopard and malware detection
              OS X Lion- Protect your Mac from malware
              OS X Mountain Lion- Protect your Mac from malware
              About file quarantine in OS X
    If you require anti-virus protection I recommend using VirusBarrier Express 1.1.6 or Dr.Web Light both from the App Store. They're both free, and since they're from the App Store, they won't destabilize the system. (Thank you to Thomas Reed for these recommendations.)
    Troubleshooting Applications
    I recommend downloading a utility such as TinkerTool System, OnyX, Mavericks Cache Cleaner, or Cocktail that you can use for removing old log files and archives, clearing caches, etc. Corrupted cache, log, or temporary files can cause application or OS X crashes as well as kernel panics.
    If you have Snow Leopard or Leopard, then for similar 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. Applejack does not work with Lion and later.
    Basic Backup
    For some people Time Machine will be more than adequate. Time Machine is part of OS X. There are two components:
    1. A Time Machine preferences panel as part of System Preferences;
    2. A Time Machine application located in the Applications folder. It is
        used to manage backups and to restore backups. Time Machine
        requires a backup drive that is at least twice the capacity of the
        drive being backed up.
    Alternatively, get an external 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. Get Backup
      3. Deja Vu
      4. SuperDuper!
      5. Synk Pro
      6. Tri-Backup
    Visit The XLab FAQs and read the FAQ on backup and restore.  Also read How to Back Up and Restore Your Files. For help with using Time Machine visit Pondini's Time Machine FAQ for help with all things Time Machine.
    Referenced software can be found at 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:
    Pre-Mavericks
    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 (>=70,) 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.
    Mavericks and later
    Open Activity Monitor in the Utilities folder.  Select All Processes from the View menu.  Click on the CPU tab in the toolbar. Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time (>=70,) 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.

  • Macbook Pro getting slower and slower, freezing all the time

    Hi,
    My early 2011 Macbook Pro is gettin slower and slower, and I'm pretty sure Mavericks only worsened the condition. This is my report, can someone help me on why this is happening?
    Hardware Information:
              MacBook Pro (13-inch, Early 2011)
              MacBook Pro - model: MacBookPro8,1
              1 2.3 GHz Intel Core i5 CPU: 2 cores
              4 GB RAM
    Video Information:
              Intel HD Graphics 3000 - VRAM: 384 MB
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 1.9 - SDK 10.9
              AppleAVBAudio: Version: 2.0.0 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    Startup Items:
              FanControlDaemon: Path: /Library/StartupItems/FanControlDaemon
    System Software:
              OS X 10.9.1 (13B42) - Uptime: 1 day 1:28:0
    Disk Information:
              TOSHIBA MK5059GSXP disk0 : (500,11 GB)
                        EFI (disk0s1) <not mounted>: 209,7 MB
                        Macintosh HD (disk0s2) /: 499,25 GB (54,63 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              MATSHITADVD-R   UJ-898 
    USB Information:
              JMicron USB to ATA/ATAPI bridge 500,11 GB
                        EFI (disk2s1) <not mounted>: 209,7 MB
                        Filmes (disk2s2) /Volumes/Filmes: 499,76 GB (330,53 GB free)
              Apple Computer, Inc. IR Receiver
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Inc. iPhone
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Inc. BRCM2070 Hub
                        Apple Inc. Bluetooth USB Host Controller
    FireWire Information:
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
              de.novamedia.driver.NMSmartplugSCSIDevice          (1.0.1)
              com.Cycling74.driver.Soundflower          (1.5.1)
              com.bresink.driver.BRESINKx86Monitoring          (8.0)
    Problem System Launch Daemons:
    Problem System Launch Agents:
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist
              [loaded] com.microsoft.office.licensing.helper.plist
              [loaded] com.oracle.java.Helper-Tool.plist
    Launch Agents:
              [failed] com.brother.LOGINserver.plist
              [loaded] com.oracle.java.Java-Updater.plist
              [loaded] de.novamedia.VodafoneDeviceObserver.plist
    User Launch Agents:
              [failed] com.akamai.single-user-client.plist
              [loaded] com.facebook.videochat.[redacted].plist
              [failed] com.google.GoogleContactSyncAgent.plist
              [loaded] com.macpaw.CleanMyMac.helperTool.plist
              [loaded] com.macpaw.CleanMyMac.trashSizeWatcher.plist
              [loaded] com.spotify.webhelper.plist
              [loaded] com.valvesoftware.steamclean.plist
    User Login Items:
              uHD-Agent
              GrowlHelperApp
              Alfred
              uTorrent
              Dropbox
              iShutdown
              HyperDock Helper
              Assistente de gestor de conteúdo
    3rd Party Preference Panes:
              Akamai NetSession Preferences
              Fan Control
              Flash Player
              Flip4Mac WMV
              Growl
              HyperDock
              Java
    Internet Plug-ins::
              DirectorShockwave: Version: 11.5.9r620
              o1dbrowserplugin: Version: 4.9.1.16010
              Unity Web Player: Version: UnityPlayer version 3.4.2f3 - SDK 10.5
              Default Browser: Version: 537 - SDK 10.9
              Flip4Mac WMV Plugin: Version: 2.3.8.1
              RealPlayer Plugin: Version: Unknown
              Silverlight: Version: 5.1.20913.0 - SDK 10.6
              FlashPlayer-10.6: Version: 11.9.900.170 - SDK 10.6
              Flash Player: Version: 11.9.900.170 - SDK 10.6
              QuickTime Plugin: Version: 7.7.3
              googletalkbrowserplugin: Version: 4.9.1.16010
              npgtpo3dautoplugin: Version: 0.1.44.29 - SDK 10.5
              iPhotoPhotocast: Version: 7.0 - SDK 10.8
              SharePointBrowserPlugin: Version: 14.3.9 - SDK 10.6
              JavaAppletPlugin: Version: Java 7 Update 45
    Bad Fonts:
              None
    Old applications:
              Content Manager Assistant:          Version: 1.10.4086.78 - SDK 10.5
                        /Users/duarte_cunharosa/Applications/CMA.app
              Content Manager Assistant:          Version: 1.10.4086.78 - SDK 10.5
                        /Applications/CMA.app
              FacebookVideoCalling:          Version: 1.2.0.157 - SDK 10.5
                        /Users/duarte_cunharosa/Library/Application Support/Facebook/video/1.2.0.158/FacebookVideoCalling.app
              Microsoft Alerts Daemon:          Version: 14.3.9 - SDK 10.5
                        /Applications/Microsoft Office 2011/Office/Microsoft Alerts Daemon.app
              Microsoft AutoUpdate:          Version: 2.3.6 - SDK 10.4
                        /Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
              Microsoft Chart Converter:          Version: 14.3.9 - SDK 10.5
                        /Applications/Microsoft Office 2011/Office/Microsoft Chart Converter.app
              Microsoft Clip Gallery:          Version: 14.3.9 - SDK 10.5
                        /Applications/Microsoft Office 2011/Office/Microsoft Clip Gallery.app
              Microsoft Database Daemon:          Version: 14.3.9 - SDK 10.5
                        /Applications/Microsoft Office 2011/Office/Microsoft Database Daemon.app
              Microsoft Database Utility:          Version: 14.3.9 - SDK 10.5
                        /Applications/Microsoft Office 2011/Office/Microsoft Database Utility.app
              Microsoft Document Connection:          Version: 14.3.9 - SDK 10.5
                        /Applications/Microsoft Office 2011/Microsoft Document Connection.app
              Microsoft Error Reporting:          Version: 2.2.9 - SDK 10.4
                        /Library/Application Support/Microsoft/MERP2.0/Microsoft Error Reporting.app
              Microsoft Excel:          Version: 14.3.9 - SDK 10.5
                        /Applications/Microsoft Office 2011/Microsoft Excel.app
              Microsoft Graph:          Version: 14.3.9 - SDK 10.5
                        /Applications/Microsoft Office 2011/Office/Microsoft Graph.app
              Microsoft Language Register:          Version: 14.3.9 - SDK 10.5
                        /Applications/Microsoft Office 2011/Additional Tools/Microsoft Language Register/Microsoft Language Register.app
              Microsoft Office Reminders:          Version: 14.3.9 - SDK 10.5
                        /Applications/Microsoft Office 2011/Office/Microsoft Office Reminders.app
              Microsoft Outlook:          Version: 14.3.9 - SDK 10.5
                        /Applications/Microsoft Office 2011/Microsoft Outlook.app
              Microsoft PowerPoint:          Version: 14.3.9 - SDK 10.5
                        /Applications/Microsoft Office 2011/Microsoft PowerPoint.app
              Microsoft Ship Asserts:          Version: 1.1.4 - SDK 10.4
                        /Library/Application Support/Microsoft/MERP2.0/Microsoft Ship Asserts.app
              Microsoft Upload Center:          Version: 14.3.9 - SDK 10.5
                        /Applications/Microsoft Office 2011/Office/Microsoft Upload Center.app
              Microsoft Word:          Version: 14.3.9 - SDK 10.5
                        /Applications/Microsoft Office 2011/Microsoft Word.app
              Miro Video Converter:          Version: 2.6 - SDK 10.0
                        /Applications/Miro Video Converter.app
              My Day:          Version: 14.3.9 - SDK 10.5
                        /Applications/Microsoft Office 2011/Office/My Day.app
              Open XML for Excel:          Version: 14.3.9 - SDK 10.5
                        /Applications/Microsoft Office 2011/Office/Open XML for Excel.app
              Plants vs:          Version: 1.0.40 - SDK 10.5
                        /Applications/Plants vs. Zombies.app
              RipIt:          Version: 1.6.2 - SDK 10.5
                        /Applications/RipIt.app
              SLLauncher:          Version: 1.0 - SDK 10.5
                        /Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
              Solver:          Version: 1.0 - SDK 10.5
                        /Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
              SyncServicesAgent:          Version: 14.3.9 - SDK 10.5
                        /Applications/Microsoft Office 2011/Office/SyncServicesAgent.app
              UPlayBrowser:          Version: 1.0.1.23853 - SDK 10.5
                        /Library/Application Support/Ubisoft/Assassin's Creed Brotherhood/UPlayBrowser.app
    Time Machine:
              Mobile backups: ON
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 464.96 GB Disk used: 414.09 GB
              Destinations:
                        Time Machine [Local] (Last used)
                        Total size: 698.32 GB
                        Total number of backups: 3
                        Oldest backup: 2013-12-20 18:10:54 +0000
                        Last backup: 2013-12-22 19:52:17 +0000
                        Size of backup disk: Too small
                                  Backup size 698.32 GB < (Disk used 414.09 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                   9%          Transmission
                   4%          Dropbox
                   2%          WindowServer
                   2%          Dock
                   1%          Google Chrome
    Top Processes by Memory:
              123 MB          Google Chrome
              119 MB          iTunes
              102 MB          Dropbox
              87 MB          Google Chrome Helper
              66 MB          Finder
    Virtual Memory Statistics:
              148 MB          Free RAM
              995 MB          Active RAM
              859 MB          Inactive RAM
              1.03 GB          Wired RAM
              7.80 GB          Page-ins
              4.84 GB          Page-outs

    If you don't already have a current backup, back up all data before doing anything else. This procedure is a diagnostic  test. It changes nothing, for better or worse, and therefore will not, in itself, solve your problem. The backup is necessary on general principle, not because of anything suggested in this comment. There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The procedure will help identify which such modifications you've installed, as well as some other aspects of the configuration that may be related to the problem.
    Don’t be alarmed by the seeming complexity of these instructions — they’re easy to carry out. Here's a brief summary: In each of two steps, you copy a line of text from this web page into a window in another application. You wait about a minute. Then you paste some other text, which will have been copied automatically, back into a reply on this page. The sequence is copy; paste; paste again. That's all there is to it. Details follow.
    You may have started the computer in "safe" mode. Preferably, these steps should be taken while booted in “normal” mode. If the system is now running in safe mode and is bootable in normal mode, reboot as usual. If it only boots in safe mode, use that.
    Below are instructions to enter UNIX shell commands. They do nothing but produce human-readable output. However, you need to think carefully before running any program at the behest of a stranger on a public message board. If you question the safety of the procedure suggested here — which you should — search this site for other discussions in which it’s been followed without any report of ill effects. If you can't satisfy yourself that these instructions are safe, don't follow them.
    The commands will line-wrap or scroll in your browser, but each one is really just a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it.
    If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. Step 1 should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply.
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click anywhere in the line of text below on this page to select it:
    PB=/usr/libexec/PlistBuddy; PR () { [[ "$o" ]] && printf '\n%s:\n\n%s\n' "$1" "$o"; }; PC () { o=$(grep [^[:blank:]] "$2"); PR "$1"; }; PF () { o=$($PB -c Print "$2" | awk -F'= ' \/$3'/{print $2}'); PR "$1"; }; PN () { [[ $o -eq 0 ]] || printf "\n%s: %s\n" "$1" $o; }; { system_profiler SPSoftwareDataType | sed '8!d;s/^ *//'; o=$(system_profiler SPDiagnosticsDataType | sed '5,6!d'); fgrep -q P <<< "$o" && o=; PR "POST"; o=$(( $(vm_stat | awk '/Pageo/{sub("\\.",""); print $2}')/256 )); [[ $o -gt 1024 ]] && printf "\nPageouts: %s MiB\n" $o; o=$(kextstat -kl | grep -v com\\.apple | cut -c53- | cut -d\< -f1); PR "Loaded extrinsic kernel extensions"; o=$(launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)|\.[0-9]+$/{print $3}'); PR "Loaded extrinsic user agents"; o=$(launchctl getenv DYLD_INSERT_LIBRARIES); PR "Inserted libraries"; PC "cron configuration" /e*/cron*; o=$(crontab -l | grep [^[:blank:]]); PR "User cron tasks"; PC "Global launchd configuration" /e*/lau*; PC "Per-user launchd configuration" ~/.lau*; PF "Global login items" /L*/P*/loginw* Path; PF "Per-user login items" L*/P*/*loginit* Name; PF "Safari extensions" L*/Saf*/*/E*.plist Bundle | sed 's/\..*$//;s/-[1-9]$//'; o=$(find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l); PN "Restricted user files"; cd; o=$(find -L /S*/L*/E* {,/}L*/{A*d,Compon,Ex,In,Keyb,Mail/Bu,P*P,Qu,Scripti,Servi,Spo}* -type d -name Contents -prune | while read d; do ID=$($PB -c 'Print :CFBundleIdentifier' "$d/Info.plist") || ID=; ID=${ID:-No bundle ID}; egrep -qv "^com\.apple\.[^x]|Accusys|ArcMSR|ATTO|HDPro|HighPoint|driver\.stex|hp-fax|JMicron|microsoft\.MDI|print|SoftRAID" <<< $ID && printf '%s\n\t(%s)\n' "${d%/Contents}" "$ID"; done); PR "Extrinsic loadable bundles"; o=$(find /u*/{,*/}lib -type f -exec sh -c 'file -b "$1" | grep -qw shared && ! codesign -v "$1"' {} {} \; -print); PR "Unsigned shared libraries"; o=$(system_profiler SPFontsDataType | egrep "Valid: N|Duplicate: Y" | wc -l); PN "Font problems"; for d in {,/}L*/{La,Priv,Sta}*; do o=$(ls -A "$d"); PR "$d"; done; } 2> /dev/null | pbcopy; echo $'\nStep 1 done'
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    The command may take up to a few minutes to run, depending on how many files you have and the speed of the computer. Wait for the line "Step 1 done" to appear below what you entered. The output of the command will beautomatically copied to the Clipboard. All you have to do is paste into a reply to this message by pressing command-Vagain. Please don't copy anything from the Terminal window. No typing is involved in this step.
    Step 2 
    Remember that you must be logged in as an administrator for this step. Do as in Step 1 with this line:
    PR () { [[ "$o" ]] && printf '\n%s:\n\n%s\n' "$1" "$o"; }; { o=$(sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|calendarse|cups|dove|isc|ntp|post[fg]|x)/{print $3}'); PR "Loaded extrinsic daemons"; o=$(sudo defaults read com.apple.loginwindow LoginHook); PR "Login hook"; o=$(sudo crontab -l | grep [^[:blank:]]); PR "Root cron tasks"; o=$(syslog -k Sender kernel -k Message CReq 'GPU |hfs: Ru|I/O e|find tok|n Cause: -|NVDA\(|pagin|timed? ?o' | tail -n25 | awk '/:/{$4=""; print}'); PR "Log check"; } 2>&- | pbcopy; echo $'\nStep 2 done'
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    You can then quit Terminal. Please note:
    ☞ Steps 1 and 2 are all copy-and-paste — type only your login password when prompted.
    ☞ When you type your password, you won't see what you're typing.
    ☞ If you don’t have a password, set one before taking Step 2. If that’s not possible, skip the step.
    ☞ Step 2 might not produce any output, in which case the Clipboard will be empty. Step 1 will always produce something.
    ☞ The commands don't change anything, and merely running them will do neither good nor harm.
    ☞ Remember to post the output. It's already in the Clipboard. You don't have to copy it. Just paste into a reply    
    ☞ If any personal information, such as your name or email address, appears in the output of either command, anonymize it before posting. Usually that won't be necessary.
    ☞ Don't post the contents of the Terminal window.
    ☞ Don't paste the output of Step 1 into the Terminal window. Paste it into a reply.

  • My iMac is running slower and slower? os x 10.8.2 24" early 2008  Any suggestions

    Imac 24" early 2008 is running slower and slower. Software OS X 10.8.2 Any suggestions?

    Suggestions 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
    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
    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.

  • My MacBook Pro (2010) running Mountain Lion is getting slower and slower. How do I fix the orphan files?

    My 2010 Macbook pro is running slower and slower. I went to the Genius Bar about eight months ago, and they botted up from the disk, and let it go through and find what  its process to find and fix what I think were "orphan" files. I cannot remember what they did, but when they did it, the speed on my Macbook picked up considerably.
    I have since upgraded to Mountain Lion, but these problems do not seem related to that. My 500 GB HDD is about 80% full.

    First, back up all data immediately, as your boot drive might be failing.
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Reset the System Management Controller.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Check your keychains in Keychain Access for excessively duplicated items.
    Boot into Recovery mode, launch Disk Utility, and run Repair Disk.
    Otherwise, take the steps below when you notice the problem.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Activity Monitor in the icon grid.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Next, select the Disk Activity tab. Post the approximate values shown for Reads in/sec and Writes out/sec (not Reads in and Writes out.)
    Step 2
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

  • Trouble with Time Machine (runs constantly). Erase and install?

    Trouble with Time Machine (runs constantly). Tried re-installation (equivalent of archive install) of Snow Leopard. Time Machine still unable to complete a back-up. Erase and install recommended at Genius Bar. Have backed up data to external HD using Super Duper. Should be a bootable backup. Last successful backup through Time Machine was 6/1/11. Not sure if I can access this back-up if I erase and re-install.
    Computer shipped with Tiger (7/2007). Have original disks. Now running Snow Leopard. So: erase HD, install Tiger, then update to Snow Leopard? Start-up from Tiger disks does not appear to work (starting up holding "C" key). Suggestions? Want very much to transfer data to new iMac, but do not want to carry bugs forward. Very nervous about erasing HD. And have the questions above about reinstalling system software.
    Advice desired! Thanks.

    Well if you can hold option and boot off the Superdupes clone and it works fine then you should be set to do what you need to do to the original boot drive.
    Disconnect all drives and c boot off the Snow Leopard install disk, use Disk Utility to Erase > format HFS+ journaled your internal boot drive.
    Quit and reinstall OS X Snow Leopard, setup (do not use Setup/Migration Assitant!) and update to 10.6.8
    When you setup the new install, use the same hard drive name and user name as you did before.
    Now the free iLife that came on the Tiger disks you won't get naturally, but you can pick them off the disk with the shareware program called Pacifist.
    install your programs from fresh sources, this way you don't get the "crap" from the older setup.
    Once your machine is up and going. Hook up the clone and transfer your user folders over manually. With iTunes just replace the whole folder. Because you kept the same user and boot drive name as before, the playlists should be fine.
    Once your all peachy, take the opportunity to clone this new setup to a external drive, label and disconnect.
    Make another clone for day to day, or week to week clone updates and your just a hold option boot away for recovery.
    You know Superdupes and Carbon Copy Cloner both have auto-scedualing/updating ability, so you can leave them plugged in and it will perform a update so your clone stays fresh and recent.
    But you should keep a clone timed back about a couple of weeks back just in case you install something bad and don't learn about it right away.

  • Time machine backup is very slow after migration to Mountain Lion

    After I migrated to mountain lion, Time machine backup is very slow. Time machine preference says there is no previous back up although I had Time machine on before migration. It did not help verymuch to connect an ethernet cable between my timecapsule and my Macbook Pro
    Here are the screenshots I see:
    Should I erase the previous backup made on Lion before backing up on Mountain lion? in this case how do I transfer the Lion backup file on another disk just in case something goes wrong before I have a good backup under Mountain Lion? just like any other file?

    After further reading on the forum, the problem was solved: I used the possibility to back up on a second disk (in the preferences Time Machine choose a disk and save on both disks) to make a back up on another usb disk, and then erased the old .sparsebundle file on my Time Capsule. I have then re defined time capsule as the back up disk and then the backup was muuuuuch faster (one night instead of less than 1 giga after 3 days.....)

  • Firefox gets slower and slower over time.

    I have been using firefox for some time, Like it better than Safari generally, but I've noticed (and it has gotten worse with 3.6.x) that if you leave FF running for extended periods of time it gets slower and slower, does not seem to matter if add-ons are installed or not, and it gets REALLY bad after going in and out of flash based apps/games a couple times. It is not just a mac problem as this behaviour also happens on windows xp or newer, but windows OS needs to be rebooted daily anyways so most people won't notice.

    Proceed with [[Basic Troubleshooting]] first of all.
    You could also try running Firefox in [[Safe Mode]]. If it functions properly in that configuration, then one of your add-ons is the culprit.

  • Universe.applyOverload Method Run non-linearly slower and slower

    Universe.applyOverload Method Run non-linearly slower and slower, that is, for the 10th user and restriction we add, this method runs 1 second, however, for the 80th user and restriction we add, this method runs 8 seconds.
    Customers think it's a bug for our BOE Java SDK method, could I know why this method is non-linear, and any way to improve its running speed.
    The following is the code, for interator 80 times.
    while (iter.hasNext())
                        user = (rpt_users_t) iter.next();
                        IOverload overload = (IOverload) newObjs.add("Overload");
                        overload.setTitle(user.getBoezh().trim());
                        overload.setUniverse(universe.getID());
                        overload.setConnection(connectionID);
                        overload.getRestrictedRows().clear();
                        overload.getRestrictedRows().add("HZB0101_T","HZB0101_T.BRANCH_COMPANY_CODE='3090100' AND HZB0101_T.DEPARTMENT_CODE='"+ user.getBmdm() + "'");
                        overload.getRestrictedRows().add("BM_T","BM_T.DEPARTMENT_GROUP_CODE='" + user.getBmzdm().trim()+ "'");
                        infoStore.commit(newObjs);
                        // Commit to User
                        IInfoObject everyone = (IInfoObject) infoStore.query(
                                  "Select TOP 1 SI_ID " + " From CI_SYSTEMOBJECTS "+ " Where SI_KIND='User' " + " And SI_NAME='"+ user.getBoezh().trim() + "'").get(0);
                        int everyoneID = everyone.getID();
                        universe.applyOverload(overload, everyoneID, true);
                        //infoStore.commit(objs);
                        System.out.println(user.getBoezh() + " loading...");

    When invoking applyOverload multiple times, it's O(N^2) if you're granting rights to a User or UserGroup. 
    When granting, the applyOverload method retrieves all Overloads applied to the Universe and walks across each one,  granting the identified ones and removing rights from others.
    Sincerely,
    Ted Ueda

  • Safari Running Slower and Slower

    Hello...No idea why, but Safari is running slower and slower lately for me on my MacBook Pro.
    Any suggestions on how I may be able to troubleshoot this?
    Thank you.

    The following usually works on both Tiger and Leopard:
    (First, if yours is an Intel Mac, check that Safari is not running in Rosetta, which is enough to slow it to a crawl.)
    Empty Safari's cache (from the Safari menu), then close Safari.
    Go to Home/Library/Safari and delete the following files:
    form values
    download.plist
    Then go to Home/Library/Preferences and delete
    com.apple.Safari.plist
    Repair permissions (in Disk Utility).
    Start up Safari again, and things should have improved.
    If not, MacFixit have published a very detailed (very!) article on speeding up a slow Safari, here:
    http://www.macfixit.com/article.php?story=20070416000657464
    Many, including me, have also followed the advice given by others here to add DNS codes to their Network Settings, with good results in terms of speed-up:
    Open System Preferences/Network. Double click on your connection type, or select it in the drop-down menu. Click on TCP/IP and in the box marked 'DNS Servers' enter the following two numbers:
    208.67.222.222
    208.67.220.220
    Click on Apply Now and close the window.
    Restart Safari, and repair permissions.

  • FIRE FOX IS GETTING SLOWER AND SLOWER LOADING PAGES I GO TO ONLINE. IT LOAD CIRCLE STOP SPINNING AND WILL START BACK BUT IT TAKES IT'S TIME TO DO SO. THIS HAS BEEN GOING ON THROUGH THE LAST SEVERAL UPGRADES.

    FIRE FOX USED TO BE A FAST BROWSER BUT IT IS GETTING SLOWER AND SLOWER. THE BLUE-E IS ABOUT TO THE POINT OF BEING FASTER THEM THE FOX. I HAVE ALWAYS LIKE THE FOX, JUST WANT TO FIGURE OUT THE PROBLEM WITH IT AND THE LONGER I HAVE THE WINDOW OPEN ARE UP THE WORSE IT GETS. I DO A LOT OF GAMING ON FACEBOOK PLAYING MAFIA WARS BUT THE PROBLEM IS NOT LIMITED TO JUST THERE IT IS ALL THE TIME AND EVERY WHERE. I HAVE TRIED ADD-ON'S THINKING THEY MAY HELP BUT NOTHING HAS DONE ANY GOOD. CHROME IS TWICE IF NOT THREE
    TIMES AS FAST AS THE FOX LATELY ON LOADING PAGES.

    For what it's worth, you posted this in 2011, and here in 2014 I am still having this same issue. Over the last two days, I have had to unlock my apple account 8 times. I didn't get any new devices. I haven't initiated a password reset. I didn't forget my password. I set up two factor authentication and have been able to do the unlocking with the key and using a code sent to one of my devices. 
    That all works.
    It's this having to unlock my account every time I go to use any of my devices. And I have many: iMac, iPad, iPad2, iPad mini, iPhone 5s, iPod touch (daughter), and my old iPhone 4 being used as an ipod touch now.  They are all synced, and all was working just fine.
    I have initiated an incident with Apple (again) but I know they are just going to suggest I change my Apple ID. It's a simple one, and one that I am sure others think is theirs. I don't want to change it. I shouldn't have to. Apple should be able to tell me who is trying to use it, or at least from where.
    Thanks for listening,
    Melissa

  • Leopard.  Did a full restore from Time Machine.  Now I can't access my other internal and external drives.  I get the following error: The folder "Capture Video" can't be opened because you don't have permission to see its contents.

    Leopard.  Did a full restore from Time Machine.  Now I can't access my other internal and external drives.  I get the following error: The folder “Capture Video” can’t be opened because you don’t have permission to see its contents.  I have repaired permissions pn the main harddrive.  When I try too click on a disk I get the previously stated error.  I can't even open up information to see what permission/access there is.  It simply will not let me see the content.  It shows the content of my main hard drive when I have clicked the other harddrive's name.

    Solved:
    sudo chflags 0 /Volumes/"FCP Time Machine BU"
    sudo chown 0:80 /Volumes/"FCP Time Machine BU"
    sudo chmod 775 /Volumes/"FCP Time Machine BU"
    sudo chmod -N /Volumes/"FCP Time Machine BU"

  • Upgrade Internal Hard Drive and Time Machine runs first back up as new full

    I recently upgraded my internal hard drive on my macbook to a larger and faster model, my old one is still fine. I went to run a Time Machine back up and it starts a new back up even though its not supposed to. How do I get it to recognize the old / original back up instead of running a new full back up on the new internal hard drive?

    William Beede wrote:
    In my case I backed up my old internal hd to my new external 1 TB hd.
    Surely you mean you used +Setup Assistant+ or +Migration Assistant+ to transfer the data? Or a "clone" via CarbonCopyCloner, SuperDuper, or Disk Utility?
    Now it appears TM wants to ADD the contents of my new internal hd to those already backed up(another 220 gb).
    Yes. As posted, to TM it's a new, different drive. TM will back it up. You cannot prevent it.
    I wonder if I need to format the new drive and start over??
    Yes, that's probably your best bet.

Maybe you are looking for