Avid Pro Audio Community

Avid Pro Audio Community

How to Join & Post  •  Community Terms of Use  •  Help Us Help You

Knowledge Base Search  •  Community Search  •  Learn & Support


Avid Home Page

Go Back   Avid Pro Audio Community > Pro Tools Software > Pro Tools
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-30-2023, 02:31 PM
TrentWilliams TrentWilliams is offline
Member
 
Join Date: Aug 2012
Location: Wellington, New Zealand
Posts: 985
Default Disabling Spotlight Indexing

Hey all,

Just working back through the optimisation guide and noticed spotlight had been re-enabled, on trying to disable it permanently again I'm getting a kickback in terminal.

--

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

Unload failed: 5: Input/output error
Try running `launchctl bootout` as root for richer errors.

--

I'm able to disable it until reboot using - "sudo mdutil -a -I off"

Running the same command with SIP disabled in recovery mode yields "Command not found".


Is anyone able to give some insight before I reach out to support?
__________________
Pro Tools 2024.3.0|Perpetual • MTRX Studio • HDX1 • Sync-X • S3 • Dock • Mac Mini 2018 - 3.2GHz i7 6-core macOS 13.6 • RAM 64GB DDR4 GPU AMD 6900XT 16GB • Monitor LG 32UL950-W

Last edited by TrentWilliams; 09-30-2023 at 02:54 PM.
Reply With Quote
  #2  
Old 09-30-2023, 02:49 PM
Darryl Ramm Darryl Ramm is offline
Member
 
Join Date: Nov 2010
Location: USA
Posts: 19,657
Default Re: Disabling Spotlight Indexing

What macOS version are you running? Is 11.6 in your signature correct? What have you been doing to it? Major InSitu updates?

As the error message said what does bootout show? e.g.

[edit: Bzzt wrong bootout example, see comment below it does not help anyhow]

(Works fine for me on an Intel MBP running a fresh install of Sonoma).

Spotlight is a mess, but if you want to index say some of your drives you can mark the other drives private... but just look out if you do for Spotlight indexing still getting upset/spinning/chewing CPU (or I/O on HDD).

Last edited by Darryl Ramm; 09-30-2023 at 03:24 PM.
Reply With Quote
  #3  
Old 09-30-2023, 02:57 PM
TrentWilliams TrentWilliams is offline
Member
 
Join Date: Aug 2012
Location: Wellington, New Zealand
Posts: 985
Default Re: Disabling Spotlight Indexing

Quote:
Originally Posted by Darryl Ramm View Post
What macOS version are you running? Is 11.6 in your signature correct? What have you been doing to it? Major InSitu updates?

As the error message said what does bootout show? e.g.

$ sudo launchctl bootout load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

(Works fine for me on an Intel MBP running a fresh install of Sonoma).

Spotlight is a mess, but if you want to index say some of your drives you can mark the other drives private... but just look out if you do for Spotlight indexing still getting upset/spinning/chewing CPU (or I/O on HDD).
Thanks for the reply,

Sorry, signature is out of date - running 13.6

Running bootout gives back

"Usage: launchctl bootout <domain-target> [service-path1, service-path2, ...] | <service-target>"
__________________
Pro Tools 2024.3.0|Perpetual • MTRX Studio • HDX1 • Sync-X • S3 • Dock • Mac Mini 2018 - 3.2GHz i7 6-core macOS 13.6 • RAM 64GB DDR4 GPU AMD 6900XT 16GB • Monitor LG 32UL950-W
Reply With Quote
  #4  
Old 09-30-2023, 03:04 PM
Darryl Ramm Darryl Ramm is offline
Member
 
Join Date: Nov 2010
Location: USA
Posts: 19,657
Default Re: Disabling Spotlight Indexing

Doh Ya already unloaded it.

Try putting it back..

$ sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

then taking it away...

$ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
Reply With Quote
  #5  
Old 09-30-2023, 03:16 PM
TrentWilliams TrentWilliams is offline
Member
 
