Excessive script time relaunch

James Sentman james at sentman.com
Mon Apr 20 10:06:48 EDT 2020


I’m so glad you were able to catch something doing that! Make sure not to let that file become so large that it fills up your hard drive. If this is happening often that file will get huge in short order. Once the problem is tracked down you can disable this but keep the scripts around just in case something triggers it again in the future.

i’m not surprised that the photos image recognition thing gets started up periodically as it’s probably a system level cron job type affair. I am surprised that it gets upset and hangs up like that though. I’ll bet there is a way to stop it from being run at all but you might have to temporarily turn off system integrity protection to do so. I’ll bet some googling around will turn up others who had a similar problem with that background app and have figured out how to disable it. Of course future system updates may return it to normal. Is the machine logged in to iCloud as you? And if so is it trying to sync your iCloud photos or photo stream to the server? If so then that might explain that it is actually doing something as images may be being downloaded from your regular iCloud account and it may be chewing on them. Unless you want a copy of the library maintained there (which isn’t a bad idea actually) I would make sure that the iCloud for photos setting on the server has everything turned off. 

> On Apr 20, 2020, at 6:02 AM, ard jonker <ard.jonker at xs4all.nl> wrote:
> 
> This happened the other day, after I have taken the measures you suggest. I must say, yours _idle really is a smart solution to catch the villain!
> 
>> In XTension if you create a pseudo unit named “_idle” and in ON script
>> if value of (thisUnit) is greater than 9% and (future value) is less than 10% then
>> do async shell script “echo ‘- - - - - - - -‘ >> ~/Documents/psout.txt ; date >> ~/Documents/psout.txt ; ps aux >> ~/Documents/psout.txt”
>> end if
>> 
> 
> Although this time the behaviour was erratic in a different way. It appeared to be a daemon that takes care of Photos' image recognition. That even runs if you have removed the Photos app from your computer :-(
> 

Thanks,
 James


James Sentman                       http://www.PlanetaryGear.org		http://MacHomeAutomation.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20200420/bb7dda32/attachment.html>


More information about the XTensionList mailing list