Mac Bug II UserEventAgent occupies 20 GB of memory and CPU 100%
Phenomenon: power on or log in, UserEventAgent occupies 100% of CPU, memory footprint is growing crazily per second, and has reached 20g by Force Quit
Reproducible: 100% reproducible
Solution: boot up and execute the following shell script and enter the password
Bugpid= `ps-ef | grep UserEventAgent | grep System | awk'{print $2} '`echo' UserEventAgent (System) pid was'$bugpidsleep 2sudo kill-9$ bugpidsleep 1bugpid`ps-ef | grep UserEventAgent | grep System | awk'{print $2} '`echo' UserEventAgent (System) pid is'$bugpid
The following is the same case, but solved by banning some system startup items
Https://discussions.apple.com/message/26003314#message26003314
Http://forums.macrumors.com/threads/usereventagent-using-114-cpu.1741322/
Http://apple.stackexchange.com/questions/221091/what-causes-the-usereventagent-to-run-with-100-cpu-usage