Finder or Spotlight Searching SMB folders

We have a new iMac with shared folders set up. For the first few months, any share that was mounted was easily searchable. Now at random different shares become unsearchable through spotlight or Finder. we can still use Easy Find. What we have found is that propagating permissions does not fix the issue only a computer restart where the shares are.


So my questions in no particular order are:

  1. why did the issue take months to show up
  2. why do only certain folders become unsearchable
  3. why can Easy Find still search and Finder and Spotlight cannot
  4. What happens on a restart that allows the search to work again.


Some information: all iMacs. All running High Sierra. All connected via Ethernet. All sitting on the same LAN including the shared folders. All connect using SMB.


We actually bought a new iMac in the hopes that this behavior would not show up again. NO such luck.


Any help would be wonderul,


Debbie

iMac Line (2012 and Later)

Posted on Jan 10, 2019 10:17 AM

Reply

Similar questions

37 replies

Jan 11, 2019 7:34 AM in response to singerdf

3... Easy Find & find any file do immediate queries of the File System, where Spotlight builds a Database for later use, so most of Spotlight searches aren't in real time


4... Been pondering that, can picture several scenarios but not clear enough pictures to verbalize, sorry.


Do these Mace have any Anti Virus or cleaning SW installed?


Jan 24, 2019 12:39 PM in response to singerdf

<p>some background.</p><p><em>restart the server imac and all works again.</em></p><p>This would be some problem with server communications. I guess it could be the clients who again notice the server after the boot. </p><p><br></p><p><em>I unchecked Bookmarks and History from Spotlight on the server a week ago. Obviously did not help.</em></p><p>Spotlight builds the database on the client/local machine. Every machine is building it's own copy of the database. </p><p><br></p><p>Using console is all very confusing. You want to take a few minutes every once in awhile to look at it. You should start to see patterns so when you look at the console log when the problem occurs you will notice problems. Are there any messages coming out of Spotlight? should start with md* like mdworker. </p><p><br></p><p><br></p><p>I'd run etrecheck on the server. The proprietary stuff gets filtered.</p><p><br></p><p>-- Download etrecheck.&nbsp; Click on the download link at the bottom of the screen.</p><p> http://etrecheck.com/</p><p>-- Run etrecheck.&nbsp;&nbsp; The first five runs are free.</p><p>-- Using EtreCheck by etresoft, the author</p><p> <a href="https://discussions.apple.com/docs/DOC-11591" target="_blank">https://discussions.apple.com/docs/DOC-11591</a></p><p><br></p><p><br></p><p><br></p><p>How to post etrecheck findings:</p>


<p>1) click on "Share report"</p>


<p><img alt="Screen Shot 2018-07-13 at 2.43.50 PM.png"

class="image-0 jive-image"

src="/servlet/JiveServlet/downloadImage/2-33628892-1003319/Screen+Shot+2018-07-13+at+2.43.50+PM.png"


style="max-width: 80%; height: auto;" __jive_id="1003319"

/></p>


<p>2) click on "Copy report"</p>


<p><img alt="Screen Shot 2018-07-13 at 2.44.19 PM.png"

class="jive-image image-2"

src="/servlet/JiveServlet/downloadImage/2-33628892-1003324/Screen+Shot+2018-07-13+at+2.44.19+PM.png"


style="max-width: 80%; height: auto;" __jive_id="1003324"

/></p>


<p>3) Paste the information into an ASC forum reply.</p>


<p></p>

Jan 31, 2019 4:09 PM in response to BDAqua

I am back. Search failed on one of our shares for one of our users. We confirmed that it failed for a number of other users in the same share. We watched the console while we were doing the search. Here is what errorred out:


error 18:56:07.843021 -0500 mds Can't init <private> -- too many objects for MDSTaskRegistry

default 18:56:07.849423 -0500 rpcsvchost Boolean MDSChannelPeerRequest(MDSChannelPeerRef, MDSChannelAccessTokenRef, MDPlistBytesRef, MDPlistBytesRef *): (ipc/send) invalid destination port

default 18:56:07.849453 -0500 rpcsvchost MDSChannelRequestTransact - MDSChannelPeerRequest failed


We had run the terminal command on the share that has the issues most often. It clearly did not solve the problem.


We are baffled at this point.


As always restarting the "server" solves the issue. Maybe the answer is to restart the computer hosting the shares once a week?


So now I ask when you restart a Mac what files or Stores get recreated at that point? Or what routines take place that allow us to search again. Can we run a macro rather than restarting? I have tried searching for that information and have come up blank.


Thank you as always,


Debbie




Jan 31, 2019 4:40 PM in response to singerdf

How many messages did you post? This seems like a better format.

error

18:56:07.843021 -0500 mds Can't init <private> -- too many objects for MDSTaskRegistry

default

18:56:07.849423 -0500 rpcsvchost Boolean MDSChannelPeerRequest(MDSChannelPeerRef, MDSChannelAccessTokenRef, MDPlistBytesRef, MDPlistBytesRef *): (ipc/send) invalid destination port

default

18:56:07.849453 -0500 rpcsvchost MDSChannelRequestTransact - MDSChannelPeerRequest failed


trimmed some more i do not know where error and default go.

18:56:07.843021 -0500 mds Can't init <private> -- too many objects for MDSTaskRegistry

18:56:07.849423 -0500 rpcsvchost Boolean MDSChannelPeerRequest(MDSChannelPeerRef, MDSChannelAccessTokenRef,

MDPlistBytesRef, MDPlistBytesRef *): (ipc/send) invalid destination port

18:56:07.849453 -0500 rpcsvchost MDSChannelRequestTransact - MDSChannelPeerRequest failed


Look on the server and see if it's seeing any thing.


At least the second message and probably the third look like a communication glitch.


perhaps you can down the port then up the port on the server. Perhaps add a wait. Use the ifconfig command on the server. I never quite figured this command out.


You could restart your server sometime in the night.


It's possible to have the log message automatically distributed to other machines. There are apps around to look for these message and do things based on the message.


Have you called apple about this?


I don't know the status of NFS, but is the native unix file transfer protocol. Is built into macos in Yosemite. While nfs is bult-in, the gui isn't. I use "NFS Manager.app". Technically, you could use both on the server and try one client.


R




This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Finder or Spotlight Searching SMB folders

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.