mac一直ReportCrash

问题:总觉得mac发热厉害,应该是跟cpu的使用有关,在Activity Monitor中看了一下,发现ReportCrash循环往复的出现,直接kill还会再出来,占用的cpu还比较高。我的系统是macos 10.13.1

查了一下,当有进程crash的时候,ReportCrash就会出现,由于进程处于这样一个循环:运行、崩溃、再运行,ReportCrash就会一致出现。

要怎么定位是哪个进程crash了呢?

办法是查看system.log,它的位置:/var/log/system.log,我看了一下我的(可以用console这个应用打开):

May 27 17:08:24 itscs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
May 27 17:08:24 itscs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.dt.XCSBuilderService): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
May 27 17:08:34 itscs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
May 27 17:08:34 itscs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.dt.XCSBuilderService): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
May 27 17:08:44 itscs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
May 27 17:08:44 itscs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.dt.XCSBuilderService): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
May 27 17:08:54 itscs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
May 27 17:08:54 itscs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.dt.XCSBuilderService): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
May 27 17:09:04 itscs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
May 27 17:09:04 itscs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.dt.XCSBuilderService): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
May 27 17:09:14 itscs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
May 27 17:09:14 itscs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.dt.XCSBuilderService): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
May 27 17:09:25 itscs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
May 27 17:09:25 itscs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.dt.XCSBuilderService): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
May 27 17:09:35 itscs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
May 27 17:09:35 itscs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.dt.XCSBuilderService): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
May 27 17:09:45 itscs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
May 27 17:09:45 itscs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.dt.XCSBuilderService): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

看样子有两个进程在不停的循环启动,IMRemoteURLConnectionAgent和XCSBuilderService,后面一个看起来像xcode的,在Activity Monitor中强制退出后,就没有reportcrash了。

参考:
ReportCrash High CPU & How to Disable reportcrash in Mac OSX

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值