UserEventAgent가 100 % CPU 사용량으로 실행되는 원인은 무엇입니까?


17

약 한 달 이래로 MBPr이 팬을 시작하고 때로는 뜨거워지고 있습니다. 활동 모니터는 이것이 100 % CPU 사용량으로 실행되는 UserEventAgent 때문이라고 알려줍니다.

이 스파이크는 약 10-30 분 동안 지속될 수 있으며 모든 것이 정상으로 돌아갑니다. 그 뒤에 이유가없는 것 같습니다. 시작될 때 패턴이없고 중지 할 수있는 작업이 없습니다. 내가 아무것도하지 않고 기다릴 때도 동일한 패턴이 계속 적용됩니다. UserEventAgent가 정상으로 돌아올 때까지 여전히 오랜 시간이 걸립니다.

또한 메시지가 있는지 힌트를 줄 수있는 로그를 확인했지만 메시지는 매번 다릅니다. 항상 UserEventAgent가 팬을 시작하게하는 메시지가 없으며이를 중지시킬 메시지가 없습니다.

내가 발견 한 유일한 것은 UserEventAgent 통계에 기록 된 수많은 오류입니다.

여기에 이미지 설명을 입력하십시오 여기에 이미지 설명을 입력하십시오

알 수있는 방법이 있습니까, UserEventAgent가 건초를 일으키는 원인은 무엇입니까? 어쩌면 터미널 명령 또는 이와 비슷한 것입니까?

참고 : 솔루션을 테스트하기 위해 다음 번 스파이크를 기다려야하기 때문에 테스트하는 데 약간의 시간이 걸립니다.


2015 년 1 월 2 일 업데이트

방금 새 스파이크를 받았습니다.

02.01.16 12:18:14,403 UserEventAgent[47]: Failed to send message because the port couldn't be created.
02.01.16 12:18:14,404 UserEventAgent[347]: com.apple.TMHelperAgent.SetupOffer enabled
02.01.16 12:18:17,234 UserEventAgent[47]: Failed to send message because the port couldn't be created.
02.01.16 12:18:17,235 UserEventAgent[347]: com.apple.TMHelperAgent.SetupOffer enabled
02.01.16 12:19:26,417 UserEventAgent[47]: Captive: [UserAgentDied:143] User Agent @port=101939 Died
02.01.16 12:19:26,422 com.apple.xpc.launchd[1]: (com.apple.UserEventAgent-Aqua[347]) Service exited due to signal: Killed: 9
02.01.16 12:19:26,681 UserEventAgent[16347]: Failed to copy info dictionary for bundle /System/Library/UserEventPlugins/alfUIplugin.plugin
02.01.16 12:20:27,224 UserEventAgent[45]: Failed to copy info dictionary for bundle /System/Library/UserEventPlugins/alfUIplugin.plugin
02.01.16 12:20:27,227 UserEventAgent[45]: Captive: CNPluginHandler en0: Inactive
02.01.16 12:20:27,794 UserEventAgent[45]: Received XPC_ERROR_CONNECTION_INVALID for connection com.apple.backupd.xpc
02.01.16 12:20:27,799 UserEventAgent[45]: Failed to send message because the port couldn't be created.
02.01.16 12:20:28,000 UserEventAgent[45]: nsurlsessiond_events plugin: adding token 1 for client softwareupdate_download_service
02.01.16 12:20:30,795 UserEventAgent[45]: Captive: [CNInfoNetworkActive:1748] en0: SSID 'Boop' making interface primary (protected network)
02.01.16 12:20:30,795 UserEventAgent[45]: Captive: CNPluginHandler en0: Evaluating
02.01.16 12:20:30,797 UserEventAgent[45]: Captive: en0: Probing 'Boop'
02.01.16 12:20:30,897 UserEventAgent[45]: Captive: CNPluginHandler en0: Authenticated
02.01.16 12:20:30,921 com.apple.xpc.launchd[1]: (com.apple.UserEventAgent-LoginWindow) This service is defined to be constantly running and is inherently inefficient.
02.01.16 12:20:31,047 UserEventAgent[217]: Failed to copy info dictionary for bundle /System/Library/UserEventPlugins/alfUIplugin.plugin
02.01.16 12:20:31,072 UserEventAgent[217]: user agent networkd: built Nov  3 2015 13:38:22
02.01.16 12:20:34,359 UserEventAgent[45]: assertion failed: 15C50: com.apple.fsevents.matching + 4704 [80662126-A833-3279-8A32-49393FD4E964]: 0x0
02.01.16 12:20:44,822 com.apple.xpc.launchd[1]: (com.apple.UserEventAgent-Aqua) This service is defined to be constantly running and is inherently inefficient.
02.01.16 12:20:45,031 UserEventAgent[269]: Failed to copy info dictionary for bundle /System/Library/UserEventPlugins/alfUIplugin.plugin
02.01.16 12:20:45,064 UserEventAgent[269]: com.apple.TMHelperAgent.SetupOffer enabled
02.01.16 12:20:45,167 UserEventAgent[269]: user agent networkd: built Nov  3 2015 13:38:22
02.01.16 12:20:45,453 UserEventAgent[269]: received an unknown event from daemon
02.01.16 12:22:12,000 kernel[0]: process UserEventAgent[45] thread 1395 caught burning CPU! It used more than 50% CPU (Actual recent usage: 86%) over 180 seconds. thread lifetime cpu usage 90.014261 seconds, (88.775576 user, 1.238685 system) ledger info: balance: 90002688195 credit: 90002688195 debit: 0 limit: 90000000000 (50%) period: 180000000000 time since last refill (ns): 104457330065 
02.01.16 12:22:20,007 spindump[442]: Saved cpu_resource.diag report for UserEventAgent version ??? (???) to /Library/Logs/DiagnosticReports/UserEventAgent_2016-01-02-122220_Hennings-MacBook-Pro.cpu_resource.diag

