Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

iMacDragon

macrumors 68020
Original poster
Oct 18, 2008
2,357
703
UK
Anyone else having issue where cloudphotod starts using 100% of a cpu core for no apparent reason?

Constantly writing to disk at something like 100MB/s, but no network activity.

Literally just wasted another 1TB of disk writes before I noticed this time and killed it.
 
  • Like
Reactions: OddyOh

skment

macrumors newbie
Nov 13, 2019
8
1
Same here., MBP 15 2018 I've just observed cpu usage but after this post saw it has written 1,4T worth of data. Wtf. Any hints?
 

iMacDragon

macrumors 68020
Original poster
Oct 18, 2008
2,357
703
UK
I never really traced it, but after completely nuking photo library and starting again ( redownloading from icloud ), it seemed to settle... not ideal solution, but wasn't much else I could think to do.
 

melvinlusk

macrumors member
Jun 11, 2019
54
8
Ponchatoula, LA
I'm seeing it as well.....this didn't seem to start until the latest system update.

Terminating cloudphotod only resolves things temporarily, as it will eventually just start back up again.

macOS 10.15.1 (19B88)
Macmini8,1
 

skment

macrumors newbie
Nov 13, 2019
8
1
Yep, back again. Processes running for days now and have written down almost 1,8 TB of data.
 

Zetthard

macrumors newbie
Jan 16, 2020
1
0
Just today I noticed the same thing on 10.15.2. I mean Mac worked normally before. But today I noticed enormous battery drainage. Activity monitor showed crazy CPU usage by cloudpotod and nsurlsessiond processess, while photolibraryd process has the highest battery usage. WTF? It's a mess!
 

iMacDragon

macrumors 68020
Original poster
Oct 18, 2008
2,357
703
UK
Yeah, I gave up with icloud photos for now and just disabled it on mac..
 

TrappedSheep

macrumors newbie
Jan 20, 2020
3
0
I am experiencing same problems for months, nothing helps. My 13" 2017 MacBook Pro (running macOS 10.15.2) battery is ruined because of constant CPU usage, I guess my SSD will die soon too. I think that Apple developers are completely mad and I am becoming insane too.
 

mvhofe

macrumors newbie
Jan 31, 2020
2
0
Hey,
Im having the same issues. Bought the Mac in Dezember 2019 battery totally used. Today I called the apple support. Ill give feedback.
Which model are you using? MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports) 2,4 GHz?
 

mvhofe

macrumors newbie
Jan 31, 2020
2
0
Hey,
Im having the same issues. Bought the Mac in Dezember 2019 battery totally used. Today I called the apple support. Ill give feedback.
Which model are you using? MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports) 2,4 GHz?
Does anyone have the file : com.apple.mediaanalysisd.plist
It will be ordered in Library>LaunchAgent
 

Sindriing

macrumors newbie
Feb 4, 2020
2
0
Mine was a late 2018 15", I'll check in a bit
Anyone else having issue where cloudphotod starts using 100% of a cpu core for no apparent reason?

Constantly writing to disk at something like 100MB/s, but no network activity.

Literally just wasted another 1TB of disk writes before I noticed this time and killed it.
I contacted Apple supported who suggested resetting the NVRAM(sign out of apple ID and restart while holding cmd+options+P+R) This seems to have fixed the issue for me.
 

iMacDragon

macrumors 68020
Original poster
Oct 18, 2008
2,357
703
UK
Report back in a few weeks.. I sometimes got the problem to go away for a while but came back after week or so
 

5nefarious

macrumors newbie
Feb 13, 2020
2
1
I'm seeing the same problem. 2017 MacBook Pro. nsurlsessiond is constantly using at least 100% cpu and has written over 400 GB to disk. cloudphotod is using at least 50% cpu and has written over 1.5 TB. The device is running super hot.

I've already disabled iCloud, deleted all of my local photos, and then reenabled it. If anyone has any suggestions for a fix, I'm all ears. This is ridiculous.
 

Attachments

  • Screen Shot 2020-02-13 at 5.27.29 PM.png
    Screen Shot 2020-02-13 at 5.27.29 PM.png
    143.7 KB · Views: 307
  • Screen Shot 2020-02-13 at 5.28.10 PM.png
    Screen Shot 2020-02-13 at 5.28.10 PM.png
    129.9 KB · Views: 352
  • Like
