Skip to content

High CPU (80–134%) on 0.60.4 and sustained disk writes (~121 KB/s, 8.6 GB/day) on 0.56.3 #3882

Description

@ravsau

Summary

CodexBar 0.60.4 used 82–134% CPU and ~900 MB RSS about 20 minutes after launch. Separately, macOS logged two disk writes resource reports against 0.56.3 (~121 KB/s sustained, 8.6 GB in ~20 h).

Environment

  • CodexBar 0.60.4 (installed app; the resource reports are from 0.56.3 (134))
  • macOS 26.3 (25D125), Apple Silicon, 16 cores, 128 GB RAM
  • Refresh frequency: 5 minutes
  • openAIWebAccessEnabled = 1, openAIWebBatterySaverEnabled = 0
  • tokenCostUsageEnabled = 1, providerStorageFootprintsEnabled = 1
  • Selected menu provider: codex

CPU / memory (0.60.4)

Measured with ps and top on 2026-09-22, process up for ~20 min:

  PID    RSS  %CPU  ELAPSED  COMM
76028 909120  82.1           CodexBar      (ps -m)
76028        134.2    20:06  CodexBar      (ps -r, a few seconds later)
76028          29.9   307M+  CodexBar      (top -l 2, second sample)

It was the top CPU user on the machine, above WindowServer. I did not capture a sample before the app was quit.

Disk writes (0.56.3)

Two reports in /Library/Logs/DiagnosticReports/:

Report Writes Duration Rate
CodexBar_2026-09-17-175619 2163 MB 17738 s 121.95 KB/s
CodexBar_2026-09-19-111115 8601 MB 70900 s 121.32 KB/s

Both reports show the same heaviest stack: a dispatch lane worker going into OS_dispatch_queue.sync / asyncAndWait → _dispatch_lane_barrier_sync_invoke_and_complete (CodexBar frames unsymbolicated: CodexBar + 12567116 → +12150240 → +12089892 → +12145332 → +12024280 → +23103028 → +23642716). The steady ~10.5 MB per step suggests a cache or snapshot being rewritten on each refresh, not appended to.

Possibly related

I will update to 0.64.1 and report back whether the CPU use and disk writes remain.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal priority bug or improvement with limited blast radius.clawsweeper:needs-infoClawSweeper needs more reporter information before it can verify this issue.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions