kernel_taskプロセスがCPU(1core)使用率100%になり暴走

MacBook Pro Retina 2.6GHz 16GB を使用していると、時々kernel_taskが暴走してマウスカーソルは動くが、クリックは無視されキーの入力が受け付けなくなる現象が発生します。

この状態だと、ディスプレイを閉じてもappleマークのランプが消えません。

sshでログインしてみるとkernel_taskが、100%になっていることはわかっています。この状態でsudo rebootやsudo haltをやっても再起動や電源が切れることはなく、最後に電源キーで終了させる事しかできません。

使用して一ヶ月半ですが、最初から入っていたLion から10.8.1 の今までで4回。

一応、Safariを操作中にこの状態になる事が多いと感じていますが,ssh でSafariのプロセスをkillしても、画面上はSafariが終了しているが、kernel_taskに変化は有りません。


一応、MacBook Pro 2008 Lateやその他のMacでは起きてません。

原因等分かられる方いらっしゃるでしょうか?

MacBook Pro, Mac OS X (10.7.4)

投稿日 2012/08/30 08:39

返信
返信: 16

2012/08/30 16:28 sea_rain への返信

> この状態でsudo rebootやsudo haltをやっても再起動や電源が切れることはなく、


kernel_task がある程度落ちるまでは次の動作には移りません。

何が原因でkernel_task が 100% になってしまっているのかですね。

アンチウィルスソフトとかは入れてますか?

あるいは、何か、 moutain lion には合わない古いユーティリティとかが入っているとか。

safari に何かバージョンに合わない拡張が入っているとか。

kernel_task が 100% になりそうな直前ぐらいで、アクティビティモニターとか見られませんか?

あるいは、コンソールでいうことを聞かなくなったときに、ssh で入って、top を実行してみるとか。

2012/08/30 16:58 はに への返信

アンチウィルスソフトは、Lionの頃、sophosのfree版を入れていたのですが、全てのMacでフリーズする現象が発生した為、アンインストールし現在アンチウィルスソフトは入っていません。

ちょっと気になるのは、Lionでは動作していた、VMware Fusionの3.1.4をまだアンインストールしていない事くらいですね(アンインストールして様子を見てみます)。

Safariの拡張は、ClickToPlugin 2.7 , Twitter for Safari 1.02 , Evernote Web Clipper 5.6 , ClickToFlash 2.7 , Subscribe To Feed 1.0b1をインストールしてます。
アクティビティモニターは常に動作させていますが、いきなりこの現象が発生してしまい、キー操作(入力)を受け付けないのでフォアグランドにすることができません。

基本sshでloginしてtopを見る事くらいですね。

2012/08/30 20:27 はに への返信

crash.logはありませんでしたが、system.logには以下のものがありました。
実際にkernel_taskが暴走した瞬間は分かっていないのですが。その前後のsystem.logでは、(長くてすいません)


Aug 30 22:17:31 --- last message repeated 2 times ---

Aug 30 22:17:31 condor SystemUIServer[222]: Impossible to find range of h or H in date format.

Aug 30 22:17:34 condor com.apple.launchd[1] (com.daz3d.content_management_service): Throttling respawn: Will start in 10 seconds

Aug 30 22:18:00 --- last message repeated 2 times ---

Aug 30 22:18:00 condor WindowServer[93]: handle_will_sleep_auth_and_shield_windows: no lock state data

Aug 30 22:18:01 condor SystemUIServer[222]: Impossible to find range of h or H in date format.

Aug 30 22:18:04 condor com.apple.launchd[1] (com.daz3d.content_management_service): Throttling respawn: Will start in 10 seconds

Aug 30 22:18:13 condor WindowServer[93]: Created shield window 0x792 for display 0x042803c0

Aug 30 22:18:13 condor WindowServer[93]: device_generate_desktop_screenshot: authw 0x0(0), shield 0x0(0)

Aug 30 22:18:13 condor WindowServer[93]: device_generate_lock_screen_screenshot: authw 0x0(0), shield 0x0(0)

Aug 30 22:18:13 condor kernel[0]: Sound assertion in AppleMikeyI2C at line 267

Aug 30 22:18:13 condor kernel[0]: Sound assertion in AppleMikeyI2C_TS3A8235 at line 249

Aug 30 22:18:13 condor kernel[0]: Sound assertion in AppleMikeyI2C_TS3A8235 at line 335

Aug 30 22:18:13 condor kernel[0]: Sound assertion in AppleMikeyDevice at line 842

Aug 30 22:18:13 condor kernel[0]: Sound assertion in AppleMikeyDevice at line 818

Aug 30 22:18:13 condor kernel[0]: AirPort_Brcm43xx::powerChange: System Sleep

Aug 30 22:18:14 condor kernel[0]: LE is supported - Disable LE meta event

Aug 30 22:18:14 condor kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link down on en1

Aug 30 22:18:15 condor configd[17]: network changed: v4(en1-:172.20.0.97) DNS- Proxy- SMB-

Aug 30 22:18:15 condor.local configd[17]: setting hostname to "condor.local"

Aug 30 22:18:15 condor kernel[0]: IOThunderboltSwitch(0x0)::listenerCallbackStatic - Thunderbolt HPD packet for route = 0x0 port = 11 unplug = 0

Aug 30 22:18:15 condor kernel[0]: IOThunderboltSwitch(0x0)::listenerCallbackStatic - Thunderbolt HPD packet for route = 0x0 port = 12 unplug = 0

Aug 30 22:18:16 condor kernel[0]: TBT W (2): 0x0100 [x]

Aug 30 22:18:16 condor kernel[0]: IOThunderboltSwitch(0x0)::listenerCallbackStatic - Thunderbolt HPD packet for route = 0x0 port = 3 unplug = 0

この時点では多分まだ正常ではないかと、スリープから一応正常に復帰したのではないかというのが次のlogから

Aug 30 22:41:22 condor kernel[0]: Wake reason: EC.LidOpen (User)

Aug 30 22:41:22 condor kernel[0]: AirPort_Brcm43xx::powerChange: System Wake - Full Wake/ Dark Wake / Maintenance wake

Aug 30 22:41:22 condor kernel[0]: AirPort_Brcm43xx::checkInterfacePowerState: Check _pwrOffThreadCall!

Aug 30 22:41:22 condor kernel[0]: RTC: PowerByCalendarDate setting ignored

Aug 30 22:41:22 condor kernel[0]: Previous Sleep Cause: -113

Aug 30 22:41:22 condor kernel[0]: [ PCI configuration begin ]

Aug 30 22:41:22 condor kernel[0]: PCI configuration changed (bridge=183 device=6 cardbus=0)

Aug 30 22:41:22 condor kernel[0]: [ PCI configuration end, bridges 14 devices 17 ]

Aug 30 22:41:22 condor kernel[0]: [ PCI configuration begin ]

Aug 30 22:41:22 condor kernel[0]: PCI configuration changed (bridge=185 device=6 cardbus=0)

Aug 30 22:41:22 condor kernel[0]: [ PCI configuration end, bridges 14 devices 17 ]

Aug 30 22:41:22 condor com.apple.launchd[1] (com.daz3d.content_management_service): Throttling respawn: Will start in 8 seconds

Aug 30 22:41:22 condor.local hidd[59]: MultitouchHID: device bootloaded

Aug 30 22:41:22 condor kernel[0]: AppleUSBMultitouchDriver::checkStatus - received Status Packet, Payload 2: device was reinitialized

Aug 30 22:41:22 condor.local WindowServer[93]: handle_will_sleep_auth_and_shield_windows: no action for lock state 1

Aug 30 22:41:24 condor.local KernelEventAgent[56]: tid 00000000 received event(s) VQ_NOTRESP (1)

Aug 30 22:41:24 condor.local KernelEventAgent[56]: tid 00000000 type 'afpfs', mounted on '/Volumes/Shared加工しました' not responding

Aug 30 22:41:24 condor.local KernelEventAgent[56]: tid 00000000 found 1 filesystem(s) with problem(s)

Aug 30 22:41:24 condor kernel[0]: ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 7 on so 0xffffff806ae3b700

Aug 30 22:41:24 condor kernel[0]: ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 21 on so 0xffffff805d0e9dc0

Aug 30 22:41:24 condor kernel[0]: ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 26 on so 0xffffff805d0e96e0

