Photolibraryd mac os ��� ���

Question: Q: CPU load photolibraryd/photoanalysisd

it is a pity, but an old issue is back. After I was facing some issues with macOS I decided to reinstall everything from scratch and it was all nice for a while. Now, for a week or two, an «old» issue is reoccurring.

Shortly after connecting my Macbook with power, the fan starts to go crazy and makes the Macbook more to act like a heater than a notebook. Looking at the activity monitor I see that photolibraryd and photoanalysisd seem to be competing who could utilize more CPU power.

I knew, this is some kind of known behavior after loading large images or firstly migrating to the new Photos.app. But recall: I have neither added a large amount of images nor is this a fresh installation. It is running fine for 2-3 months already. Also, when opening Photos.app

  • CPU load of the 2 processes decreases, fan is getting slower
  • in the «People» section I cannot see an indication about the face detection needing to do something

Also activity monitor doesn’t show me any larger amount of image files to be accessed..

So well then, are there any advises I should follow other than not to use Photos.app anymore?

For the sake of completion, my environment:

  • Macbook Pro 17″ End 2011
  • CPU: 2,5 GHz Intel Core i7
  • RAM: 16 GB 1333 MHz DDR3
  • Disc: 1 TB SSD
  • macOS Sierra Version 10.12.1

MacBook Pro, OS X Yosemite (10.10.3), MBP 17″ 16GB RAM 2 TB SSHD

Источник

Question: Q: 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

All replies

Loading page content

Page content loaded

Can’t help but would be interested in a response. I have been having these issues and more since updating to Catalina 10.15.5 recently.

Jun 30, 2020 12:42 AM

Maybe you could re-create the old library? I recently re-created Mojave Photos library from scratch by importing 35 000 and several hundred movies to it (350 GB total). (Somehow there were numerous image duplicates in iTunes synced iPad (not in Photos), and I had also fixed the original movies’ various date metadata elsewhere with exiftool and, so I decided to re-create the old library).

Normally I have the library on an external HDD but I created the new library to the internal Mac mini 2018 SSD knowing that it takes a while to scan faces etc especially on the slow HDD. It took «only» a week until it was ready and I then copied the library back to the external HDD.

During that week I tried to peek the Activity Monitor when the Photos daemons did their work. It seems that it didn’t matter if Photos was open in the background or off (only when I was actively using it, those processes halted). And it seemed that the processes stopped their work at some point and only continued sometime the next day so I did not leave the Mac on during the night.

Has anyone tried to give those Photos processes more CPU time via the Terminal so they could do their job any faster?

Источник

Что такое «фотоанализ» и почему он использует 77% моего процессора?

Мы получили новый iMac на Рождество, и последние пару дней он казался очень медленным. В отчаянии я проверил Activity Monitor, и он показывает photoanalysisd как виновный процесс, который загружает мой процессор. Я предполагаю, что это связано с приложением «Фотографии», но оно даже не запущено!

Что такое «фотоанализ», почему он использует 77% моего процессора, и могу ли я безопасно остановить процесс?

В настоящее время ваш iMac обрабатывает фотографии в вашей библиотеке фотографий, возможно потому, что вы только что импортировали / конвертировали существующую библиотеку фотографий из более ранней версии macOS.

Читайте также:  Import fonts windows 10

Если вы подозреваете, что это стало причиной вашей медлительности в течение нескольких дней, то, скорее всего, у вас очень большая библиотека фотографий, и она впервые обрабатывается на вашем новом iMac.

Тот факт, что Photos не работает, в действительности соответствует вашему сценарию, так как запуск приложения Photos приостановит работу photoanalysisd демона.

Хотя это и занимает много времени, после того, как приложение Photos будет выполнено, оно сможет выполнять множество расширенных функций благодаря обработке всех метаданных и т. Д., Поэтому я позволю ему завершить то, что он делает.

НОТА:

Если вам нужно приостановить процесс, чтобы освободить часть вашего процессора, я бы порекомендовал просто открыть приложение «Фотографии» на некоторое время, а затем закрыть его, когда вы не используете компьютер. Тем не менее, обратите внимание, что сворачивание приложения Photos приведет к перезапуску photoanalysisd демона, поэтому просто оставьте его работать в фоновом режиме, пока вы хотите, чтобы демон был приостановлен.

Источник

Question: Q: photolibraryd sucking up CPU in Sierra

I have a moderate sized library

7,000 photos, and sometimes it just goes away for 3 minutes or more with the spinning beach ball. Activity Monitor shows CPU usage of 95–100% for a task called photolibraryd, and Photos is shown in red as «Not Responding». Memory Pressure is low, there is very little other activity, maybe 10 — 15%.

I do have a lot of Smart Albums, and I have folders that are nested 3 – 5 deep, with mostly Smart Albums in them. That may require a lot of index manipulation. I don’t know enough about Photos to have any idea. I have also had Photos crash at least twice while in this state.

