28 Claude Code Sessions on One Mac: What Stalled

From the guide: Claude Code Comprehensive Guide

I counted 28 Claude Code sessions on a 12-core MacBook Pro with 96 GB of memory, at a load average of 55. In the 13 probe rounds of the next 22 hours that began with the load at 500 or higher, the same single-threaded arithmetic took a median of 3.2 seconds at default priority and 668 seconds under taskpolicy -b. At the census the Mac ran 2,442 processes against a limit of 16,000 and held about a twentieth of the open files it allows. In the week before, a monitor I had politely configured as a background job logged 1,538 starts and a completion line for 1,437 of them, and its own run record said success every time.

TL;DR

  • The background run took longer than the default run in all 150 rounds. Across 150 rounds over 22 hours, default-priority work took a median of 2.7 to 3.8 seconds at every load level. The same work at background priority took a median of 17.8 seconds at the lowest loads and 668 seconds at the highest, and one run took 86 minutes.1
  • The process and file limits were far away. With 28 sessions and three booted simulators, the Mac ran 2,442 processes against limits of 10,666 for one user and 16,000 in all, and held 26,715 open files against a limit of 491,520. The Mac was using memory heavily: the compressor occupied 37.5 GB and swap held 8.75 GB of 10. I found no failure for lack of memory in the measurements or in my notes.1
  • The load average counts runnable threads. It read anywhere from 0.6 to 1,024 on 12 cores. When I sampled the run queue on a later, lighter day, 80% of the runnable threads I counted sat at priority 4 or lower, the priority ps printed for my probe under taskpolicy -b.12
  • A launchd job I had given three background settings logged no completion for one start in 15. In seven days my five-minute monitor logged 1,538 starts, and 101 of them have no matching completion line. On one day 178 minutes passed between completion lines. On the first full day after I changed the priority setting and added a supervisor, a day that peaked at a load of 1,002, 233 of 237 recorded runs succeeded and the other four were partial.1
  • “Every five minutes” was, in my monitor’s logs, five minutes after the previous run ended. On macOS 27.2.1, the shortest of 1,437 gaps between a completion line and the next start line was 301 seconds. Of the 921 gaps I reconstructed after I changed the job’s priority, the shortest was 299 seconds and 901 were 299 to 302, so a 40-second run usually meant about 340 seconds between starts. I did not observe when launchd starts its timer.1
  • Default priority protected arithmetic, not everything. My own sampler ran at default priority and was set to take a sample a minute. Thirty times, with the Mac awake, more than 90 seconds passed between one sample’s start and the next, and eight of those gaps were longer than 10 minutes.1
  • Outside the scheduler, most of the collisions in my notes were over things the Mac has one of: a simulator service, a process name, a build folder, a disk, a keyboard, a working copy.3

The Mac, and what was running on it

The Mac is a 2023 MacBook Pro: an M2 Max with eight performance cores and four efficiency cores, 96 GB of memory, running macOS 27.2.1.1 I use it all day while agent sessions work beside me, each in its own terminal tab, mostly on iOS apps and on this site. On the evening of November 25, with the load average at 55, I took a census of every process and its parent:1

What Count
Processes on the Mac 2,442
Claude Code sessions (claude processes) 28
Process counts summed across the 28 trees, including each root 491
Descendant MCP-pattern matches summed across those trees 393
MCP-pattern processes per session 9 to 23, median 14
Booted iOS simulators 3
Processes in each simulator’s tree, including its launchd 260, 323, and 321
Processes whose command line contained .simruntime/ 876

The median tree held 15 processes, and the median count of MCP-pattern matches per tree was 14. Of the 393 matches, 227 matched one of six specific patterns and 166 matched only the letters “mcp” in the command line, so 393 is a count of matches and I did not confirm that each one is a server. The script walks each tree separately and adds the counts up, so a process that sits in two trees would be counted twice. Claude Code’s documentation says “Stdio servers run as local processes on your machine,” and in the census every session’s tree held at least nine matches of its own.4 The simulators outweighed the agents: three booted devices accounted for more processes than all 28 session trees together.

Against the kernel’s limits, none of it was close:15

Limit Value In use at the census
Processes for one user (kern.maxprocperuid) 10,666 at most 2,442, the count for all users
Processes in total (kern.maxproc) 16,000 2,442
Open files, system-wide (kern.maxfiles) 491,520 26,715

A sampler, started 16 seconds before the census’s timestamp, ran until 11:21 the next morning. I set it to take a sample a minute, and it took 600 samples in 14 hours and 42 minutes, a span that holds 882 minutes; a later section says where the rest went. The sampler’s claude pattern reads whole command lines, where the census read the program’s name, and it matched 28 processes in 573 samples and 29 in the other 27. The process count ranged from 2,163 to 2,931 and open files from 23,952 to 32,927, and the Mac had three to six simulators booted. Each sample ran /usr/bin/true 20 times at default priority, from launch through exit, and kept the median. Across the load bands, the median of those per-sample medians ranged from 3.4 to 5.7 milliseconds, and the slowest single run took 1.4 seconds. Each sample also timed a Python interpreter running pass from launch through exit, and the slowest of those took 5.6 seconds.1

Memory needs more care than the limits do. The figure that memory_pressure -Q prints as the system-wide free percentage ranged from 44% to 61% in the samples. Its manual page does not say how the tool computes it, and it is not memory sitting unused: at the census, vm_stat counted about 81 MB of pages as free. The memory compressor occupied 37.5 GB of the 96 and held the contents of 85.8 GB of pages. Swap in use was 8.75 GB of 10 GB allocated, and the figure moved within a 64 MB range across all 600 samples.16 The Mac was using memory heavily and compressing a large share of it. What I can say is that nothing in the measurements, and no entry in my notes, failed for lack of it.

So the Mac had not run out of processes or files, and I found nothing failing for lack of memory. The next two sections show what some of its work was short of: turns on the CPU.

A load average of 1,000 on 12 cores

In those 600 samples the one-minute load average had a median of 276 and a peak of 1,024. I had been reading that number as demand: a load of 600 on 12 cores sounds like 50 times more work than the Mac can do. That reading is wrong, and the way it is wrong is the subject of the next two sections.

The macOS manual says getloadavg “returns the number of processes in the system run queue averaged over various periods of time.”2 The published kernel source is more exact: each sample is the scheduler’s count of runnable threads, less one, folded into an exponential average.2 A thread that wants the CPU and cannot get it counts for exactly as much as a thread that is using it. The figure says how long the line is. It does not say which threads are in the line or how long any one of them has waited.

The scheduler does not serve the line in order. Apple’s kernel source defines priority bands: default-class work is based at priority 31, utility at 20, and the band it calls throttled tops out at 4.7 On December 1 I ran the probe from the next section once under each of its four settings and asked ps for the priority of its thread: 4 in every sample under taskpolicy -b, 20 in every sample under the utility clamp, and between 18 and 28 at default priority and under nice.1

Earlier the same evening I had sampled every thread on the Mac 45 times, 20 seconds apart, and counted the runnable ones by the priority ps printed for them. The load average during those 15 minutes ran from 38 to 153. Across the samples I counted 4,000 observations of a runnable thread, and a thread that stayed runnable was counted again in each sample. Of those observations, 80% were at priority 4 or lower, and a median of 12 per sample were in the default band of 21 to 31.1 Most of the line was threads at or below the priority where my background probe ran. Among the low-priority processes the sampler kept, the six largest families in each sample, the ones that appeared most were WebKit content processes, Adobe Illustrator, Spotlight’s indexing workers, and Mail: my own open apps as much as system services. When I checked during the sampling, the Mac had no simulators booted, and the load was far lower than in November, so the sample shows what the number can be made of and does not show what it was made of at a load of 700. ps prints a thread’s priority and state. It does not print the thread’s quality-of-service class or the core it ran on, and I measured neither.

The number is also jumpier than its name suggests. In three consecutive samples on November 25, a minute apart, it read 642, then 0.6, then 790. An ideal exponential average over one minute can fall only to 37% of its value in a minute even when no thread at all is runnable, so 642 to 0.6 is not decay. Ten of 599 consecutive pairs of samples fell further than that floor allows.1 I have not found the reason in the published kernel source, and I now treat a single reading of the load average on this Mac as a rough signal.

Five days before I sampled the line, I had timed the same arithmetic at four priority settings. Those timings show how long my probe took at each setting. I did not record which other threads were runnable during those rounds.

The same work at four priorities

The probe is one Python process that adds up 30 million integers, about 2.5 seconds of CPU time at default priority. I timed the loop inside Python, and the CPU figure is the interpreter’s cumulative user and system time at the end of the loop, startup included. Each round ran it four times in a row: at default priority, under nice -n 10, under taskpolicy -c utility, and under taskpolicy -b. The taskpolicy man page describes -c as running a program “using the specified QoS clamp” and -b as running it “after calling setpriority(2) with a priority of PRIO_DARWIN_BG.”8 The fourth setting is what I call background priority in this post. I recorded the one-minute load average at the start of each round. The 150 rounds began between 8:42 p.m. on November 25 and 7:13 p.m. on November 26, a median of 4 minutes 50 seconds apart and as much as 93 minutes apart, for 600 runs in all.1

Load average at the start of the round Rounds Default nice 10 Utility clamp Background
Under 150 4 3.8 s 5.7 s 8.7 s 17.8 s
150 to 300 100 2.7 s 6.1 s 6.7 s 28.8 s
300 to 500 33 3.1 s 3.3 s 6.5 s 60.6 s
500 and over 13 3.2 s 8.3 s 9.8 s 668.2 s

Each cell is the median wall-clock time for the same work. The lowest load at the start of any round was 40 and the highest was 753. Seven of the 13 rounds in the bottom row started while the sampler was still matching 28 or 29 claude processes; I have no session count for the other six.

Default priority barely noticed. Its median stayed between 2.7 and 3.8 seconds in every row, and its wall-clock time stayed close to its CPU time: the median ratio of the two ran from 1.01 to 1.18. Five of the 150 default runs took longer than 10 seconds, and the worst took 31.8. In the round that started at the highest load, 753, the default run took 5.1 seconds.

Background priority fell off a cliff. With the load between 150 and 300, the median background run took 28.8 seconds for 4.4 seconds of CPU time. With the load at 500 or more, the median took 668 seconds, about 11 minutes. Thirteen of the 150 background runs took five minutes or longer, six took more than 1,000 seconds, and the longest took 5,186 seconds: 86 minutes of waiting for a few seconds of arithmetic.1

Apple’s documentation predicts the direction, though not the size, and it speaks of quality-of-service classes where the taskpolicy page speaks of a setpriority call. Apple describes the Background class as one for “work that isn’t visible to the user and may take significant time to complete,” says “the system is more likely to run background tasks on lower performance cores,” and in its older energy guide gives the expected duration of background work as “minutes or hours.”910 Howard Oakley, who has measured core allocation on his own Macs for years, puts it more bluntly: threads at the background level “are run on E cores, and can’t be promoted to run on P cores, even when there are inactive P cores and the E cores are heavily loaded.”11 The probe’s CPU times are consistent with him. The background runs used a median of 4.39 seconds of CPU for work that used 2.51 at default priority, which is what I would expect the same arithmetic to cost on a slower core. I did not record which cores any run used.

One explanation fits the pieces: a job under taskpolicy -b runs at priority 4, most of the runnable threads I counted were at priority 4 or lower, and if such threads are kept to the four efficiency cores, a background job joins a line of dozens to hundreds of threads for four cores. I measured the probe’s priority and the line on December 1, not during the 22 hours of the probe, and I measured no core assignments at all, so the explanation is my reading of measurements taken days apart.

The probe has limits you should hold against it. It is one thread of pure CPU work, so it says nothing about a job that wants all 12 cores or leans on the disk. The four runs in a round happen one after another, and a background run that lasts an hour outlives the load figure recorded when its round began. The top and bottom rows of the table rest on 4 and 13 rounds. And my own notes from earlier in the autumn record work that did slow down when sessions piled up: a video render that normally takes about two minutes took about 10 at a load near 900, and a test suite that runs in 2 minutes 23 seconds once took 29 minutes.3 Neither note records the job’s priority or how many cores it used, the notes are not controlled measurements, and they are the reason I am not claiming that default-priority work is safe. The claim is narrower: across the four load bands the default median varied by 1.1 seconds, and in the highest band the background median exceeded the default median by 665 seconds.