Aug 30 22:41:24 condor kernel[0]: ASP_TCP asp_tcp_usr_control: invalid kernelUseCount 0

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect started /Volumes/pelican_Movies prevTrigger 21 currTrigger 22

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect: doing reconnect on /Volumes/pelican_Movies

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect: posting to KEA EINPROGRESS for /Volumes/pelican_Movies

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect: Max reconnect time: 30 secs, Connect timeout: 15 secs for /Volumes/pelican_Movies

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/pelican_Movies

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect on /Volumes/Shared加工しました failed 65.

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect: sleep for 1 seconds and then try again

Aug 30 22:41:24 condor.local KernelEventAgent[56]: tid 00000000 received event(s) VQ_NOTRESP (1)

Aug 30 22:41:24 condor.local KernelEventAgent[56]: tid 00000000 type 'afpfs', mounted on '/Volumes/Shared加工しました' not responding

Aug 30 22:41:24 condor.local KernelEventAgent[56]: tid 00000000 type 'afpfs', mounted on '/Volumes/Shared加工しました' not responding

Aug 30 22:41:24 condor.local KernelEventAgent[56]: tid 00000000 type 'afpfs', mounted on '/Volumes/Shared加工しました' not responding

Aug 30 22:41:24 condor.local KernelEventAgent[56]: tid 00000000 found 3 filesystem(s) with problem(s)

Aug 30 22:41:24 condor.local KernelEventAgent[56]: tid 00000000 received event(s) VQ_NOTRESP (1)

Aug 30 22:41:24 condor.local KernelEventAgent[56]: tid 00000000 type 'afpfs', mounted on '/Volumes/Shared加工しました' not responding

Aug 30 22:41:24 condor.local KernelEventAgent[56]: tid 00000000 type 'afpfs', mounted on '/Volumes/Shared加工しました' not responding

Aug 30 22:41:24 condor.local KernelEventAgent[56]: tid 00000000 type 'afpfs', mounted on '/Volumes/Shared加工しました' not responding

Aug 30 22:41:24 condor.local KernelEventAgent[56]: tid 00000000 type 'afpfs', mounted on '/Volumes/Shared加工しました' not responding

Aug 30 22:41:24 condor.local KernelEventAgent[56]: tid 00000000 found 4 filesystem(s) with problem(s)

Aug 30 22:41:24 condor kernel[0]: ASP_TCP asp_tcp_usr_control: invalid kernelUseCount 0

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect started /Volumes/swallow_Software prevTrigger 7 currTrigger 8

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect: doing reconnect on /Volumes/swallow_Software

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect: posting to KEA EINPROGRESS for /Volumes/swallow_Software

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect: Max reconnect time: 30 secs, Connect timeout: 15 secs for /Volumes/swallow_Software

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/swallow_Software

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect on /Volumes/Shared加工しました failed 65.

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect: sleep for 1 seconds and then try again

Aug 30 22:41:24 condor kernel[0]: ASP_TCP asp_tcp_usr_control: invalid kernelUseCount 0

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect started /Volumes/Shared加工しました prevTrigger 7 currTrigger 8

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Shared加工しました' going back to wait

Aug 30 22:41:24 condor kernel[0]: ASP_TCP asp_tcp_usr_control: invalid kernelUseCount 0

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect started /Volumes/scrapbook prevTrigger 26 currTrigger 27

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect: doing reconnect on /Volumes/Shared加工しました

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect: posting to KEA EINPROGRESS for /Volumes/Shared加工しました

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect: Max reconnect time: 30 secs, Connect timeout: 15 secs for /Volumes/scrapbook

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/Shared加工しました

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect on /Volumes/Shared加工しました failed 65.

Aug 30 22:41:24 condor kernel[0]: AFP_VFS afpfs_DoReconnect: sleep for 1 seconds and then try again

Aug 30 22:41:25 condor.local digest-service[87317]: label: default

Aug 30 22:41:25 condor.local digest-service[87317]: dbname: od:/Local/Default

Aug 30 22:41:25 condor.local digest-service[87317]: mkey_file: /var/db/krb5kdc/m-key

Aug 30 22:41:25 condor.local digest-service[87317]: acl_file: /var/db/krb5kdc/kadmind.acl

Aug 30 22:41:25 condor.local digest-service[87317]: digest-request: uid=0

Aug 30 22:41:25 condor.local rpcsvchost[87318]: sandbox_init: com.apple.msrpc.netlogon.sb succeeded

Aug 30 22:41:25 condor.local digest-service[87317]: digest-request: init request

Aug 30 22:41:25 condor.local digest-service[87317]: digest-request: init return domain: CONDOR server: CONDOR

Aug 30 22:41:25 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/pelican_Movies

Aug 30 22:41:25 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect on /Volumes/Shared加工しました failed 65.

Aug 30 22:41:25 condor kernel[0]: AFP_VFS afpfs_DoReconnect: sleep for 2 seconds and then try again

Aug 30 22:41:25 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/swallow_Software

Aug 30 22:41:25 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect on /Volumes/Shared加工しました failed 65.

Aug 30 22:41:25 condor kernel[0]: AFP_VFS afpfs_DoReconnect: sleep for 2 seconds and then try again

Aug 30 22:41:25 condor kernel[0]: AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Shared加工しました' going back to wait

Aug 30 22:41:25 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/Shared加工しました

Aug 30 22:41:25 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect on /Volumes/Shared加工しました failed 65.

Aug 30 22:41:25 condor kernel[0]: AFP_VFS afpfs_DoReconnect: sleep for 2 seconds and then try again

Aug 30 22:41:26 condor kernel[0]: AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Shared加工しました' going back to wait

Aug 30 22:41:27 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/pelican_Movies

Aug 30 22:41:27 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect on /Volumes/Shared加工しました failed 65.

Aug 30 22:41:27 condor kernel[0]: AFP_VFS afpfs_DoReconnect: sleep for 4 seconds and then try again

Aug 30 22:41:27 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/swallow_Software

Aug 30 22:41:27 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect on /Volumes/Shared加工しました failed 65.

Aug 30 22:41:27 condor kernel[0]: AFP_VFS afpfs_DoReconnect: sleep for 4 seconds and then try again

Aug 30 22:41:27 condor kernel[0]: AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Shared加工しました' going back to wait

Aug 30 22:41:27 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/Shared加工しました

Aug 30 22:41:27 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect on /Volumes/Shared加工しました failed 65.

Aug 30 22:41:27 condor kernel[0]: AFP_VFS afpfs_DoReconnect: sleep for 4 seconds and then try again

Aug 30 22:41:27 condor kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link up on en1, 1-Gigabit, Full-duplex, Symmetric flow-control, Debug [796d,0301,0de1,0300,cde1,3800]

Aug 30 22:41:28 condor kernel[0]: AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Shared加工しました' going back to wait

Aug 30 22:41:29 condor.local configd[17]: network changed: v4(en1+:172.20.0.97) DNS+ Proxy+ SMB+

Aug 30 22:41:29 condor configd[17]: setting hostname to "condor"

Aug 30 22:41:29 condor kernel[0]: AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Shared加工しました' going back to wait

Aug 30 22:41:30 condor com.apple.launchd[1] (com.daz3d.content_management_service): Throttling respawn: Will start in 10 seconds

Aug 30 22:41:30 condor netbiosd[50]: name servers down?

Aug 30 22:41:30 condor KernelEventAgent[56]: tid 00000000 received event(s) VQ_NOTRESP (1)

Aug 30 22:41:30 condor KernelEventAgent[56]: tid 00000000 type 'afpfs', mounted on '/Volumes/Shared加工しました' not responding

Aug 30 22:41:30 condor KernelEventAgent[56]: tid 00000000 type 'afpfs', mounted on '/Volumes/Shared加工しました' not responding

Aug 30 22:41:30 condor KernelEventAgent[56]: tid 00000000 type 'afpfs', mounted on '/Volumes/Shared加工しました' not responding

Aug 30 22:41:30 condor KernelEventAgent[56]: tid 00000000 type 'afpfs', mounted on '/Volumes/Shared加工しました' not responding

Aug 30 22:41:30 condor KernelEventAgent[56]: tid 00000000 found 4 filesystem(s) with problem(s)

Aug 30 22:41:30 condor kernel[0]: AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Shared加工しました' going back to wait

Aug 30 22:41:30 condor kernel[0]: AFP_VFS afpfs_DoReconnect: posting to KEA EINPROGRESS for /Volumes/swallow_MacOSX

Aug 30 22:41:31 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/pelican_Movies

Aug 30 22:41:31 condor kernel[0]: AFP_VFS afpfs_DoReconnect: Logging in with uam 8 /Volumes/pelican_Movies

Aug 30 22:41:31 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/swallow_Software

Aug 30 22:41:31 condor kernel[0]: AFP_VFS afpfs_DoReconnect: Logging in with uam 8 /Volumes/swallow_Software

Aug 30 22:41:31 condor kernel[0]: AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Shared加工しました' going back to wait

Aug 30 22:41:31 condor kernel[0]: AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/Shared加工しました

Aug 30 22:41:31 condor kernel[0]: AFP_VFS afpfs_DoReconnect: Logging in with uam 8 /Volumes/Shared加工しました

Aug 30 22:41:31 condor KernelEventAgent[56]: tid 00000000 received event(s) VQ_NOTRESP (1)

Aug 30 22:41:31 condor KernelEventAgent[56]: tid 00000000 type 'afpfs', mounted on '/Volumes/Shared加工しました' not responding

Aug 30 22:41:31 condor KernelEventAgent[56]: tid 00000000 type 'afpfs', mounted on '/Volumes/Shared加工しました' not responding

Aug 30 22:41:31 condor KernelEventAgent[56]: tid 00000000 found 2 filesystem(s) with problem(s)

Aug 30 22:41:31 condor KernelEventAgent[56]: tid 00000000 received event(s) VQ_NOTRESP (1)

Aug 30 22:41:31 condor KernelEventAgent[56]: tid 00000000 type 'afpfs', mounted on '/Volumes/Shared加工しました' not responding

Aug 30 22:41:31 condor KernelEventAgent[56]: tid 00000000 found 1 filesystem(s) with problem(s)

Aug 30 22:41:32 condor KernelEventAgent[56]: tid 00000000 received event(s) VQ_NOTRESP (1)

Aug 30 22:41:32 condor kernel[0]: AFP_VFS afpfs_DoReconnect: Restoring session /Volumes/Shared加工しました

Aug 30 22:41:32 condor kernel[0]: AFP_VFS afpfs_DoReconnect: get the reconnect token

Aug 30 22:41:32 condor kernel[0]: AFP_VFS afpfs_DoReconnect: Restoring session /Volumes/Shared加工しました

Aug 30 22:41:32 condor kernel[0]: AFP_VFS afpfs_DoReconnect: get the reconnect token

Aug 30 22:41:32 condor kernel[0]: AFP_VFS afpfs_DoReconnect: Restoring session /Volumes/Shared加工しました

Aug 30 22:41:32 condor kernel[0]: AFP_VFS afpfs_DoReconnect: get the reconnect token

Aug 30 22:41:32 condor KernelEventAgent[56]: tid 00000000 received event(s) VQ_NOTRESP (1)

Aug 30 22:41:32 condor kernel[0]: AFP_VFS afpfs_DoReconnect: already reconnected socketID 8 on /Volumes/swallow_MacOSX

Aug 30 22:41:32 condor kernel[0]: AFP_VFS afpfs_DoReconnect: get the reconnect token

Aug 30 22:41:34 condor com.apple.launchd[1] (com.apple.smb.preferences): Throttling respawn: Will start in 1 seconds

Aug 30 22:41:35 --- last message repeated 2 times ---

Aug 30 22:41:35 condor digest-service[87317]: digest-request: uid=0

Aug 30 22:41:35 condor digest-service[87317]: digest-request: init request

Aug 30 22:41:35 condor digest-service[87317]: digest-request: init return domain: CONDOR server: CONDOR

Aug 30 22:41:36 condor netbiosd[50]: name servers down?

Aug 30 22:41:40 condor com.apple.launchd[1] (com.daz3d.content_management_service): Throttling respawn: Will start in 10 seconds

Aug 30 22:42:10 --- last message repeated 2 times ---

Aug 30 22:42:10 condor com.apple.launchd[1] (com.daz3d.content_management_service): Throttling respawn: Will start in 10 seconds

Aug 30 22:42:23 --- last message repeated 1 time ---

Aug 30 22:42:23 condor SystemUIServer[222]: Impossible to find range of h or H in date format.

以下しばらく

condor com.apple.launchd[1]とSystemUIServer[222]:が内容が変わらず1分間に2回程続き、これ以外のLogでは

Aug 30 23:04:37 --- last message repeated 2 times ---

Aug 30 23:04:37 condor WindowServer[93]: Created shield window 0x7a2 for display 0x042803c0

Aug 30 23:04:37 condor WindowServer[93]: device_generate_desktop_screenshot: authw 0x0(0), shield 0x0(0)

Aug 30 23:04:37 condor WindowServer[93]: device_generate_lock_screen_screenshot: authw 0x0(0), shield 0x0(0)


Aug 30 23:06:09 condor kernel[0]: CODE SIGNING: cs_invalid_page(0x1000): p=87573[GoogleSoftwareUp] clearing CS_VALID


Aug 30 23:16:04 --- last message repeated 1 time ---

Aug 30 23:16:04 condor WindowServer[93]: handle_will_sleep_auth_and_shield_windows: no lock state data


Aug 30 23:31:49 condor SubmitDiagInfo[87815]: Removed expired file file://localhost/Users/kei/Library/Logs/DiagnosticReports/WDDriveManagerStatusMenu_2012-07-31-161509_condor.crash

Aug 30 23:31:49 condor SubmitDiagInfo[87815]: Removed expired plist file file://localhost/Users/kei/Library/Logs/DiagnosticReports/.WDDriveManagerStatusMenu_2012-07-31-161509_condor.crash.plist


この時点でお手上げだと気づいて、別のマシンからssh でログイン

Aug 30 23:33:45 condor sshd[87830]: Accepted keyboard-interactive/pam for usernamefrom 172.20.0.98 port 53895 ssh2

Aug 30 23:33:45 condor sshd[87830]: USER_PROCESS: 87833 ttys003


Aug 30 23:42:09 --- last message repeated 1 time ---

Aug 30 23:42:09 condor sudo[87963]: username: TTY=ttys003 ; PWD=/Users/username; USER=root ; COMMAND=/sbin/halt

Aug 30 23:42:09 condor halt[87964]: halted by kei

Aug 30 23:42:09 condor halt[87964]: BOOT_TIME: 1346337729 114623

2012/08/30 22:02 sea_rain への返信

> Aug 30 22:41:24 condor.local KernelEventAgent[56]: tid 00000000 type 'afpfs', mounted on '/Volumes/Shared加工しました' not responding


のメッセージが一杯出ているようですが、これは、”Shared加工しました” という名前のボリュームをマウントしようとして失敗しているみたいです。(AFP のファイル共有?)

何かのプロセスが、実際には存在しないボリュームをマウントしようとしているということはありませんか?

2012/08/30 22:41 sea_rain への返信

ログの表記からすると condor というのが仮想マシンの名前になっているように思います。condor というのはHigh Performance Computing グループというのか UNIXのソサエティで開発されているもののようで,Mac OS X の標準では存在しないようです。もしかしたらVMWareがインストールしているかも知れません。そうならVMWareをアンインストールすれば消えるかと思います。ざっとネット検索して見ただけなので,外してるかも知れませんが。

2012/08/30 22:50 はに への返信

階層やアクセス権等で色々分けた結構な数の/Volumes (Linux Netatalk3.0上のファイルサーバ)ですが、スリープから復帰後の動作で、既にマウントできていた物を再マウントしようとして失敗している物と思います。

スリープから復帰後Thunderbolt経由のEthernetデバイス起動に、時間がかかっているのではないかと思っています。

ただ、正確なkernel_taskの障害が発生した時間が分からないので、確信は持てません。

kernel_taskが100%になると、Fanがうるさく回りだすので割と早く気づけるとは思っていましたが、今回は別の用事をしていて、ディスプレイを閉じてもアップルマークのランプが消えていなかった事で気づきました。

2012/08/31 04:23 sea_rain への返信

sshでのログインをご存じなくらいですから通常行われるSafe Bootなどは実施済みですよね。

sea_rain さんによる書き込み:


file://localhost/Users/kei/Library/Logs/DiagnosticReports/WDDriveManagerStatusMenu_2012-07-31-161509_condor.crash

