Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

After upgrading, process AMPLibraryAgent is taking up 100% of CPU

Hi. Since upgrading to Catalina this morning there has been a process in Activity Monitor called AMPLibraryAgent running which is taking up 100% of CPU. Does anyone know what this is? I tried killing the process but it just started straight back up again. Mac is sluggish after upgrading and I'm sure this is not helping!

iMac Line (2012 and Later)

Posted on Oct 8, 2019 9:49 AM

Reply
Question marked as Best reply

Posted on Oct 19, 2019 1:54 PM

Pull up a terminal window and type in "man -k AMPLibraryAgent". Man is the built-in manual or help pages and -k means do a keyword search. So you are asking your Mac if it knows of any help pages that refer to or are called AMPLibraryAgent and you will see this:

AMPLIBRARYAGENT(8)        BSD System Manager's Manual       AMPLIBRARYAGENT(8)




NAME


     AMPLibraryAgent -- The media library agent for Music.app and TV.app.




SYNOPSIS


     AMPLibraryAgent




DESCRIPTION


     AMPLibraryAgent is a per-user daemon which manages the user's media.




     There are no configuration options to AMPLibraryAgent.  Users should not


     run AMPLibraryAgent it manually.




Mac OS X                          Dec 6, 2018                         Mac OS X


(END)


While not super-detailed in its description it does verify that this is OK to run on your system as it is a built-in part of macOS. This is not some virus stealing all of your CPU...it is one of Apple's processes stealing all of your CPU. So feel better about it.

Similar questions

20 replies
Question marked as Best reply

Oct 19, 2019 1:54 PM in response to MrApollo

Pull up a terminal window and type in "man -k AMPLibraryAgent". Man is the built-in manual or help pages and -k means do a keyword search. So you are asking your Mac if it knows of any help pages that refer to or are called AMPLibraryAgent and you will see this:

AMPLIBRARYAGENT(8)        BSD System Manager's Manual       AMPLIBRARYAGENT(8)




NAME


     AMPLibraryAgent -- The media library agent for Music.app and TV.app.




SYNOPSIS


     AMPLibraryAgent




DESCRIPTION


     AMPLibraryAgent is a per-user daemon which manages the user's media.




     There are no configuration options to AMPLibraryAgent.  Users should not


     run AMPLibraryAgent it manually.




Mac OS X                          Dec 6, 2018                         Mac OS X


(END)


While not super-detailed in its description it does verify that this is OK to run on your system as it is a built-in part of macOS. This is not some virus stealing all of your CPU...it is one of Apple's processes stealing all of your CPU. So feel better about it.

Oct 20, 2019 8:27 AM in response to MrApollo

try turning off Media Sharing in the Sharing system preference pane and restarting.


when I did this I restarted TV.app and it had the same problem for a few minutes. Once it rebuilt whatever was slowing it down I re-enabled Media sharing and so far no more issue.


sorry this isn't a very technical answer, maybe someone else can figure out exactly what is going on behind the scenes.


hope this helps others, the heat and fan noise was super annoying!

Oct 9, 2019 11:34 PM in response to MrApollo

Ive also had this same thing all thru the beta and now with the new public release.


Intel Power Gadget shows the CPU actually hitting 100% non stop.


Its an Apple Private Framework, so i assume it should just work. Might be an issue with some other software i have installed.


I believe this is used for iPhone in Finder... My iPhone doesnt show and details, just loads non stop.

Oct 13, 2019 2:37 PM in response to MrApollo

Catalina.... so far Im part impressed, and part really annoyed. Mostly annoyed. My iMac is slower than it has ever been. Typically, my restart would take no more than 2 minutes (Fusion drive). Now, I need to restart and walk away. NOT ideal. In looking into the Activity Monitor, Im seeing the AMPLibraryAgent and the photoanalysisd running way too much.


MAC/APPLE PLEASE HELP THIS ISSUE.

Oct 19, 2019 8:28 AM in response to MrApollo

Same here on a Macbook Pro 2019. After I updated to Catalina, the fan came on very often and AMPLibraryAgent is using a lot of CPU.


One more observation after the update, I notice yesterday morning my TimeMachine backup 100s of GB of data. This morning it tried to backup 100s of GB of data again. I don't think I made that much changes in one day. Is it possible AMPLibraryAgent is converting some library to a new format?


Dec 19, 2019 4:31 AM in response to MrApollo

This is empirical, but in my case, it appears to be rebuilding an index of photo file names. I have a fairly large number of photos (>10000) that I share to apple TV. Any time I change anything in a photo folder (add, remove, move), I have to then go into the sharing section of system properties, unchoose the affected folder(s), apply, then rechoose the same folders and apply. This is necessary to get the changes to show up on the Apple TV. As soon as I go through this routine, the AMPLibraryAgent starts up and monopolizes the CPU for at least an hour. During this time, I cannot access any photos on the Apple TV. As soon as the library agent finishes, I can see my changes.


I believe this is necessary so that the apple tv can randomize the viewing order of photos. Apple doesn't send the library to the TV unit, just the index file, which the TV box then uses to point back to the library in whatever order you choose.


It shouldn't take this long to rebuild a database index, so maybe it's something else. Like I said, this is empirical. But it consistently behaves this way. The same thing used to happen when the photo sharing was managed from within iTunes.

After upgrading, process AMPLibraryAgent is taking up 100% of CPU

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