Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Mac Bug II UserEventAgent occupies 20 GB of memory and CPU 100%

Shulou Source: shulou.com Published: 2022-06-01 06:00:21 11月25日 Update

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

Tags: Memory same crazy password method case phenomenon system script growth login input Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Docker Xiaomi Linux Huawei