The sampler supplies a counterexample from its own record. It ran at default priority, and it sleeps only for whatever is left of each minute after a sample, so a gap of more than a minute between two samples’ starts is time the sample took to collect or time the script itself waited. Thirty-eight gaps were longer than 90 seconds. Eight of those overlap an hour when the Mac was asleep. The other 30 do not: eight of them were longer than 10 minutes, the longest was 36 minutes, and the load average at the start of those 30 samples had a median of 664, against 276 for all 600. With the Mac awake, those gaps add up to 229 minutes beyond the one-a-minute schedule.1 A sample calls ps twice, times 20 runs of /usr/bin/true and one run of a Python interpreter, and then asks memory_pressure, sysctl, and xcrun simctl for their figures. The 20 short runs stayed fast, and the slowest Python run took 5.6 seconds. I did not time the other steps, so I cannot say which one waited. Whichever it was, a default-priority script that depends on other processes stalled for minutes in the same hours when default-priority arithmetic kept its three-second median. The ranges I gave from the sampler may therefore understate the worst hours, because the minutes it missed followed high readings.

A monitor I had configured as a background job

Two scheduled jobs on this Mac watch my own infrastructure. One reads the Cloudflare zones for my sites every five minutes, and the other checks the Mac itself every 10. I wrote about the first one’s alert volume in Alert Fatigue: 82 Emails in a Day From My Security Monitor. Both ran as launchd agents, and when I set them up I gave both the three settings that looked like good manners for a monitor: ProcessType Background, Nice 10, and LowPriorityIO.

The launchd.plist man page says what the first of those buys:12

Background jobs are generally processes that do work that was not directly requested by the user. The resource limits applied to Background jobs are intended to prevent them from disrupting the user experience.

On a Mac where the user experience is agent sessions and their builds, not disrupting it can mean not running. On November 12 both monitors stopped logging finished runs, one after 7:27 a.m. and the other after 8:42. At 11:26 that morning my notes record 22 sessions and a load average of 587. The notes attribute the missing runs to load and not to a bug in either script: each run crawled, and each monitor’s own watchdog killed it before it finished.3

I went back through the five-minute monitor’s log for the seven days from November 18 to 24. The power log I saved begins at 8:51 p.m. on November 18 and records no sleep from then through November 24.1

Day Starts logged Completion logged No completion logged Longest stretch between completions
Nov 18 220 208 12 100 min
Nov 19 245 242 3 31 min
Nov 20 227 216 11 29 min
Nov 21 227 216 11 28 min
Nov 22 242 239 3 16 min
Nov 23 193 169 24 178 min
Nov 24 184 147 37 82 min
Seven days 1,538 1,437 101

The daily rows pair starts and completions within each day’s log file. Their totals agree with a separate seven-day recount that follows starts across midnight.

The log has a line for a run’s start and a line for its completion, and no line for a kill. The script of that week carried a watchdog that killed a run 240 seconds after it started. A healthy run took about 40 seconds. On the two worst days the slowest tenth took more than two minutes, and on five of the seven days the longest run that did complete took 230 to 240 seconds, at or just under the watchdog’s limit. After each of the 101 starts with no completion line, the next start came no sooner than 541 seconds later, which matches the watchdog’s 240 seconds plus 301 seconds, this job’s shortest wait between runs that week.1 I read the 101 as runs the watchdog killed. The log does not record the cause.

A run that stopped before the step that writes its record could leave no record, and three runs wrote a success record and then logged no completion line. So the monitor’s own record of its runs holds 1,440 entries for those seven days, and every one of them says success. On November 23 the log has no completion line between 2:06 p.m. and 5:04 p.m., 178 minutes. The monitor did report that gap: its log shows it sending the next morning’s digest email at 7:13 a.m., 17 hours after the gap began, with “RUN GAP 178 min at 14:06” in the subject. Six of the seven digests the monitor logged sending from November 19 through 25 had a run gap in the subject. I counted the 101 starts with no completion line separately, from the run log.1

On the morning of November 26 I tested the setting directly. Four throwaway launchd agents ran the same fixed job with only the priority keys changed: about four seconds of arithmetic, then 200 short process starts, then one result line. I ran three rounds, and the load average the jobs read as they finished ranged from 137 to 992. As an Interactive job the arithmetic took 4.4 to 9.0 seconds and the 200 starts took 1.25 to 1.44. As Standard the arithmetic took 3.2 to 18.6 seconds, and with no ProcessType at all it took 2.9 to 58.8; the 200 starts took 0.8 to 28.5 seconds across those six runs. The man page says those two are one setting (“Standard jobs are equivalent to no ProcessType being set”), so I read them as six runs of the same thing. The same page says an unspecified job gets “light resource limits,” “throttling its CPU usage and I/O bandwidth,” and in four of those six runs the arithmetic took 17 seconds or more.12 The agent configured like my monitors, Background with Nice 10 and LowPriorityIO, wrote no result line in any of the three rounds. My notes of that day say I gave it 300 seconds each time. With no line, I cannot say which part of the job it was waiting in.1 Three rounds is a small test, and it does not separate the three settings from each other.

At 9:00 that morning I changed the installed jobs: the five-minute monitor to Interactive, and the 10-minute one to Standard. The man page reserves Interactive for jobs an app’s responsiveness depends on, and a monitor is a stretch of that wording. I chose it because the job is under a minute of light work, and because long gaps between completion lines made a time-sensitive monitor less useful to me.

The rest of that day is the closest comparison I have. The script and its watchdog stayed the same until the evening. All three priority settings changed together, though, the two windows are different hours of one day, and I have no count of sessions for the afternoon.1

November 26 Setting Starts logged Completion logged Median run
1:10 a.m. to 9:00 a.m. Background, Nice 10, LowPriorityIO 45 16 102 s
9:00 a.m. to 9:17 p.m. Interactive 125 124 44 s

I split the day at the modification time of the two property lists. The priority probe’s last round started at 7:13 that evening, and the load it recorded at the start of its rounds had a median of 253 in both windows. The power log has sleep entries from 6:13 to 7:19 a.m., inside the first window. One of the 29 starts with no completion line, at 6:31, came during a brief wake in that hour, and the other 28 came outside it.

That evening I replaced the watchdog. A supervisor process became each job’s main process, built to write a record for every run it starts, including the ones it has to stop.

Day Runs recorded Succeeded Partial Stopped at the deadline Load average, median Load average, highest
Nov 27 237 233 4 0 195 1,002
Nov 28 247 243 3 1 8.6 734
Nov 29 188 178 6 4 3.5 416
Nov 30 249 236 7 6 7.7 803