In earlier releases this has been attributed to refreshing thumbnails, rebuilding the Faces database, etc. after a new release. I’ve had this release installed for well over a week. I use Photos every day, and the problem isn’t constant as I’ve seen it in earlier releases. Photos comes up, runs for awhile, then I get the beach ball. After awhile

5 minutes everything settles down. Then some time later maybe 10 minutes, maybe 30, here we go again. etc. etc.

MacBook, macOS Sierra (10.12), 8 Gb Ram

Posted on Oct 25, 2016 1:02 PM

Helpful answers

Its processing the facial recognition for the «people» album. It only runs when you are connected to power, so it wont kill your battery.

If you click on the «people» album you can see its progress (note that it will not continue processing while the app is open)

Mine has been doing this for several weeks, basically daily, but I have a pretty big library

Jan 9, 2017 11:15 PM

There’s more to the conversation

Loading page content

Page content loaded

How long have you have Sierra installed? There is a long, CPU intensive pass through the library identifying objects and people — this may take several days or even weeks adn until it is complete you may have seplls like this

Oct 25, 2016 3:13 PM

I’m about a week into Sierra — and CPU also running hard with photolibraryd 24/7 less a few moments when I think its done — and then it restarts. Library is in the 10s of thousands. If this is just face recognition in background, is there any way to know progress? I’d like to use machine on the road, but battery life is now reduced.

Nov 6, 2016 10:05 AM

Its processing the facial recognition for the «people» album. It only runs when you are connected to power, so it wont kill your battery.

If you click on the «people» album you can see its progress (note that it will not continue processing while the app is open)

Mine has been doing this for several weeks, basically daily, but I have a pretty big library

Jan 9, 2017 11:15 PM

One month later and mine is still processing almost daily. I would say its taken a little over 2 months of running in the background nearly every day to process 27,000 photos. So I would guess another month to finish the rest of my library.

Feb 7, 2017 6:16 AM

finally finished 47k photos after 3 months of running almost daily

Mar 5, 2017 6:59 PM

The problem is not strictly the CPU, but the Memory Pressure. Photolibraryd drives mine into the Red (Activity Monitor) on a regular, actually now incessant basis and everything else comes to a halt, this despite leaving the machine running over several nights. Why can’t I just turn it off? In fact, I have had to kill the process on multiple occasions just to get some work done, but it comes screaming back. I am on the point of exporting all my photos and resorting to running iPhoto on an older machine because this is incompatible with use of the MacBook as a professional tool.

Читайте также:  Linux find process with name

Mar 13, 2017 8:42 AM

1 — Patience is a virtue and if you would stop messing with it and let it finish then it would be over — you are extending an required process

2 — you certainly can use any software you want — Photos is not required and many people do not use it for various reasons — be aware that iPhoto is dead and some day with some upgrade will totally quit working leaving you with a mess to resolve with fewer alternatives

3 — a Professional should never be using Photos (or iPhoto for that matter) as they are not professional programs — pros use Lightroom or other professional level programs

Mar 13, 2017 8:54 AM

While faces are a factor, there is more here than just facial recognition. This version of Photos adds object recognition, a feature I did not know about until I actually looked at «What’s New in Photos» a few days ago.

As others have reported, the iMac this morning is about halfway through the photoslibrary after a little less than 72 hours.

photoanalysisd is the top % CPU item but harmlessly so.

Apple points out that now you can search on natural language terms such as «pumpkin» and Photos will respond, quite outside of the system for searching on text present in photo titles, descriptions or keywords.

Enter such a term in the search box and Photos responds with the usual tabulation, at the top of which will be «categories», a new feature, showing the number of photos that match. Here’s an example from the iMac as Photos works its way through around 27,000 photos, this one matching the category «violin».

This photo is not annotated with title or description containing the text «violin». Apple has developed a fine-grained process to produce an accurate match of a photo such as this, showing only a small part of a violin. Thus if photos are detailed, presenting a host of possible or accurate matches, even a machine with a high capability for computational throughput could bog down.

Separately, I have seen iPhoto and Photos both generate false matches for faces, notably on flowers and the hubs of automotive wheels. That’s amusing to be sure, and could possibly contribute to the memory pressure you observe. I have not yet checked whether (or not) Photos has re-populated faces on flower photos from which they earlier were removed manually.

About memory usage and problems I can offer little insight as that is not happening here.

That is a lot of CPU for the iMac

iMac 27 Late-2015 Core i7 4.0 GHz

2 TB Fusion Drive 75% free

MacOS Sierra 10.12.3

Photos 2.0 (3130.0.240)

Yet memory pressure remains within reason. Again that’s a lot for this iMac. But other processes are running ok.

