Safe to kill spindump? (Older/slower machines)

I have an old Mac, where if an App take some time to load (slow HD), the spindump kicks in, completely disabling the machine for close to 10 minutes.

There is one post on the web warning that killing spindump can cause some corruption, so, better safe then sorry.

Would be great if there was a way to not run spindump on specific Apps, or give them more time before declaring them as 'unresponsive', but I doubt there is.

Is it safe to just kill the process? Is there a safer way (like asking its parent to to so)?


Minor update: Seems that the same App that triggered the spindump, no longer does so. It still takes the same time to load, but that no longer triggers spindump.
If you're in a similar situation, it does quiet down eventually (as apposed to launch on every stall). It has happened about 3-4 times (one for each spinning ball), each time it took around 3-8 minutes to calm down and release the RAM.


Solution 1:

If you have a backup of the Mac and know you can restore / reinstall and not lose data - sure kill spindump and see if it helps. Killing apps usually just corrupts the files it writes to and spindump just writes diagnostic logs, so it's about one of the safest things you could choose to kill abruptly on the Mac.

Since spindump is there to report on badly performing programs, perhaps looking at the logs or just not using the app that triggers it would be the way to go. here is an expert explanation that both the tailspin and spindump processes need to be removed. Keep in mind, this removal may only lasts only until the next macOS update gets applied.

This concludes the "I know my Mac is slow - can I disable spindump entirely or cause it to run and exit in 10 seconds." scenario since I can see an app that performs so badly, that it forever will queue up a new spindump process or have spindump never reach the point where it thinks your Mac is healthy enough to stop collecting signs of a temporary problem.

In almost all cases - high frequency / count of spin samples is a reason to hunt down these slow processes and setups and look for long term solutions. In your case, a slow HD is a likely sign that it's relocating blocks and about to fail, so I would make plans to be sure your data is protected - when the spinning drive fails it could be costly (several hundreds of dollars) to recover.

  1. Be sure you have a backup
  2. Be sure your volume is journaled to minimize repair or rebuild time if killing an app causes file loss or interrupts a write
  3. Start removing or triaging bad apps and take notes on what works and what doesn’t to reduce spin events.

Solution 2:

It's probably safe to even disable them if you are not interested in the generated system analytics. Full procedure to do so is documented on Disable tailspind and spindump to Speed Up your Mac. In a nutshell:

  • Disable SIP
  • Unload/rename LaunchDaemon for spindump

    sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.spindump.plist
    sudo mv /System/Library/LaunchDaemons/com.apple.spindump.plist{,.bak} 
    
  • Do the same for com.apple.tailspind.plist

  • Enable SIP

You probably need to redo this with each macOS update.