November 27 is the one heavily loaded day after the change: the load average the supervisor read at each run had a median of 195 and a peak of 1,002, and of the 237 runs recorded, 233 were a full success and four were partial, with a median run of 48 seconds. Across the four days, 98 runs read a load of 300 or higher: the supervisor recorded 93 as a success and five as partial. Partial is its degraded status: the run reached its last step, and either a zone returned no data or the traffic check failed.1 Ten of the 11 runs stopped at the deadline read a load under 50, and I have not established their cause. The table counts every record the supervisor wrote with an end time in those four days, 921 of them, and each has a duration. To check whether any logged start in those four days lacked a corresponding record, I paired the log’s 920 start lines for the same days with the 920 records whose start, reconstructed from the record’s end time and duration, falls in them. Paired in time order, one record to a line, 919 pairs are within 15 seconds of each other and the other is 29 seconds apart, and no two start lines are less than 302 seconds apart.1

The four-day table mixes causes: it has the priority change in it, and the supervisor, and the other fixes to the monitor’s script that went in with the supervisor. The four days run from the Friday after Thanksgiving to the Monday, and the last three have median load readings of 8.6, 3.5, and 7.7. The records do not say why. And the Mac slept during those days, which the next section explains.

The 10-minute monitor is the nearest thing I have to a test of Standard on real work. In the same four days it recorded 428 runs, and 425 succeeded. The 303 runs that read a load under 50 took a median of 34 seconds. Of the 24 that read a load of 300 or more, 21 succeeded, and the 23 with a recorded duration, successful or not, took a median of 583 seconds.1 The five-minute monitor’s 98 runs at those loads in the same four days took a median of 49.5 seconds as Interactive. The two monitors do different work, so the pair is not a controlled comparison, and I have no matched comparison of the 10-minute monitor at two settings: my notes give its run times under the background settings for one night only, 78 to 237 seconds.3 My sampler stalled the same way at default priority, so the 583 seconds may belong to the kind of work, a script that asks other processes about the Mac, as much as to the tier. What the record does show is that as Standard the job kept recording runs, and that its runs were slow when the load was high. On December 1, while I was finishing this post, its last run as Standard took 1,179 seconds at a load of 163, and I moved it to Interactive as well. The first Interactive run I saved succeeded in 118 seconds at a load of 213. One run gives me no matched comparison.

One incident in my notes involves background work I do not schedule myself. On November 8 a fitness app on this Mac kept stalling its sync through iCloud for more than three hours while the load average sat between 450 and 920. The system’s own log for the app’s sync activity read “Delayed Start.” My notes from that evening record that restarting the app and the sync daemon each freed a single upload, and that when the heavy jobs on the Mac were paused, the load fell under 200, the stuck import closed, and three uploads ran within 70 seconds.3 The notes do not record the priority the system gave that sync.

My five-minute job usually started five minutes after the last run ended

For weeks I judged the five-minute monitor against 288 runs a day, because 288 five-minute intervals fit in 24 hours. My first tally for this post said the monitor had completed 65% of its scheduled runs. The denominator was wrong.

The agent’s property list says StartInterval 300, and the man page describes the key as one that “causes the job to be started every N seconds.”12 The logs show what happened on macOS 27.2.1. I measured the time from the end of each run to the start of the next.1

Seconds from one run’s end to the next start November 18 to 24, as Background November 27 to 30, as Interactive
Under 299 0 0
299 to 302 1,046 901
303 to 330 310 10
331 to 600 69 1
Over 600 12 9
Pairs of runs 1,437 921

Not one of the 2,358 gaps was shorter than 299 seconds. The gaps are between my script’s own log lines and records, which are not launchd’s record of when it started the job. The earlier figures come from log lines stamped to the second, and the shortest of them was 301. The later ones I reconstructed from each record’s end time and whole-second duration, so rounding can account for the single reconstructed gap of 299 seconds. Of the 20 later gaps over 302 seconds, 11 have a sleep entry in the power log between the two runs, and the other nine were 303 or 304 seconds. The pattern fits a timer that starts counting when the previous run exits, and I did not observe the timer itself. The logged gap ran past 302 seconds in 391 of the 1,437 earlier pairs, 27%, against 20 of 921 afterward. Three of the four later days had low median loads. On November 27, the heavily loaded one, 225 of 237 reconstructed gaps were at most 302 seconds.

So when a run took 40 seconds, the next run usually started about 340 seconds after that one had started. At that rate a day with no sleep holds about 268 runs of a 22-second job or 248 runs of a 48-second job, and not 288. Measured against what the schedule allows, the monitor’s real problem before the change was the 101 starts with no completion line and the minutes that followed each of them. After a start with no completion, the next start came a median of 585 seconds later. After a completed run, the median from start to next start was 346.1

The man page gives two more ways for an interval to vanish. If the system is asleep when an interval fires, “that interval will be missed,” and if the job is still running, “that interval firing will likewise be missed.”12 The Mac did sleep during the four later days. Between November 27 and November 30, the monitor’s record has 11 stretches of more than 10 and a half minutes between one run’s record and the next, the longest 5 hours 23 minutes. The power log shows the Mac entering sleep inside every one of the 11: idle sleep, low-power sleep, and on November 30 a closed lid.1 In the longest, the next run began 300 seconds after the previous record, spanned a sleep of 5 hours 17 minutes, and ended 5 hours 18 minutes after it began, with a partial result. All 11 stretches contain sleep, and I could not determine whether sleep accounts for every minute of them. The monitor’s record holds no outcome inside any of those stretches.

What exists only once on a Mac

The priority cliff is the part I could measure on demand. The rest of the answer comes from my own records. Before running the probe I had a worker agent read every daily log I kept from June 10 to November 25, the project notes, rule files, and skill files my sessions write for each other, and the 60 most recent digests of my scheduled jobs, and copy out every passage about several sessions or jobs colliding on this Mac, with its file and line. It returned 519 entries. I checked 60 of them, picked at random, against their files and lines, and all 60 matched. The category labels are the worker’s, and an entry is a passage, so one bad evening can account for several. The project notes reach back further than the logs: 18 entries carry dates before June 10, the earliest in April, and 124 give no date.3

What the entry is about Entries
A working copy used by more than one session or scheduled job 75
Rate limits and usage limits 60
Simulators 40
Git collisions between sessions 31
CPU load 29
Process counts and stray processes 13
Disk space 9
MCP servers 7
Monitors and watchdogs 5
Keyboard and screen 4
Build folders 3
Keychain 2
Network ports 1
Memory 0
Other: 159 are scheduled-job deferrals, failures, and timeouts 240

Read the table as a map of where the notes cluster, not as a ranking. One row stands out: in five and a half months, on a Mac with 96 GB of memory, not one passage is about running out of it.

The last row is mixed. Of its 159 scheduled-job lines, 43 cite an active interactive session as the reason the job stood down, 16 cite another run, two cite a lease in backoff, and 23 cite a browser profile locked by an interactive session. The other 75 are failures and timeouts whose line gives no cause involving another session. Those labels say why the job runner stood down. They do not say that a person was at the keyboard: one note traces an interactive-session deferral at 3:00 a.m. to another project’s unattended pipeline.3 I draw nothing from the rest of the row. What the named categories have in common is that most involve something a Mac has one of.

One simulator service, and one of each device. Apple’s own description of the Simulator is “essentially a separate userspace. It has its own launchd, its own daemons, its own frameworks and runs its own applications.”13 That separation accounts for the 260 to 323 processes per device in my census. The devices still share one service: my notes for October 11 describe the CoreSimulator service as one process for the whole Mac, and record it wedging after about five days of uptime, with simctl commands blocked for every session.3 Sessions share devices too, unless a session makes its own. simctl accepts the word booted in place of a device identifier, and its help text says what happens when several are up: “simctl will choose one of them.”14 My notes record one session’s test run taking over the device another session was walking through, sessions shutting down and deleting devices that other sessions were using, and one evening when three sessions ran multi-simulator test passes together: five booted devices, about 1,160 simulator processes, and a load average of 977. Xcode 27 lets agents boot simulators, and it keeps the simulators it boots for previews “within a budget based on your Mac’s resources.”15 I found no documented budget for the simulators that agents boot themselves.

One namespace of process names. One session ended each of its test runs with a pkill whose pattern matched xcodebuild test runs in general. It killed other sessions’ test runs twice on October 16 before anyone connected the interrupted builds to it. Five days later a different session’s pkill killed the test run of a session that was shipping a release. The pattern matched the command line of every session running that kind of test.

One default build folder per project. Two archive builds of the same app for two platforms corrupted each other, because both wrote to the same derived-data folder. The low-level build engine has an error for the neighboring case, and its source carries the diagnosis in the message: “Possibly there are two concurrent builds running in the same filesystem location.”16 xcodebuild takes a -derivedDataPath for the cases where two builds must overlap.17

One disk. The Mac hit zero bytes free on October 10 and again on October 13, when for about 30 minutes even a session’s own tool output could not be written. Per-session scratch folders of 19, 5.6, and 3.4 GB belonged to sessions that were not the one that hit the wall, and no session could tell which of the others’ files were safe to delete. A separate, undated note puts simulator devices at 165 GB. On October 11 the Mac rebooted under a load of 881, and the session that recorded it lost its scratch folder and had to rebuild what was in it.

One keyboard and one screen. A screen-capture script that one session ran sent a click, a select-all, and two letters to whatever was frontmost. What was frontmost was the terminal where I was typing a prompt to a different session.

One working copy per folder. The largest named row in the table is a working copy with more than one user. Forty-three of its 75 entries are a scheduled job declining to run because the checkout had uncommitted changes: 21 of those lines attribute the changes to another session’s work, and 22 name no owner. The others include a scheduled job that died on a usage limit after switching the shared checkout to its own branch, and five days of commits from another session that landed on that branch without anyone noticing. Git’s lock files keep two processes from updating one file at the same instant, and they do nothing about two agents that each believe they own the branch.18 Claude Code and Codex both document worktrees as the answer, and Codex adds the cost in the same breath: “Worktrees can take up a lot of disk space.”1920

One subscription. Of the 60 entries about limits, 47 by my reading concern a Claude or Codex plan’s usage limit; the other 13 concern other services’ quotas and rate limits, capacity errors, and one sign-in gap. A plan’s limit is not on the Mac at all, and it behaves like the other shared things: Anthropic’s documentation says that “running ten agents in parallel uses quota roughly ten times as fast as running one.”21

Apart from the disk, none of these is a limit of the hardware: each is more than one session using one thing. I wrote in Xcode’s Headless MCP Server: What One Approval Grants about one more shared thing: in my test of Xcode’s server, a single agent grant matched all 52 Claude Code connections it logged in one morning, and folder access had grants of its own.

What other people report from smaller Macs

My answer comes from one Mac with far more memory than most. The reports I found from people running this kind of work on 16 to 32 GB machines are mostly about memory. All of what follows is from users’ own bug reports and blog posts, with their numbers, and none of it is my measurement.

  • On a 16 GB M1, 13 open sessions left swap at 8.8 of 10 GB, and the reporter traced a load average of 26 to 54 on eight cores to the kernel compressing and swapping idle sessions’ memory, with the sessions themselves under 1% CPU.22
  • On a 24 GB MacBook, swap reached 9.6 of 10 GB with six sessions open, and the reporter says sessions that fan out agents can use up memory and swap “until macOS kills the terminal in the middle of the work.”23
  • On a 24 GB M4 Pro, Harry Smaje’s MacBook “slowed to a crawl with 19 Claude sessions open”; the MCP servers in those sessions came to 371 processes and swap had grown to 11 GB. He measured what each of his servers costs per session.24
  • On a 32 GB Mac, a reporter counted 120 unarchived desktop sessions, 12 running and 108 idle, found 95 live claude processes and about 90 copies of each of several MCP servers, and reported 41.1 of 42 GB of swap in use at a load average of 258.25
  • On an 18 GB MacBook Pro, 11 agents and a five-agent workflow drove the load average to about 726 with swap full. On another day, seven agents queued on one shared build lock turned a 17-minute check into more than two hours.26

These reports give an owner of a smaller Mac reasons to watch memory and build contention. They do not establish which fails first at a given memory size, and the first reporter traces the load average itself to swapping. Smaje’s 19 sessions carried almost as many MCP-server processes as my census matched in 28. My own swap figure looked like theirs, 8.75 GB in use of 10 allocated, and my compressor occupied 37.5 GB. What I can add is that nothing in my records shows macOS killing a process for memory on this Mac.

Runaway bugs do hit the hard limits; in these reports, honest load did not. One report describes a probe process that hung and piled up: the reporter counted 2,210 hung copies across five sessions, and says that once the count reached the per-user limit of 2,666 processes, new processes failed to start: git pushes, Claude Code’s own shell tool, background tasks, and monitors.27 Apple defines that limit for a single user’s processes, so it binds the account that reached it.5 Another describes a restart loop that opened file descriptors at about 30,000 a second until the system-wide file table of 491,520 was full, the same limit my Mac has, and ended in kernel panics.28 The per-user process limit on that first Mac was a quarter of mine.

Simulators are their own ceiling. Natasha Murashev gave Claude a dedicated Mac mini and found it “could at most run 3 simulators at a time,” then built a queue so agents claim a simulator before they use one.29

