Photo Agent

Joined
Aug 24, 2012
Messages
101
Reaction score
1
Points
18
Location
adelaide, south australia
Your Mac's Specs
13 "MacBookPro (2011).
Has anybody have any ideas how to get rid of PHOTO AGENT and associated files it is driving me insane. Every day it uses **** loads of CPU and I just can't stop it. VTEncoderXPCService is just ridiculous (178 and upwards).
Anybody....................
 

Rod


Joined
Jun 12, 2011
Messages
10,419
Reaction score
2,483
Points
113
Location
Melbourne, Australia and Ubud, Bali, Indonesia
Your Mac's Specs
2021 M1 MacBook Pro 14" macOS 14.5 Mid 2010MacBook 13" iPhone 13 Pro max, iPad 6, Apple Watch SE.
As you will see its not a really definitive answer to the problem. So as the article suggests backup you photos before trying the suggested method. My suggestion and the simplest method I can think of would be to copy your Photos Library from the Pictures Folder onto an external drive. This can be done by a simple Drag an Drop process leaving your existing library intact. You can rename it as say, Photos Library 2 and open it from the Photos app at any time you wish to compare the contents by holding down the Option key when you launch Photos. You will get a window with options to create a new library or open another available library.
 
Joined
Oct 16, 2010
Messages
18,150
Reaction score
1,899
Points
113
Location
Brentwood Bay, BC, Canada
Your Mac's Specs
2020 27" i9 5K nano iMac, 1TB(partitioned) SSD, GB, macOS 15.3.1 Sequoia
Has anybody have any ideas how to get rid of PHOTO AGENT and associated files it is driving me insane.


Why not just use Find Any File.app (FAF) to seek and delete all the bits and pieces of "Photos Agent"???:
Thomas Tempelmann - Find Any File

Also try using Activity Monitor.app to see what any associated stuff is up to, and use the "X" to quit them or the "i"to maybe see the path and then delete them.



- Patrick
======
 

Rod


Joined
Jun 12, 2011
Messages
10,419
Reaction score
2,483
Points
113
Location
Melbourne, Australia and Ubud, Bali, Indonesia
Your Mac's Specs
2021 M1 MacBook Pro 14" macOS 14.5 Mid 2010MacBook 13" iPhone 13 Pro max, iPad 6, Apple Watch SE.
Have a read of the article link I posted in #2 Patrick.
 
Joined
Oct 16, 2010
Messages
18,150
Reaction score
1,899
Points
113
Location
Brentwood Bay, BC, Canada
Your Mac's Specs
2020 27" i9 5K nano iMac, 1TB(partitioned) SSD, GB, macOS 15.3.1 Sequoia
Have a read of the article link I posted in #2 Patrick.


I had read it Rod. I was just suggesting an alternative solution. If one doesn't need or use it, why not just delete it??? It sure as **** won't run in that condition or use any CPU or other resources!!! :Smirk:



- Patrick
======
 
Joined
Jan 1, 2009
Messages
16,378
Reaction score
4,731
Points
113
Location
Winchester, VA
Your Mac's Specs
MBP 16" 2023 (M3 Pro), iPhone 16 Pro, plus ATVs, AWatch, MacMinis (multiple)
True, Patrick, but there are a LOT of things that depend on that set of apps to accomplish, including photo syncing and iCloud storage. So it's not an easy decision to just whack it. It is an alternative, but a bit like pushing a car off a cliff because it uses too much gas.
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
16,033
Reaction score
2,438
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
I would NOT recommend deleting this component since it's part of what make Photos work. You are better of following the link Rod provided to disable it. Let's stop advocating deleting things that you DON'T understand as a standard tactic for fixing issues.
 