보고서를보고 싶다면 여기에서 찾을 수 있습니다 : https://gist.github.com/hpohlmeyer/da3a91c66061c8572ebe

프로세스가 정상적인 CPU로드로 돌아갈 때 추가 메시지가 없지만 로그에서 무엇을 찾아야하는지 아는 사람이 있습니까?!


2015 년 1 월 23 일 업데이트

최근에는 시간이 지나도 프로세스가 정상으로 돌아 오지 않습니다. UserEventAgent의 정상적인 CPU 사용량을 되찾기 위해 Mac을 다시 시작해야합니다. 실행중인 모든 앱을 닫으려고했지만 전혀 효과가없는 것 같습니다.

내 생각에 그것은 드라이버 관련 문제 일 수 있지만 그것을 추적하는 방법에 대한 실마리는 없습니다. 그렇게 할 방법이 있습니까?

좋아, 현재 다시 시작해도 도움이되지 않습니다. 배터리가 순식간에 죽었고 팬은 항상 최고 속도로 작동합니다. 너무 짜증나!


UserEventAgent에 대한 시스템 로그를 검색하고 일반적인 스파이크 관련 이벤트를 질문에 추가하십시오.
— klanomath

고맙게도, 로그 항목을 추가했지만 오늘 내가 가진 지연 스파이크와 일치하는지 모르겠습니다. 새로운 소식이있을 경우이 게시물을 다시 업데이트하겠습니다…
— Afterlame

답변:


8

방금 Mac에서 전원 케이블을 분리했다가 다시 연결하여이 문제를 해결했습니다. 표시등이 녹색으로 켜지면 화면의 배터리 표시등에 배터리가 충전되었다고 표시되어 있지만 전원 케이블 끝이 잘못 정렬되었거나이 문제를 일으킨 것일 수 있습니다.


3
우와 미친. 나에게도 같은 일이 발생했습니다.이 스레드를 어떻게 / 왜 찾았는지, 나는 당신의 전원 케이블 트릭을 시험해 보았습니다. 모두 UserEventAgent와 launchd각각 내 CPU의 약 50 %, 지금은 둘 다 아무것도 불타는 있었다. 감사!!!
— Todd Lehman

쿨, 어떻게 알았어?
— Bernhard

이 문제는 격일로 발생합니다. 전원 케이블을 분리하면 높은 CPU 부하가 중지됩니다. 그러나 꽤 자주 발생하기 때문에 약간 긴장합니다.
— Bernhard

이것은 나에게도 효과가있었습니다. 어쩌면 무슨 일이 일어나고 있는지 배터리 모드로 전환하여 시도한 작업을 중지하는 것입니까? (때로는 재부팅 할 때까지 블루투스 키보드의 연결이 끊어지기 때문에 언 플러그에주의하는 경우가 있습니다)
— DNax

6

같은 문제입니다. 지워진 드라이브에 10.11.3을 완전히 다시 설치했는데 문제가 지속됩니다. 이것은 OS X 버그이므로 Apple에 버그 보고서를 보내십시오.

내 임시 해결책은 시작 데몬을 비활성화하는 것입니다.

sudo launchctl unload /System/Library/LaunchDaemons/com.apple.UserEventAgent-System.plist

그러나 다음 부팅 전에 또는 안전 모드에서로드해야합니다. 그렇지 않으면 다음 부팅에서 많은 작업이 실패합니다.

불행히도, 우리는 Apple이 이것에 대한 행동을 취하기를 기다려야합니다.


이 문제는 아직 해결 되었습니까? 나는 이제 정확히 똑같은 문제를 겪고 있습니다 (2016 년 10 월)
— gabeio

악성 코드를 다운로드하고 검사를 수행하여 공격의 원인이 된 것으로 보이는 애드웨어를 발견했습니다.
— gabeio

@gabeio Nope, 오늘 High Sierra에서 동일한 문제가 발생했습니다.
— 민트

6

제 경우에는 와콤 타블렛 드라이버 인 것 같습니다.
와콤은 드라이버를로 업데이트했습니다 6.3.15-2 RC. 변경 내역은 다음과 같습니다.

  • 시작시 UserEventAgent가 CPU 사용률 100 % 이상으로 멈춤

방금이 드라이버로 업데이트했는데 제대로 작동하는 것 같습니다.


드라이버 업데이트가 도움이되지 않으면 해당 파일을 삭제해도이 문제가 해결되었습니다.

/Library/LaunchAgents/com.wacom.wacomtablet.plist
/Library/LaunchDemons/com.wacom.displayhelper.plist
당사 사이트를 사용함과 동시에 당사의 쿠키 정책과 개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.