What the vendors limit, and where the limits stop

Every limit on running agents that I found in the tools’ documentation counts inside one session or one workflow.

By default, Claude Code refuses a new subagent from its Agent tool once 20 are running in a session. The documentation lists exceptions: forks and resumed subagents can push the count past 20, and one mode is exempt. A workflow follows its own limit, which the documentation gives as “Up to 16 concurrent agents by default, fewer when Claude Code has fewer CPUs available,” separate from the 20.3031 Both numbers can be changed with a setting, and I found neither documented as a count across the sessions on one machine. Codex has the same shape, a setting named agents.max_concurrent_threads_per_session, and its documentation says nothing I could find about how many sessions one machine should run.20 xcodebuild has a flag that caps the simulator destinations one invocation tests on at once, and the flag says nothing about a second invocation.17

Two documented behaviors do respond to the state of the whole machine, and both watch memory. Claude Code stops a session’s running background commands “when the operating system reports critical memory pressure,” provided the session has been idle for at least 30 minutes and no turn or subagent is running. The supervisor behind its agent view stops idle background sessions when memory stays low.3121 Sessions can also list their peers and message each other. Claude Code Desktop can pick up a running simulator that another session opened: its documentation says that when a prompt names no simulator, “Claude uses one that’s already running, even if another parallel session opened it,” and recommends naming a different one in each session’s prompt.32 I found no built-in machine-wide queue for builds or simulators in the vendor documentation I checked, and nothing documented that watches CPU contention or disk across sessions. A user’s feature request asks for the missing piece, a machine-wide queue for heavy local work, and states the problem in one sentence: “None of them knows what the others are doing, so they all start building at once.” The same user had already built a stopgap, a semaphore script with two slots for heavy jobs and a hook that refuses new agents while the machine is overloaded. In the same thread another developer describes a tool of their own: one machine-wide queue that grants build and simulator slots across sessions and sets its capacity from free memory and load, with a Claude Code plugin whose hook refuses direct xcodebuild invocations, Gradle builds, and simctl boot.26

Until the tools coordinate on their own, the Mac’s owner does, by rule or with a separate tool.

What I changed

Each rule below traces to an entry in those notes, the pattern I described in Every Hook Is a Scar.

Anything that must run on time runs at a priority that gets time. The two monitors moved off Background on November 26. The 10-minute one spent five days as Standard, which the man page says is still lightly throttled. From November 27 through 30, its 23 recorded durations at loads of 300 or more had a median of 583 seconds. I cannot say how much of that the tier cost. It has been Interactive since December 1. The first run I saved at that setting succeeded in 118 seconds at a load of 213, and one run is no comparison. Before choosing a ProcessType for a scheduled job I now ask what happens if the job does not run for three hours, because on this Mac a job with those three background settings went 178 minutes without logging a completion.

A scheduled job gets a supervisor that records every run, including the ones it stops. For a week my monitor’s run record held 1,440 successes while its log held 101 starts with no completion line. Six of the seven digest subjects logged from November 19 through 25 flagged a gap, and reading the run log gave me the week’s total of 101. In the four days after the change, the log’s 920 start lines pair one to one with 920 records.

I judge a schedule against what the job’s own logs show. For this monitor, I estimate a day’s runs as the seconds the Mac was awake, divided by 300 plus a typical run time.

Sessions address simulators by identifier, and never by booted. A session creates its own device, uses it, and deletes it. No session shuts down, erases, or deletes a device it did not create, and no session runs a command that acts on all devices.

A session stops only its own processes. A pkill pattern broad enough to be convenient is broad enough to match another session’s work.

No session sends keystrokes or clicks while I am at the keyboard.

Evidence, drafts, and scripts live in a folder that survives a reboot. One reboot erased the temporary scratch folder a session had been using.

Three things are still open. Two builds of one project still share a derived-data folder unless a session passes its own. Scheduled jobs still work in checkouts that sessions use. And I did not add a machine-wide queue for builds and test runs: I have no measurement yet that says how many heavy jobs this Mac should run at once, and I am not going to pick a number without one.

What I did not establish

  • What breaks first as sessions are added. I did not add sessions until something failed, so I have no order of failures and no session count at which they begin. The census found 28 claude processes once, at a load of 55, and the sampler’s pattern matched 28 or 29 until the next morning. The disk filled twice in October, before any of these measurements.
  • No idle baseline. The Mac was never quiet while the probe ran. The lowest load at the start of a round was 40.
  • One kind of work. The probe is single-threaded arithmetic. I did not test disk-bound work or work that wants every core. My render and test notes record slowdowns and give neither the jobs’ priority nor the cores they used.
  • Load is a weak label. I read it once at the start of a round, it swings faster than a one-minute average should, and a long background run outlives the reading.
  • Which setting hurt the monitors. I set Background, Nice 10, and LowPriorityIO together and removed them together. The launchd test had three rounds, and the only evidence about the Background agent is a result line it did not write in 300 seconds.
  • Why 101 starts have no completion line. The log records no kill, exit status, or signal. The timing fits the 240-second watchdog, and that is an inference.
  • Whether Standard slowed the 10-minute monitor. I have no matched comparison of that monitor at two settings.
  • What the run queue looked like under the heaviest load. I sampled it on a lighter day, with no simulators booted.
  • Which cores the background work ran on, and its quality-of-service class. ps prints neither. The link from taskpolicy -b to the efficiency cores rests on Apple’s documentation and Howard Oakley’s measurements.
  • When the StartInterval timer starts. I measured gaps between runs. I did not observe the timer.
  • How close to trouble memory was. memory_pressure -Q printed 44% or more while the compressor occupied 37.5 GB and swap held 8.75 GB. I read the compressor once, at the census, and I have no memory figure I trust for a simulator.
  • Whether each MCP match is a server. The census matched command lines against patterns.
  • Which step of the sampler stalled. I timed the true and Python runs individually, and I could not locate the rest of the delay.
  • Who booted the simulators on November 25 and whether they were in use.
  • The causes in my notes. Each incident is a session’s own account, written at the time. They are records, and none is a controlled test.
  • The 11 deadline stops after the change. Ten of them came at a load under 50.

Key Takeaways

