crashreport
问题:总觉得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
相关阅读
mac升级pip报错There was a problem confirming the s
起因:安装fasttext(sudo pip install fasttext) 报错:There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROT
OAuth 2.0:Bearer Token、MAC Token区别
Access Token 类型介绍 介绍两种类型的Access Token:Bearer类型和MAC类型 区别项 Bearer Token MAC Token 1 (优点) 调用简
Microsoft office 2016 for Mac 破解版下载安装
原文地址:https://www.cnblogs.com/liyan-blogs/p/5498293.html1、 下载 office到我网盘下载Microsoft office 2016 for Mac ht
期待已久的Axure 8.0已经发布,今天小编妹妹收集了MAC/windows版下载地址给大家,产品汪/设计湿/交互喵….赶紧围观过来。Axure
文明6 Civilization VI for Mac 中文破解版(策略游戏)
文明6 Civilization VI for Mac是Mac平台上一款非常经典的回合制策略游戏,是由Firaxis Games开发,2K Games发行的文明系列游戏的第