You mention force quit. When Photos halts on error you may very well wind up with a corrupt PhotosLibrary file since the file was not closed correctly. That happened here with iPhoto as the result of a different problem, and required a library rebuild.

I would also check whether there might be other processes that contribute to memory pressure. Trying a shutdown and startup in safe mode might shed some light on that issue.

Источник

Question: Q: photolibraryd crashes my MacBookPro with Catalina

I am working with a 2018 MacBook Pro. For the past 6 weeks now I am experiencing fatal crashes — most times the entire system freezes. I uninstalled apps, removed content, formatted and reinstalled the entire system from scratch. Nothing helped

Finally I realized in system logs that either the kernel task or photolibraryd were always involved when it happened. My photo library is not particularly large (around 11.000 photos, 250 videos), roughly 46 GB in full quality.

I have now restarted the system dozens of times and kept an eye on the acivitiy monitor. The amount of CPU performance that is constantly taken by the photolibraryd service — even days or weeks after my iCloud content has been fully downloaded to the system, is insane. To my knowledge the only purpose of this task is to screen images and perform facial recognition — a feature I never asked for and would gladly disable but apparently that’s not possible.

Since this is an expensive laptop I use primarily for work I finally had enough of this and removed my entire photos library in order to avoid these crashes. That is of course really not an acceptable permanent solution.

Читайте также:  Рекомендуется изменить ваш пароль windows 10 как убрать

The only other clue I can provide is that I have found multiple entries by other users who have also used Microsoft OneDrive — like myself. So may be photolibraryd and the OneDrive system task are conflicting?

Looking forward to ideas how I could permanently disable this unwanted task on my system.

MacBook Pro with Touch Bar

Posted on Sep 10, 2020 9:55 AM

Helpful answers

We see that you’ve been trying to isolate what’s causing the photo library to crash on your MacBook Pro, and we understand wanting to isolate this to prevent it from occurring in the future. You’ve come to the right place for assistance with this.

We’d recommend trying an NVRAM reset to see if this helps to clear up what you’re experiencing. For assistance with that, take a look at the following resource:

If you see that this doesn’t clear up what you’re experiencing, could you let us know if this has occurred since removing the entire photo library?

We look forward to hearing back from you.

Sep 11, 2020 11:55 AM

There’s more to the conversation

Loading page content

Page content loaded

We see that you’ve been trying to isolate what’s causing the photo library to crash on your MacBook Pro, and we understand wanting to isolate this to prevent it from occurring in the future. You’ve come to the right place for assistance with this.

We’d recommend trying an NVRAM reset to see if this helps to clear up what you’re experiencing. For assistance with that, take a look at the following resource:

If you see that this doesn’t clear up what you’re experiencing, could you let us know if this has occurred since removing the entire photo library?

We look forward to hearing back from you.

Sep 11, 2020 11:55 AM

I can tell you that I did not have a reoccurence of the issue for two days while I had my photo library completely removed from the system. When I decided to give it another try and reloaded my Fotos library off my iCloud account it took just a couple hourse before the crash reoccured (resulting in an automatic reboot of my system). Again, the crash log revealed that the photolibrary process was active at the time of the crash.

I have now followed your advise and reset the NVRAM of my Mac. I kept the photo library as is (which means that the process for face detection will kick in again whenever the Fotos app is not running). What amazes me is that this process runs for days — even though my machine is fairly powerful and has sufficient RAM (32GB).

Not sure what Apple is thinking here but it seems absolutely excessive that a modern machine has to do ANYTHING for days in the background while the user is not even asked or aware of the process until — as in my case — it crashes the system.

Sep 13, 2020 1:37 AM

Update from my side. Following the rest of my NVRAM on this machine I ended up working for about 6 hours without a hitch and then yesterday I had several freezes and shutdowns in a row. This time it did not point to the photolibraryd daemon — according to my «Photos» status it apparently finished the process of face recognition.

Upon inspection of my laptop I noticed a relatively high temperature but nothing crazy. However, I ended up elevating my Macbook Pro and used an external fan for extra cooling.

Also, I have since installed Macs Fan Control und coconutBattery. I also came across a post somewhere that said I should connect the USB-C power cable on the right side (I had it connected on the left side of the system before) to avoid heating up that side of the laptop.

What still bothers me is that this laptop has been working fine for about 21 months. Then in July I had to have my keyboard unit swapped because the butterfly switches acted up and I was eligible for the free swap out of the entire unit (I think it comes with batteries etc). The problems started about two weeks after that repair. The Apple service location in my town ran HW checks and told me they could not detect anything faulty.

SOMETHING must have happened during this repair. Not sure whether there is a bad connection somewhere or the system is heating up due to something they did wrong when they closed up the unit again.

I am out of ideas at this point. Anything else I could check?

Источник

Оцените статью