Aug 30 23:31:49 condor SubmitDiagInfo[87815]: Removed expired plist file file://localhost/Users/kei/Library/Logs/DiagnosticReports/.WDDriveManagerStatusMenu_2012-07-31-161509_condor.crash.plist

ログの最後の方の「.WDDrive(中略)」は何か覚えがありますでしょうか。

それと、

Aug 30 23:31:49 condor SubmitDiagInfo[87815]: Removed expired file

PIDがかなりの数ですが、通常の使用による物でしょうか。


VMware Fusion4.1.3は私のところでは正常にOS X Mountain Lionで動いております。

2012/08/31 05:13 ni_ki への返信

問題が再現する原因がしぼりきれていないため、Safe Boot はまだ試してません。(何せ10日前後で1回程度の障害なので)


WDDrive... は、Westan Digitalの管理ツールで2.5inchのHDD用の物です。(ただ、MacBook Pro 2008 Lateにも同OSのバージョンで管理ツールが入っていて障害は発生していません。)こちらも念のため削除しました。

この管理ツールSnow Leopard頃から全く更新が無い。


VMware FusionはVersion3までのライセンスしか持っていません。Lionでも動いたので、Version 4をスキップさせようと考えてました(Mountain Lionでは動く事を知っていましたが、Retinaの対応は未だでしたし)。

2012/08/31 06:53 ni_ki への返信

私個人としては通常使用と思っております。

Mac mini 2010 mid で

$ uptime

22:40 up 3 days, 21:50, 5 users, load averages: 2.95 2.66 2.47

くらいですが。

4日前くらいだと、OSのアップデートでリーブートしたのだと思います。

topコマンドでプロセス数193個 スレッド数906個

Processes: 193 total, 3 running, 1 stuck, 189 sleeping, 906 threads 22:43:24

Load Avg: 2.30, 2.60, 2.48 CPU usage: 58.36% user, 21.40% sys, 20.23% idle

SharedLibs: 20M resident, 4788K data, 0B linkedit.

MemRegions: 48923 total, 2538M resident, 134M private, 1483M shared.

PhysMem: 1677M wired, 4687M active, 1054M inactive, 7418M used, 8965M free.

VM: 454G vsize, 1052M framework vsize, 3426550(0) pageins, 0(0) pageouts.

Networks: packets: 3500019/2699M in, 3698935/764M out.

Disks: 1052129/19G read, 2480262/60G written.



PID COMMAND %CPU TIME #TH #WQ #POR #MREG RPRVT RSHRD RSIZE

98492 cfprefsd 0.0 00:00.00 2 2 29 41 292K 220K 972K

98411 launchd 0.0 00:00.01 2 0 48 34 328K 384K 800K

95270- DashboardCli 0.0 00:16.57 5 1 122 205 8524K 56M 20M

95269- DashboardCli 0.0 00:18.17 6 1 150 222 8500K 50M 19M

95251 DashboardCli 0.4 18:34.43 6 1 161 334 28M 60M 44M

87295 com.apple.Ha 0.0 00:00.04 2 2 36 52 492K 332K 4212K

87282 com.apple.No 0.0 00:05.46 2 1 93 235 4536K 20M 19M

87264 locationd 0.0 00:02.70 7 1 73 70 1672K 13M 7380K

87260 aosnotifyd 0.0 00:02.60 2 1 53- 50- 844K- 13M 5188K-

86764 syspolicyd 0.0 00:00.39 2 2 32 55 2000K 14M 3420K

86759 VLC 1.5 91:05.56 16 3 295+ 800+ 33M+ 104M 66M+

81391 top 14.4 00:01.49 1/1 0 24 44 1820K 332K 2588K

81336 bash 0.0 00:00.07 1 0 22 25 1288K 820K 2108K

81335 sshd 0.0 00:00.00 1 0 13 89 308K 1592K 1136K


PID が9万程度になっています。


問題のMacBook pro Retinaは

$ uptime

22:44 up 13:34, 3 users, load averages: 0.52 0.66 0.63

まだ、起動後それほど時間が経っていないので、PIDはそれほどにはなっていませんが。

topコマンドでプロセス数が128個スレッドが690個

Processes: 128 total, 3 running, 2 stuck, 123 sleeping, 690 threads 22:39:38