If you run several agent sessions on one Mac:

  • Check the priority settings of every scheduled job you depend on. Under taskpolicy -b my arithmetic probe sometimes waited minutes for seconds of work, and under the three background settings I had given it, my monitor logged no completion for 101 of 1,538 starts in a week, and for 29 of 45 on one morning.
  • Read a high load average as a long line, then find out who is in it. ps -axM -o pid,stat,pri,comm shows each thread’s state and priority.
  • Check memory pressure and swap alongside scheduling. All five reports summarized above describe heavy swap use on 16 to 32 GB Macs, four of them with a session count that runs from 6 to 120, and Harry Smaje’s account points at the MCP servers each session starts. My 96 GB Mac held 8.75 GB of swap too.

If you build or run monitors, sync, or backups:

  • A monitor needs a record of the runs that did not finish. Count starts, and count finishes separately.
  • Measure the gap between a StartInterval job’s runs before you count on its schedule. In my monitor’s logs on macOS 27.2.1, the shortest gap from one run’s end to the next start was 301 seconds between log lines before the change and 299 seconds, reconstructed from run records, after it, and the man page says an interval that fires while the Mac sleeps is missed.
  • Time each step of a monitoring script. My sampler stalled for up to 36 minutes at default priority, and I cannot say where.

If you build agent tools:

  • A per-session limit is not a machine-wide limit. The collisions in my notes are over things a Mac has one of, and the vendor limits I checked leave build and simulator coordination across sessions to the owner or to a separate tool.

FAQ

How many Claude Code sessions can one Mac run?

I found no documented number, and my own records do not produce one. On a 96 GB Mac with 28 sessions open, the whole system ran 2,442 processes against a limit of 16,000, and I found no failure for lack of memory. Reports from 16 to 24 GB Macs describe 8.8 to 11 GB of swap in use with 6 to 19 sessions open.232422 I did not measure the effect of adding sessions. What the sessions do matters as well: on one evening in my notes, three sessions ran simulator test passes at once and the load average read 977.3

Why is my Mac’s load average in the hundreds?

On macOS the load average is an average of the number of runnable threads, whether they are running or waiting.2 Hundreds of low-priority threads waiting for a turn can produce a load in the hundreds while work at default priority keeps running. I sampled the line only on a lighter day, where 80% of the runnable threads I counted were at priority 4 or lower. On my Mac a single-threaded job at default priority took a median of about three seconds in every load band from under 150 to over 500.

Should a launchd job use ProcessType Background?

I would use it only for work that can wait for hours. The man page says the limits on Background jobs exist “to prevent them from disrupting the user experience.”12 On a busy Mac my monitor, set to Background with Nice 10 and LowPriorityIO, logged a completion for 16 of 45 starts in one morning, and the same job logged 124 of 125 from 9:00 a.m. until I replaced its watchdog at 9:17 p.m., as Interactive with the other two settings removed. I did not separate the three settings. Standard is the man page’s default tier and is still lightly throttled. From November 27 through 30 my other monitor ran as Standard and succeeded in 21 of its 24 runs that read a load of 300 or more, and the 23 with a recorded duration took a median of 583 seconds. I cannot say how much of that the tier cost.

Does StartInterval 300 run a job every five minutes?

It did not for my monitor on macOS 27.2.1. The shortest gap from one run’s end to the next start was 301 seconds between log lines before I changed its priority, and 299 seconds, reconstructed from run records, afterward. After the change, 901 of 921 gaps were 299 to 302 seconds, so a 40-second run usually meant about 340 seconds between starts. The man page says an interval that fires while the Mac sleeps is missed.12 I measured one job on one macOS version, and I did not observe when launchd starts its timer.

Do coding agents need a bigger Mac or a second Mac?

My records cannot answer that. On my 96 GB Mac, what I measured was background-priority work waiting, and the reports I found from 16 to 32 GB Macs are mostly about memory and swap. My Mac also held 8.75 GB of swap. I did not run the same work at two memory sizes or measure the effect of adding sessions. The collisions in my notes are over shared things: one simulator service, one disk, one keyboard, one working copy. Separate checkouts address the branch collisions I saw, and they cost disk space. Giving each session its own named simulator addresses two sessions driving one device. The disk, the keyboard, and the simulator service stay shared. I have not measured a second Mac.

What I measured

  • Host: MacBook Pro (Mac14,5), Apple M2 Max, eight performance and four efficiency cores, 96 GB, macOS 27.2.1 (26B131), Xcode 27.2.
  • Units: For my own Mac, GB and MB of memory and swap are binary units, the ones in which it has 96 GB and sysctl reports swap. Other people’s figures keep the units they reported. Times are Pacific.
  • Census: one pass over every process and its parent on November 25, 2026 at 8:40 p.m.
  • Sampler: 600 samples in 14 hours 42 minutes, November 25 at 8:39 p.m. to November 26 at 11:21 a.m., set to one a minute; 38 gaps between sample starts were longer than 90 seconds. Each sample records load, process and thread counts, open files, the memory_pressure free percentage, swap, booted simulators, the median and maximum elapsed times of 20 individual runs of /usr/bin/true, and the elapsed time of one Python run from launch through exit.
  • Priority probe: 150 rounds of four runs; rounds started from November 25 at 8:42 p.m. to November 26 at 7:13 p.m.
  • launchd test: four throwaway agents, three rounds; three of the agents wrote nine result lines on November 26 from 8:06 a.m. to 8:21 a.m., and the Background agent wrote none.
  • Monitor record: the 10-minute monitor’s run records for November 27 to 30; the five-minute monitor’s own log for November 18 to 30, including the digest subjects it logged, its run record for November 18 to 24, its supervisor’s run records for November 27 to 30, and the 10-minute monitor’s records on December 1 around its priority change, with the system power log for sleep from 8:51 p.m. on November 18.
  • Run queue: 45 samples of ps -axM, 20 seconds apart, on December 1, and five ps samples of the probe under each of its four settings the same evening.
  • Notes: 519 passages from my daily logs (June 10 to November 25), project notes, rule and skill files, and the 60 most recent digests of my scheduled jobs, collected by a worker agent; I verified a random 60 against their files, and the splits of the limit and scheduled-job entries are my own reading.

No part of this was a benchmark run on a quiet machine. I generated no load on purpose and booted no simulator for the test. On November 26 I made three changes to the Mac: I loaded four throwaway launchd agents for the priority test and removed them, I changed the two monitors’ priority settings, and that evening I installed the supervisor, together with other fixes to the monitor’s script. On December 1, between the run-queue samples and the probe’s priority check, I moved the 10-minute monitor to Interactive. An agent session collected the data and drafted this post with me, and I am responsible for every claim in it.

References


  1. Author’s measurements on the host described under “What I measured,” November 25 to December 1, 2026. The census, sampler, probe, and log tallies are the author’s own scripts and their saved output. ↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩

  2. Apple, getloadavg(3) manual page, macOS 27.2; and Apple, XNU kernel source, osfmk/kern/sched_average.c and bsd/kern/kern_synch.c, tag xnu-12377.121.6: compute_averages samples the scheduler’s count of all runnable threads, minus one, and compute_averunnable folds it into the three averages. The tag was the newest published one I found on November 25, 2026, and may differ from the kernel on this Mac. ↩↩↩↩

  3. Author’s records: daily working logs from June 10 to November 25, 2026, project notes, rule files, and skill files written by agent sessions (some describing earlier months), and scheduled-job digests. The causes stated in them are the sessions’ own accounts at the time. ↩↩↩↩↩↩↩↩↩

  4. Anthropic, “Connect Claude Code to tools via MCP”, Claude Code documentation: “Stdio servers run as local processes on your machine.” ↩

  5. Apple, sysctl(3) manual page, macOS 27.2: definitions of kern.maxproc, kern.maxprocperuid, and kern.maxfiles. ↩↩

  6. Apple, vm_stat(1) manual page, macOS 27.2.1: “Pages stored in compressor” is “the total number of pages whose contents are stored in the in-memory compressor pool,” and “Pages occupied by compressor” is “the total number of pages used by the in-memory compressor pool.” The memory_pressure(1) manual page on this host does not list -Q and gives no formula for the percentage the tool prints. ↩

  7. Apple, XNU kernel source, osfmk/kern/sched.h, tag xnu-12377.121.6: BASEPRI_DEFAULT 31, BASEPRI_UTILITY 20, MAXPRI_THROTTLE 4, and the timeshare buckets defined between them. ↩

  8. Apple, taskpolicy(8) manual page, macOS 27.2.1 (dated December 4, 2025): the -c clamp and -b background flags. ↩

  9. Apple, “Tuning your code’s performance for Apple silicon”: the QoS classes, and “the system is more likely to run background tasks on lower performance cores.” ↩

  10. Apple, “Prioritize Work at the Task Level”, Energy Efficiency Guide for Mac Apps (archived, updated September 13, 2016): Table 10-1 gives the duration of Background work as “minutes or hours.” ↩

  11. Howard Oakley, “What is Quality of Service, and how does it matter?”, The Eclectic Light Company, May 9, 2025. Independent measurements on his own Macs; source of the statement that background-QoS threads run on efficiency cores only. ↩

  12. Apple, launchd.plist(5) manual page, macOS 27.2.1 (dated July 30, 2019): the ProcessType, StartInterval, Nice, and LowPriorityIO keys. ↩↩↩↩↩↩

  13. Apple, “Getting the Most Out of Simulator”, WWDC 2019 session 418: Simulator as “a separate userspace” with its own launchd and daemons. ↩

  14. Apple, xcrun simctl help, Xcode 27.2 (27B52): when several devices are booted and the booted device is selected, “simctl will choose one of them.” ↩

  15. Apple, “Xcode 27 Release Notes”: agents can boot simulators, and simulators booted for previews are kept “within a budget based on your Mac’s resources.” ↩

  16. Swift project, llbuild source, lib/Core/SQLiteBuildDB.cpp: the build-database error text. The file does not say that Xcode builds use this database; I cite it for the message only. ↩

  17. Apple, xcodebuild -help, Xcode 27.2 (27B52): -maximum-concurrent-test-simulator-destinations and -derivedDataPath. ↩↩

  18. Git project, lockfile.h: the first purpose the header gives for the lockfile API is “Mutual exclusion and atomic file updates.” ↩

  19. Anthropic, “Run parallel sessions with worktrees”, Claude Code documentation. ↩

  20. OpenAI, Codex documentation, “Worktrees” and “Subagents”: worktree disk use, the default of 15 kept worktrees, and agents.max_concurrent_threads_per_session. ↩↩

  21. Anthropic, “Manage multiple agents with agent view”, Claude Code documentation: the quota statement under Limitations, and the supervisor stopping idle sessions when memory stays low. ↩↩

  22. GitHub user Tuinslak, anthropics/claude-code issue 88524, August 21, 2026, on memory growing with the number of open sessions on macOS. A user’s report, not Anthropic’s. ↩↩

  23. GitHub user tomasatisocco, anthropics/claude-code issue 112042, November 24, 2026, a feature request for memory-aware limits on spawning agents on macOS. A user’s report, with the user’s own figures. ↩↩

  24. Harry Smaje, “Parallel coding agents on one MacBook with T3 Code”, October 31, 2026, updated November 5, 2026. ↩↩

  25. GitHub user leegunwoo98, anthropics/claude-code issue 103693, October 20, 2026, on idle desktop sessions keeping their MCP servers alive. A user’s report. ↩

  26. GitHub user andyleeboo, anthropics/claude-code issue 101193, October 11, 2026, a feature request to coordinate heavy local work across concurrent sessions. A user’s feature request, with the user’s own figures; a comment in the thread by GitHub user staterijndael, November 3, 2026, describes that user’s own third-party queue. ↩↩

  27. GitHub user herzkerl, anthropics/claude-code issue 80708, July 23, 2026, on hung ps child processes accumulating until the per-user process limit is exhausted. A user’s report; the reporter counted the hung processes across five sessions. ↩

  28. GitHub user gera-propflow, anthropics/claude-code issue 79920, July 21, 2026, on a background-session daemon exhausting the system file table. A user’s report. ↩

  29. Natasha Murashev, “I gave Claude a Mac mini…”, NatashaTheRobot, November 17, 2026. ↩

  30. Anthropic, “Create custom subagents”, Claude Code documentation: the concurrent subagent limit of 20 per session, what it blocks, and its exceptions. ↩

  31. Anthropic, Claude Code documentation, “Orchestrate subagents at scale with dynamic workflows” (up to 16 concurrent agents by default) and “Interactive mode” (background commands stopped under critical memory pressure). ↩↩

  32. Anthropic, “Test iOS apps in the simulator”, Claude Code documentation: how sessions in Claude Code Desktop choose a simulator when the prompt names none. ↩

Related Posts

MCP Servers Are the New Attack Surface

50 MCP vulnerabilities, 30 CVEs in 60 days, 13 critical. Tool-use protocols are the attack surface nobody is auditing — …

8 min read

Runtime Defense for Tool-Augmented Agents

ClawGuard demonstrates deterministic tool-call interception works. The Vercel telemetry incident shows why. Runtime defe…

12 min read