Photolibraryd,photoanalysisd, and com.apple.photos.ImageConversionService constantly using high CPU

Pretty much since I updated to catalina 4 months ago these three processes have been CONSTANTLY using upwards of 90% CPU all the time.



It is rendering Photos almost useless; I'll click on a photo and then on Edit and nothing will show up. If I try dragging a photo off to the desktop I get an endless pinwheel. When I click on photos (and this is the most worrying part!) they're blurry and pixelated, which I KNOW the originals aren't.


I suspect the two things are related. My photos library has over 35K photos in it, going back over 20 years. (before iPhoto, even, but all my existing ones were inported into iPhoto when I started using that...) This was not an issue prior to updating to Catalina.


Is there a way to fix this issue?




Mac mini, macOS 10.12

Posted on Jun 29, 2020 3:53 PM

Reply
Question marked as Top-ranking reply

Posted on Jun 30, 2020 4:48 AM

You may have items in your Photos Library that cannot be processed by Photos 5 on Catalina.

The the processes may get stuck when trying to process the incompatible items over and over again.

Sometimes we can find the items in the catches of the processes.

In the Activity Monitor double click the name of one of the processes, for example "ImageConversionService" or "photoanalysisd" and look at the "Open Files and Ports" tab. Scroll through the open items and look for image files or videos.


I found several items in my library this way. After removing the offending PDF. files and videos from the Photos Library, and restarting the Mac, the image conversion and the upload to iCloud could proceed and finish.

It should look like this in the Activity:


I found, for example, offending files of the cloudphotosd in ~/Pictures/Fotos-Mediathek.photoslibrary/resources/cpl/cloudsync.noindex/storage/filecache/


Similar questions

33 replies

Jul 10, 2020 4:48 AM in response to léonie

Thanks Leonie, that's very helpful. Unfortunately there are no obvious photos or files causing it to get stuck. Photoanalysis is currently running at over 100% CPU. I have not opened Photos for nearly 2 weeks as I kept getting system crashes and freezes. and have not taken any photos on my phone. I tried the usual safe boot, reinstall OS and Apple Support said it must be a hardware issue as the crash reports referred to GPU. However, in the last 2 weeks I have not had a single problem freeze or crash having not opened Photos, so I am convinced Photos is the problem. I notice on the statistics under 'Faults' it says 55603882 - does that number mean anything? It is running 12 threads and 253 ports. Any advice? Thanks

Jul 11, 2020 3:52 PM in response to Bruce Johnson3

That sounds exactly what's happening to me Bruce. It gets stuck on one photo and have to force quit, etc.

Unfortunately I did the double safe-boot thing but it hasn't corrected it : ( However, mine didn't take long at all for it do do the boot cycle so I don't know if that has any significance?

This whole problem started for me after the upgrade to 10.15.5.

Jul 13, 2020 9:51 AM in response to Bruce Johnson3

I’ve been having the identical issue since around April - I know the timing due to lockdown! I have tried the double safe trick and it worked for a while in terms of Photos staying up but other issues like blurry edits remained and Conversion services still swamped the cpu and memory eventually causing a crash. It’s really annoying as I have used Photos since going to a Mac in 2015 with mainly no issues. Any ideas would be useful. A search for the files in the detail of ICS finds nothing nor does trying to open them in Terminal.

Sep 27, 2020 10:21 PM in response to Bruce Johnson3

So yes, this is frustrating to say the least. But at least I have finally found some other people who are experiencing the same problem I am. MacBook Air is constantly hot, photoanalysisid and com.apple.photos.ImageConversionService running at often 90+ CPU, edited pics appearing blurry - unless I click to edit again - and even then not having the editing menu pop up , and of course the pinwheel of doom if I try to drag certain pics to another album or to Line etc. This all started after upgrading my MacBook Air to Catalina. I have tried numerous fixes. I will now be trying the various fixes suggested here!

Jul 2, 2020 2:47 AM in response to Bruce Johnson3

> I have no 'old library' to re-import these from


If the problem does not resolve, you could export the images and movies (either the unmodified originals or, if you have made important edits to the images and metadata, the modified files*). Then create a new library from scratch and import the files back.


(*) I guess that introduces generation loss when jpg is recompressed so I wouldn't do that many times. I wish there was an option to write modified metadata to the exported originals.

Jul 2, 2020 3:47 AM in response to Bruce Johnson3

if you want to create a new library, and your photos are already in iCloud, you can simply create a new, empty library and make this library your system photo library and enable iCloud Photos for this new library.

This way a fresh copy of your library will download from iCloud and you have essentially rebuild the library. The originals and edited versions will remain paired, the metadata preserved, the albums and folders will be preserved. However, I have usually lost some manually added faces, when creating the library this way, also the projects cannot be downloaded from iCloud. I would keep a backup copy of the library.


Jul 13, 2020 7:40 AM in response to Bruce Johnson3

Bruce,


Thanks, that's helpful. I opened Photos for the first time in a while as I read somewhere that if Photos is open the Photoanalysis service pauses - which it did. I then noticed that something had triggered Photos to resync to iCloud and in the status bar on the 'Photos' view it stated that it was trying to upload 2 photos (which have been in the library for years), yet it seems to have got stuck on them. I exported the 2 photos, deleted them from the library, closed Photos and the Photoanalysis service has gone back to 0.1 CPU.


I can only guess that there is a bug that causes high CPU when it encounters an upload problem, but at least I have got to the bottom of it. I just need to solve the problem of Photos freezing now..............


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.

Photolibraryd,photoanalysisd, and com.apple.photos.ImageConversionService constantly using high CPU

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