Reactions: gniirdnis

l3xh2k

macrumors newbie
Jun 6, 2008
13
8
Montreal, Canada
Nothing to add except me too. Part of a growing list of bugs that have me divorcing macos after 19 years of happiness.

In System Preferences->Internet Accounts->iCloud -- I unchecked Photos and my machine got quiet.
(edited to add a possible solution)
 
Last edited:

5nefarious

macrumors newbie
Feb 13, 2020
2
1
A little update: I've been in contact with Apple Support. They had me collect some data to send to their engineering team and I'll be hearing back from them on Thursday.

Hopefully they can trace down what the issue is.
 

iMacDragon

macrumors 68020
Original poster
Oct 18, 2008
2,357
703
UK
never did discover reason, but after switching to a different machine, it did finally resume normality for me.. good luck with engineering finding actual cause.
 

martin.hanes

macrumors newbie
Mar 31, 2020
9
0
Hello everyone. Something new from Apple Support 5nefarious?

I can confirm that simply removing and re-creating system photo library, which is at:
~/Pictures/Photos\ Library.photoslibrary

does NOT resolve the issue. After couple of hours / days, the constant CPU & disk write is back.

I've dug deeper and removed BOTH photos library AND library containers under:
Code:
ls ~/Library/Containers/com.apple.photo*

especially this one:
Code:
rm -fr ~/Library/Containers/com.apple.photolibraryd/

and then I've launched Photos app and created new library and enabled iCloud photos. You'll know you've cleaned it right if the app is starting as on new mac. It asks you for privacy consent, etc. Couple days passed and so far it seems it's working without issues, however, it's not that long to be 100% sure. I wanted to share it with you, since I know how frustrating this can be. Let me know if it helps, I'll update in a couple of days if the problem remains or this fixes the issue.

Martin
 

gizmo1990

macrumors newbie
Jan 23, 2008
1
0
I have this issue ever since updating my early 2015 mbp earlier this week. It's driving me up the wall! nsurlsessiond and trustd are taxing my cpu and making my once beautiful and silent mbp sound like a tornado.

@martin.hanes Could you explain in a little more depth exactly how you achieve your solution? I'm a complete newbie at mac command line stuff. I typed
Code:
ls ~/Library/Containers/com.apple.photo*
and it returned
/Users/James/Library/Containers/com.apple.photoanalysisd:
Container.plist Data

/Users/James/Library/Containers/com.apple.photolibraryd:
Container.plist Data

/Users/James/Library/Containers/com.apple.photomodel:
Container.plist Data

/Users/James/Library/Containers/com.apple.photomoments:
Container.plist Data

/Users/James/Library/Containers/com.apple.photos.ImageConversionService:
Container.plist Data

/Users/James/Library/Containers/com.apple.photos.VideoConversionService:
Container.plist Data

Am I supposed to delete all 6 of those files? Do I do it with your switches rm and -f? What do they do? And do I add the /Users/James/ to my lines or leave them out as in your example?
 

martin.hanes

macrumors newbie
Mar 31, 2020
9
0
Hi @gizmo1990,

for nsurlssessiond, there's another discussion, on this thread.

Not sure if this process is related to iPhotos, cloudphotod, both discussed in this thread. But it could, as other threads are discussing the connection between that and iCloud photos.

The whole situation is somehow strange, Mac acting like this. My approach, still not a verified solution, was to completely remove whole iPhotos System library, and to get rid of all cached files, and start iPhotos from scratch. So since deleting

Code:
~/Pictures/Photos\ Library.photoslibrary
was NOT enough, I've deleted all files in Library/Containers/ starting with com.apple.photo*. And it helped, if not permanently, then at least for a while now.

So to recreate iPhotos lib from scratch, all of it should be remove. If you want to do so (make TimeMachine backup at least before), you can delete it with "rm" command, which is short for "remove", the "-rf" options are f - force, r - recursive into directories (so delete everything inside directories and then the directory itself).

Bash:
rm -fr ~/Library/Containers/com.apple.photo*

Beware, using rm, your "Bin" is not used, and the operation is permanent and non-reversible.

Good luck, make sure you do your backups, and only do so if you know that you need to re-create iPhotos library.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.