Warszawa wrote:
The only sure fix so far is the one suggested by Morten James Carlsen.
The fix I posted proves to be just as temporary as the rest of them... Unfortunately ;-)
I spent the better half of my Sunday, trouble shooting after the Mac slept overnight. It took me 4 hours to rectify. Even resetting AE to Factory defaults did not do the trick... This has got to be the most devious issue I have ever had to troubleshoot...
I did fix, however but none of the usual suspects did the trick....
I am suspecting Spotlight and Sandbox to be possible culprits... I was closely watching the console while all this was going on. And as I was uploading up a bug report to Apple I needed Spotlight (Which I don't use very often) I entered the search string and and immediately the console filled up with mdworker and sandboxd errors and the network connection dropped...
Over the years I have been using various 'extremities' to get my computer to work. Among others, unloading various daemons. Such spotlight, quicklooksatelite, sandbox etc...
I have Apple scripts doing those for so I don't have to enter the terminal all the time...
As the network connection dropped I ran
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
The network connection immediately came back.. after hitting refresh in the browser... So I reloaded it with
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
4 minutes or so later, the network connection dropped. And the console again would fill up with mdworker and sandboxd errors... So I repeated the unload.
Network connection came back again, immediately. This time I did NOT reload. And the connection did not drop for hours. But with that daemon unloaded, spotlight WONT work...
The only thing I could think of that I had not tried and that would have been a Mavericks-relic was the spotlight indexes I had... So I ran a spotlight reload followed by a
sudo mdutil -E /Volumes/*
in the Terminal which would erase and re-index all my drives...
I also disabled ALL Spotlight phone home features from System Preferences... and Safari Preferences...
Since this, I have been running smoothly again...
I have reported the issue..
I fear this is another temporary fix.... And what beats me the most is that I aint sure whether all this is a coincidence or a fix....
Anyway, if any of you aren't scared of doing the unload and load of spotlight which I posted above once the network error occurs, it would be quite interesting to see whether it would fix it for you as well....