[{"data":1,"prerenderedAt":270},["ShallowReactive",2],{"post-zh-fixing-macos-high-cpu-usage-in-dasd-process-with-antigravity":3,"surround-zh-blog\u002Fzh\u002Fblog\u002Ffixing-macos-high-cpu-usage-in-dasd-process-with-antigravity.md":257},{"id":4,"title":5,"body":6,"canonical":15,"category":241,"date":242,"description":243,"extension":244,"image":245,"meta":246,"navigation":247,"path":248,"seo":249,"slug":250,"status":251,"stem":252,"tags":253,"translationSlug":250,"__hash__":256},"blog\u002Fzh\u002Fblog\u002Ffixing-macos-high-cpu-usage-in-dasd-process-with-antigravity.md","Antigravity 帮助修复 macOS 中 dasd 进程 CPU 占用高的 Bug",{"type":7,"value":8,"toc":231},"minimark",[9,17,28,33,36,41,50,52,56,61,74,88,90,93,96,162,166,172,174,177,183,221,223,226],[10,11,12],"p",{},[13,14],"img",{"alt":15,"src":16},"","\u002Fimages\u002Fposts\u002F2026\u002F09\u002Fimage-1024x576.png",[10,18,19,20,27],{},"今天，我的 Mac（运行最新的 macOS 27.0 beta8）开始变得迟钝，打开活动监视器一查，一个名叫 ",[21,22,23],"strong",{},[24,25,26],"code",{},"dasd"," 的系统进程死死吃满了 90%～120% 的单核 CPU。我搜索了一下，没有找到合适的答案。使用 Google antigravity 一路追踪，结果抓到了一个令人哭笑不得的**“苹果工程师写出跨时区死循环”**的大瓜。",[10,29,30],{},[13,31],{"alt":15,"src":32},"\u002Fimages\u002Fposts\u002F2026\u002F09\u002Fimage-1-1024x685.png",[34,35],"hr",{},[37,38,40],"h2",{"id":39},"不想读太多的直接用这行命令","不想读太多的直接用这行命令：",[42,43,48],"pre",{"className":44,"code":46,"language":47},[45],"language-text","defaults write com.apple.appstored ArcadePayoutResetDate \\\n  -date \"$(date -v+3d -u +\"%Y-%m-%dT%H:%M:%SZ\")\" && \\\n  killall appstoreagent\n","text",[24,49,46],{"__ignoreMap":15},[34,51],{},[37,53,55],{"id":54},"以下是-google-antigravity-的解决过程","以下是 google antigravity 的解决过程",[57,58,60],"h3",{"id":59},"结论与当前状态-bluf","结论与当前状态 (BLUF)",[10,62,63,65,66,73],{},[24,64,26],{}," 持续占用 90%~99% CPU ",[21,67,68,69,72],{},"并非正常的系统开机维护任务，而是 ",[24,70,71],{},"appstoreagent","（App Store 后台服务）陷入了极高频的任务调度死循环","。",[10,75,76,77,80,81,83,84,87],{},"该问题已经定位并",[21,78,79],{},"已完成修复","，",[24,82,26],{}," 的 CPU 占用已从 ",[21,85,86],{},"98.1% 降至 0.0%","，系统恢复正常，无需重启电脑。",[34,89],{},[57,91,92],{"id":92},"根本原因分析",[10,94,95],{},"通过抓取系统统一日志（Unified Logging System）与进程调用链路，发现了确凿的死循环证据：",[97,98,99,110],"ol",{},[100,101,102,105,106,109],"li",{},[21,103,104],{},"死循环任务","：",[24,107,108],{},"com.apple.appstored.ArcadeResetPO","（Apple Arcade 收益指标重置任务）。",[100,111,112,115,116],{},[21,113,114],{},"逻辑缺陷","：\n",[117,118,119,134,143,152],"ul",{},[100,120,121,122,125,126,129,130,133],{},"当前时间为下午，但 ",[24,123,124],{},"com.apple.appstored"," 偏好设置中的 ",[24,127,128],{},"ArcadePayoutResetDate"," 被固定在今天凌晨：",[24,131,132],{},"2026-09-06 00:00:00 +0800","（过去的时间）。",[100,135,136,138,139,142],{},[24,137,71],{}," 执行完重置后，未将其递增到下一个周期（次日），而是继续使用已经过期的 ",[24,140,141],{},"2026-09-06 00:00:00"," 作为新执行时间重新注册。",[100,144,145,147,148,151],{},[24,146,26],{},"（Duet Activity Scheduler）收到调度请求后，发现预定时间早于当前系统时间，判定为超时，立刻下发调度（",[24,149,150],{},"Running immediately on submission","）。",[100,153,154,155,158,159,161],{},"结果：",[21,156,157],{},"每秒触发超过 400 次调度与进程通信","，导致 ",[24,160,26],{}," 持续跑满单核 CPU。",[163,164,165],"h4",{"id":165},"现场日志证据",[42,167,170],{"className":168,"code":169,"language":47},[45],"appstoreagent: [ArcadePayoutReset] Payout metrics reset with current payout reset time: 2026-09-06 00:00:00+0800\nappstoreagent: [ArcadePayoutReset] Reset with reason: Rescheduling\nappstoreagent: [ArcadePayoutReset] Using new date: 2026-09-06 00:00:00+0800 with reason: Rescheduling\nappstoreagent: [ArcadePayoutReset] Activity not scheduled; submitting request\ndasd:          SUBMITTING: 501:com.apple.appstored.ArcadeResetPO\ndasd:          Running immediately on submission\ndasd:          REQUESTING START: 501:com.apple.appstored.ArcadeResetPO\n",[24,171,169],{"__ignoreMap":15},[34,173],{},[57,175,176],{"id":176},"采取的解决措施与验证",[10,178,179,180,182],{},"已通过将偏好项中的调度时间推进至次日，并平滑重启 ",[24,181,71],{}," 打破该死循环：",[97,184,185,193],{},[100,186,187,105,190],{},[21,188,189],{},"执行命令",[24,191,192],{},"defaults write com.apple.appstored ArcadePayoutResetDate -date \"2026-09-06T16:00:00Z\" && killall appstoreagent",[100,194,195,115,198],{},[21,196,197],{},"验证结果",[117,199,200,216],{},[100,201,202,205,206,209,210,212,213,73],{},[24,203,204],{},"top"," \u002F ",[24,207,208],{},"ps"," 监测确认：",[24,211,26],{},"（PID 404）CPU 占用立即降至 ",[21,214,215],{},"0.0%",[100,217,218,220],{},[24,219,71],{}," 重新启动后正常挂起，不再以 400+ 次\u002F秒的频率刷屏日志。",[34,222],{},[10,224,225],{},"经过 google antigravity 一顿操作，CPU 占用下来了。",[10,227,228],{},[13,229],{"alt":15,"src":230},"\u002Fimages\u002Fposts\u002F2026\u002F09\u002Fimage-2-1024x692.png",{"title":15,"searchDepth":232,"depth":232,"links":233},2,[234,235],{"id":39,"depth":232,"text":40},{"id":54,"depth":232,"text":55,"children":236},[237,239,240],{"id":59,"depth":238,"text":60},3,{"id":92,"depth":238,"text":92},{"id":176,"depth":238,"text":176},"coder","2026-09-08","今天，我的 Mac（运行最新的 macOS 27.0 beta8）开始变得迟钝，打开活动监视器一查，一个名叫 dasd 的系统进程死死吃满了 90%～120% 的单核 CPU...","md","\u002Fimages\u002Fposts\u002F2026\u002F09\u002Fimage.png",{},true,"\u002Fzh\u002Fblog\u002Ffixing-macos-high-cpu-usage-in-dasd-process-with-antigravity",{"title":5,"description":243},"fixing-macos-high-cpu-usage-in-dasd-process-with-antigravity","publish","zh\u002Fblog\u002Ffixing-macos-high-cpu-usage-in-dasd-process-with-antigravity",[254,255],"beta","macos","POFrsoHHt0W629ykeIcM7dZfpoicwcz28UZBqT0MSVo",[258,264],{"title":259,"path":260,"stem":261,"slug":262,"date":263,"children":-1},"Frontier Engineering：10 条核心原则","\u002Fzh\u002Fblog\u002Ffrontier-engineering-ten-core-principles","zh\u002Fblog\u002Ffrontier-engineering-ten-core-principles","frontier-engineering-ten-core-principles","2026-09-10",{"title":265,"path":266,"stem":267,"slug":268,"date":269,"children":-1},"Antigravity 2.12.0 新增了 \u002Fboost 命令","\u002Fzh\u002Fblog\u002Fantigravity-2-12-0-boost-command","zh\u002Fblog\u002Fantigravity-2-12-0-boost-command","antigravity-2-12-0-boost-command","2026-09-03",1791430075477]