Load Avg: 0.97, 0.71, 0.62 CPU usage: 3.31% user, 1.42% sys, 95.26% idle

SharedLibs: 129M resident, 0B data, 26M linkedit.

MemRegions: 33547 total, 2399M resident, 80M private, 1859M shared.

PhysMem: 1657M wired, 4681M active, 1280M inactive, 7618M used, 8760M free.

VM: 315G vsize, 1284M framework vsize, 129795(0) pageins, 0(0) pageouts.

Networks: packets: 216600/222M in, 122932/17M out.

Disks: 102623/2890M read, 96295/2425M written.



PID COMMAND %CPU TIME #TH #WQ #POR #MREG RPRVT RSHRD RSIZE

2980 top 5.1 00:01.16 1/1 0 24 42 1436K 332K 2204K

2978 com.apple.iC 0.0 00:00.04 4 2 54+ 76+ 1388K- 7596K+ 5940K+

2977 syncdefaults 0.0 00:00.24 4 1 78 116 4612K- 8664K+ 14M

2973 mdworker 0.0 00:00.19 3 1 55 71 3684K- 21M+ 8180K

2964 SyncServer 0.0 00:00.29 2 1 52 109 6360K 26M 15M

2961 DictationIM 0.0 00:00.20 3 1 155 246 7920K 45M 16M

2960 activitymoni 0.0 00:01.11 1 0 23 28 1164K 216K 1868K

2958 Activity Mon 0.0 00:00.76 4 3 136 190 14M 107M 30M

2956 mdworker 0.0 00:00.08 3 1 58 79 2520K 28M 12M

2954 ocspd 0.0 00:00.04 4 1 66 77 1404K 7336K 3544K

2950 rpcsvchost 0.0 00:00.00 16 2 46 91 1316K 788K 3164K

2949 digest-servi 0.0 00:00.01 4 2 43 82 1312K 1008K 3308K

2938 mdworker 0.4 00:00.20 3 1 57 93 8156K 28M 14M-

2821 cookied 0.0 00:00.10 2 1 51 54 2596K 344K 3392K

2012/08/31 18:13 sea_rain への返信

> PID が9万程度になっています


4日間で pid が 90000 にもなるというのはどこかおかしいところがあるのでは?

macosx の pid の上限は 99999 です。この数になると、(空いている)若い番号を使うようです(従って最大の pid は 99998)。4日ぐらいでそこまで達するということは、子プロセスがかなりの勢いで生成していることを窺わせます。ということは、ある一定の確率で、例えば、ゾンビプロセスが死ぬのが間に合わなくて、pid が取れなくなり、子プロセスが動けないことが発生しているのでは?

retina モデルでトラブルということは、ひょっとしたら、retina モデルでは、元々、大きなディスプレイを扱う為に、他のモデルより子プロセスが多く生成されるとか。

2012/08/31 20:38 sea_rain への返信

はに さんもお書きですが、

私個人としては通常使用と思っております。

例えばExcelやPhotoshopやApertureなどを使っている場合はPIDが数日でここまでくることは無いです。一瞬で10,000プロセスくらいを使ってくれる物で、私が過去に覚えがあるのが、makeコマンドを使用した時です。必ずそうなる訳ではないでしょうけど。

一般的なアプリケーションをご使用であれば、PIDのこの数字は何か異常を感じさせます。


ところで、この現象はCachesの異常でも起きるのでは無いでしょうか。Safe Bootで治ったことが有ったのを思い出しました。

2012/08/30 22:58 品川地蔵 への返信

condorはMacbook Proに付けたマシン名です。先ほどVMwareはアンインストールしましたので様子見です。
購入して4回程しか障害が起きていないので、何がトリガーになって発生するのか分からないですが。
VMware Fusionはバージョン5を購入して使おうと思って、そのままにしておいたのが悔やまれます。

このスレッドはシステム、またはAppleコミュニティチームによってロックされました。 問題解決の参考になる情報であれば、どの投稿にでも投票いただけます。またコミュニティで他の回答を検索することもできます。

kernel_taskプロセスがCPU(1core)使用率100%になり暴走

Apple サポートコミュニティへようこそ
Apple ユーザ同士でお使いの製品について助け合うフォーラムです。Apple Account を使ってご参加ください。