Join Date: Aug 2012
Location: Wellington, New Zealand
Posts: 985
Default Re: Disabling Spotlight Indexing

Quote:
Originally Posted by Darryl Ramm View Post
Doh Ya already unloaded it.

Try putting it back..

$ sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

then taking it away...

$ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
Ah, thanks for your help with this.

Is there a way I can see current enabled/disabled status of spotlight in terminal?

Running: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

Yields: Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.
__________________
Pro Tools 2024.3.0|Perpetual • MTRX Studio • HDX1 • Sync-X • S3 • Dock • Mac Mini 2018 - 3.2GHz i7 6-core macOS 13.6 • RAM 64GB DDR4 GPU AMD 6900XT 16GB • Monitor LG 32UL950-W
Reply With Quote
  #6  
Old 09-30-2023, 03:21 PM
Darryl Ramm Darryl Ramm is offline
Member
 
Join Date: Nov 2010
Location: USA
Posts: 19,657
Default Re: Disabling Spotlight Indexing

Oops and my bad for messing up the bootout example. Which would actually not have given any more clues anyhow, e.g. on my system...

Code:
$ sudo launchctl list | grep mds                       
-	0	com.apple.metadata.mds.scan
-	0	com.apple.metadata.mds.index
-	0	com.apple.msrpc.mdssvc
-	0	com.apple.metadata.mds.spindump

$ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist 
Unload failed: 5: Input/output error
Try running `launchctl bootout` as root for richer errors.

$ sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist 

$ sudo launchctl list | grep mds                                                     
4584	0	com.apple.metadata.mds.scan
4583	0	com.apple.metadata.mds.index
-	0	com.apple.msrpc.mdssvc
4581	0	com.apple.metadata.mds
-	0	com.apple.metadata.mds.spindump

$ sudo launchctl bootout system/com.apple.metadata.mds                              

$ sudo launchctl list | grep mds                       
-	0	com.apple.metadata.mds.scan
-	0	com.apple.metadata.mds.index
-	0	com.apple.msrpc.mdssvc
-	0	com.apple.metadata.mds.spindump

$ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
Unload failed: 5: Input/output error
Try running `launchctl bootout` as root for richer errors.

$ sudo launchctl bootout system/com.apple.metadata.mds
Boot-out failed: 3: No such process
Reply With Quote
  #7  
Old 09-30-2023, 03:31 PM
massivekerry's Avatar
massivekerry massivekerry is offline
Member
 
Join Date: Jul 2005
Location: Portland, OR
Posts: 675
Default Re: Disabling Spotlight Indexing

I’ve been using AppTamer to throttle Spotlight Indexing and force it to the Efficiency cores.
__________________
Kerry Smith
http://apothekerry.com

Mac Studio Ultra : 128GB RAM : Ventura 13.6 : Carbon : PT Ultimate 2023.12 : S1 : Metagrid Pro
Reply With Quote
  #8  
Old 09-30-2023, 03:37 PM
its2loud its2loud is offline
Member
 
Join Date: Dec 2014
Location: Los Angeles
Posts: 2,351
Default Re: Disabling Spotlight Indexing

Spotlight should be enabled. Which optimizations are you looking at.

Spotlight needs to be enabled for Workspace to function.
Unless you’re doing long record passes.
https://avid.secure.force.com/pkb/ar...ng/Optimize-12
Reply With Quote
  #9  
Old 09-30-2023, 03:51 PM
TrentWilliams TrentWilliams is offline
Member
 
Join Date: Aug 2012
Location: Wellington, New Zealand
Posts: 985
Default Re: Disabling Spotlight Indexing

Quote:
Originally Posted by its2loud View Post
Spotlight should be enabled. Which optimizations are you looking at.

Spotlight needs to be enabled for Workspace to function.
Unless you’re doing long record passes.
https://avid.secure.force.com/pkb/ar...ng/Optimize-12