OP
bluecheer
Joined
Aug 24, 2012
Messages
101
Reaction score
1
Points
18
Location
adelaide, south australia
Your Mac's Specs
13 "MacBookPro (2011).
Joined
Oct 16, 2010
Messages
18,150
Reaction score
1,899
Points
113
Location
Brentwood Bay, BC, Canada
Your Mac's Specs
2020 27" i9 5K nano iMac, 1TB(partitioned) SSD, GB, macOS 15.3.1 Sequoia
There's an interesting piece As to how Photos Agent works and what's invloved, in case the OP want't to keep it, and also a suggested method to fix its heavy resources usage:

Photo Agent & High CPU Utilization
Photo Agent's High CPU Utilization Solution

Photos Agent running endlessly on 10.13.4 - Apple Community



- Patrick
======
 
Joined
Jan 1, 2009
Messages
16,378
Reaction score
4,731
Points
113
Location
Winchester, VA
Your Mac's Specs
MBP 16" 2023 (M3 Pro), iPhone 16 Pro, plus ATVs, AWatch, MacMinis (multiple)
Here is an interesting outcome for me. I read that article and one of the throwaway lines in the solution was that permissions were involved. It then immediately shifted to how to change the nice settings using renice. But the permissions comment got me thinking. Photo Agent was using about 30% of CPU for me where before it never made it above a fraction of that. But I had created a new account for me and moved my files from an old account with issues to this new account. I had thought I had shifted it through an external drive to get rid of ownership, but I noted that every once in a while when I opened a document, particularly in Word, it complained that I needed to make a second copy as I only had read access and not read/write access. So, just now, I noted that Photo Agent was about 35%, so I went to /Users/my folder and did a Get Info on it, unlocked the padlock and applied the permissions to all subfolders in my Home directory. Took a while for it to run, but as soon as it was done, Photo Agent disappeared from the first page of Activity Monitor, and it is now showing 0% CPU. Given that Activity Monitor can show tenths of a percent, that means that while it is still there, it's taking less than 0.05% of CPU.

Could that maybe be at play for the OP? Is it worth looking at?
 
Joined
Oct 16, 2010
Messages
18,150
Reaction score
1,899
Points
113
Location
Brentwood Bay, BC, Canada
Your Mac's Specs
2020 27" i9 5K nano iMac, 1TB(partitioned) SSD, GB, macOS 15.3.1 Sequoia
Could that maybe be at play for the OP? Is it worth looking at?


Wow!!! Interesting sleuthing Jake!!


- Patrick
======
 

Slydude

Well-known member
Staff member
Moderator
Joined
Nov 15, 2009
Messages
17,928
Reaction score
1,352
Points
113
Location
North Louisiana, USA
Your Mac's Specs
M1 MacMini 16 GB - Sequoia, iPhone 14 Pro Max, 2015 iMac 16 GB Monterey
OP
bluecheer
Joined
Aug 24, 2012
Messages
101
Reaction score
1
Points
18
Location
adelaide, south australia
Your Mac's Specs
13 "MacBookPro (2011).
True, Patrick, but there are a LOT of things that depend on that set of apps to accomplish, including photo syncing and iCloud storage. So it's not an easy decision to just whack it. It is an alternative, but a bit like pushing a car off a cliff because it uses too much gas.
This has only started happening since the last few OS updates. My question is what the **** are they doing with these updates because it wasn't happening before.
 
OP
bluecheer
Joined
Aug 24, 2012
Messages
101
Reaction score
1
Points
18
Location
adelaide, south australia
Your Mac's Specs
13 "MacBookPro (2011).
Hi MacInWin
Can I have directions to /Users/my folder. I would like to try that. (bluecheer).
 
Joined
Jan 1, 2009
Messages
16,378
Reaction score
4,731
Points
113
Location
Winchester, VA
Your Mac's Specs
MBP 16" 2023 (M3 Pro), iPhone 16 Pro, plus ATVs, AWatch, MacMinis (multiple)
It is your home folder. The one with the little house icon in Finder. I just didn't give MY account name on the post. So it would be at /Users/whatever-your-account-name-is.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top