In the optimisation guide for Ventura:


Disable Spotlight Indexing

Running Spotlight on macOS Ventura can impact Pro Tools playback performance.

To turn off Spotlight permanently:

In the Terminal, run "sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist"
To turn off Spotlight until reboot:

In the terminal, run ”sudo mdutil -a -i off”. Consider running this command when you know you will be using Pro Tools on startup.
Exclude any folder or drives from Spotlight indexing and parsing that may be causing Spotlight to parse files during audio playback. This is particularly relevant when parsing large image or video files.
__________________
Pro Tools 2024.3.0|Perpetual • MTRX Studio • HDX1 • Sync-X • S3 • Dock • Mac Mini 2018 - 3.2GHz i7 6-core macOS 13.6 • RAM 64GB DDR4 GPU AMD 6900XT 16GB • Monitor LG 32UL950-W
Reply With Quote
  #10  
Old 09-30-2023, 03:53 PM
TrentWilliams TrentWilliams is offline
Member
 
Join Date: Aug 2012
Location: Wellington, New Zealand
Posts: 985
Default Re: Disabling Spotlight Indexing

Quote:
Originally Posted by Darryl Ramm View Post
Oops and my bad for messing up the bootout example. Which would actually not have given any more clues anyhow, e.g. on my system...

Code:
$ sudo launchctl list | grep mds                       
-	0	com.apple.metadata.mds.scan
-	0	com.apple.metadata.mds.index
-	0	com.apple.msrpc.mdssvc
-	0	com.apple.metadata.mds.spindump

$ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist 
Unload failed: 5: Input/output error
Try running `launchctl bootout` as root for richer errors.

$ sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist 

$ sudo launchctl list | grep mds                                                     
4584	0	com.apple.metadata.mds.scan
4583	0	com.apple.metadata.mds.index
-	0	com.apple.msrpc.mdssvc
4581	0	com.apple.metadata.mds
-	0	com.apple.metadata.mds.spindump

$ sudo launchctl bootout system/com.apple.metadata.mds                              

$ sudo launchctl list | grep mds                       
-	0	com.apple.metadata.mds.scan
-	0	com.apple.metadata.mds.index
-	0	com.apple.msrpc.mdssvc
-	0	com.apple.metadata.mds.spindump

$ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
Unload failed: 5: Input/output error
Try running `launchctl bootout` as root for richer errors.

$ sudo launchctl bootout system/com.apple.metadata.mds
Boot-out failed: 3: No such process
Thanks again for your help with this,

Running:

Code:
 sudo launchctl list | grep mds
Yields:

Code:
-	0	com.apple.metadata.mds.scan
-	0	com.apple.metadata.mds.index
-	0	com.apple.msrpc.mdssvc
111	0	com.apple.metadata.mds
-	0	com.apple.metadata.mds.spindump

This appears as though it's unloaded, I'm unsure about:

Code:
111	0	com.apple.metadata.mds
__________________
Pro Tools 2024.3.0|Perpetual • MTRX Studio • HDX1 • Sync-X • S3 • Dock • Mac Mini 2018 - 3.2GHz i7 6-core macOS 13.6 • RAM 64GB DDR4 GPU AMD 6900XT 16GB • Monitor LG 32UL950-W
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable Spotlight Indexing? jack s. 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) 17 10-15-2010 12:59 PM
disabling Spotlight question Dopamine Pro Tools TDM Systems (Mac) 5 11-04-2008 03:17 AM
The Deal with Spotlight Indexing? Dabeed Pro Tools M-Powered (Mac) 2 01-05-2008 07:18 AM
Spotlight Indexing.....HELP! KMAN385 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) 2 05-10-2007 09:37 AM
Disabling Hard Drive Indexing? francona Pro Tools TDM Systems (Mac) 4 12-06-2001 09:47 AM


All times are GMT -7. The time now is 01:30 AM.


Powered by: vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Limited. Forum Hosted By: URLJet.com