Skip to content

Instantly share code, notes, and snippets.

@sugarless-sweet
Last active September 12, 2026 04:17
Show Gist options
  • Select an option

  • Save sugarless-sweet/588effc909b71faa6d3e46c52a4e2c81 to your computer and use it in GitHub Desktop.

Select an option

Save sugarless-sweet/588effc909b71faa6d3e46c52a4e2c81 to your computer and use it in GitHub Desktop.
opencode serve 1.18.30 MCP process accumulation evidence (macOS + OpenChamber) — refs opencode issue #47727 / #46035
# Environment
collected: 2026-09-12 02:50:45 UTC
os: macOS 26.6.2 (arm64)
node: v24.19.0
opencode: 1.18.30 (homebrew /opt/homebrew/bin/opencode)
client: OpenChamber desktop -> opencode serve --hostname 127.0.0.1 --port 56636
mcp config: ~/.config/opencode/opencode.jsonc -> openspec(npx openspec-mcp), gitnexus(gitnexus mcp), esign-csc-mcp(remote)
# serve 45431 full process tree (pid ppid rssKB rssMB etime command)
46593 ppid=45431 rssKB=93856 rssMB=91 etime=13:48 cmd=npm exec openspec-mcp
46786 ppid=46593 rssKB=74928 rssMB=73 etime=13:48 cmd=node openspec-mcp
46594 ppid=45431 rssKB=99312 rssMB=96 etime=13:48 cmd=node gitnexus mcp
46932 ppid=45431 rssKB=93120 rssMB=90 etime=13:31 cmd=npm exec openspec-mcp
46958 ppid=46932 rssKB=74352 rssMB=72 etime=13:30 cmd=node openspec-mcp
46933 ppid=45431 rssKB=101328 rssMB=98 etime=13:31 cmd=node gitnexus mcp
48457 ppid=45431 rssKB=2464 rssMB=2 etime=00:00 cmd=node openspec-mcp
48460 ppid=48457 rssKB=2000 rssMB=1 etime=00:00 cmd=ps -axo pid=,ppid=,rss=,etime=,command=
48461 ppid=48457 rssKB=1200 rssMB=1 etime=00:00 cmd=node openspec-mcp
682 1 45632 11:46:38 /Users/ching/.nvm/versions/node/v24.19.0/bin/node /Users/ching/Documents/chatclaw/src/server.js
1393 1347 28160 11:46:23 node /Users/ching/.npm/_npx/a3241bba59c344f5/node_modules/.bin/mcp-server-filesystem /Users/ching/Documents/201-Coding/Project/proj-scsp/scsp-suite/scsp-local-chatclaw/workspace
1399 682 28080 11:46:21 node src/weknora-mcp.js
46593 45431 93856 13:27 npm exec openspec-mcp
46594 45431 99312 13:27 node /Users/ching/Library/pnpm/bin/../global/v11/0ca071cd52c9e7e349a14a135b262900bb6d8e3539c47a5ba7bdaa502a8ebd8c/node_modules/gitnexus/dist/cli/index.js mcp
46786 46593 74928 13:27 node /Users/ching/.npm/_npx/e085c8f713937715/node_modules/.bin/openspec-mcp
46932 45431 93120 13:10 npm exec openspec-mcp
46933 45431 101328 13:10 node /Users/ching/Library/pnpm/bin/../global/v11/0ca071cd52c9e7e349a14a135b262900bb6d8e3539c47a5ba7bdaa502a8ebd8c/node_modules/gitnexus/dist/cli/index.js mcp
46958 46932 74352 13:09 node /Users/ching/.npm/_npx/e085c8f713937715/node_modules/.bin/openspec-mcp
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
opencode 45431 ching cwd DIR 1,18 2560 37571 /Users/ching
opencode 45431 ching txt REG 1,18 144272354 13695397 /opt/homebrew/Cellar/opencode/1.18.30/bin/opencode
opencode 45431 ching txt REG 1,18 72984 15212757 /Library/Preferences/Logging/.plist-cache.ZJFMR5eU
opencode 45431 ching txt REG 1,18 234224 2214174 /private/var/db/timezone/tz/2026c.1.0/icutz/icutz44l.dat
opencode 45431 ching txt REG 1,18 32768 2360966 /Users/ching/.local/share/opencode/opencode.db-shm
opencode 45431 ching txt REG 1,18 32768 15214410 /private/var/db/mds/messages/501/se_SecurityMessages
opencode 45431 ching txt REG 1,18 168367 15286309 /private/var/db/analyticsd/events.allowlist
opencode 45431 ching txt REG 1,18 342608 15325492 /private/var/folders/sv/y8_jy09n78g8d0w3n1r2g2jh0000gn/T/.b8f777f2efefeae9-00000001.node
opencode 45431 ching txt REG 1,18 2562000 1152921500312573255 /usr/lib/dyld
opencode 45431 ching txt REG 1,18 35444880 1152921500312583756 /usr/share/icu/icudt78l.dat
opencode 45431 ching txt REG 1,18 4822976 15325487 /private/var/folders/sv/y8_jy09n78g8d0w3n1r2g2jh0000gn/T/.b9dc72e7febe2382-00000000.dylib
opencode 45431 ching 0r CHR 3,2 0t0 336 /dev/null
opencode 45431 ching 1u unix 0x9348fe0b0648497a 0t0 ->0xd9e728b3f0ed532b
opencode 45431 ching 2u unix 0x58ba9c08d9f63343 0t0 ->0xdc75ca8d57105d18
opencode 45431 ching 3u KQUEUE count=0, state=0x12
opencode 45431 ching 4u unix 0x58ba9c08d9f63343 0t0 ->0xdc75ca8d57105d18
opencode 45431 ching 5u unix 0x9348fe0b0648497a 0t0 ->0xd9e728b3f0ed532b
opencode 45431 ching 6w REG 1,18 54119061 2360962 /Users/ching/.local/share/opencode/log/opencode.log
opencode 45431 ching 7u REG 1,18 7563853824 2360963 /Users/ching/.local/share/opencode/opencode.db
opencode 45431 ching 8u REG 1,18 1264872 2360965 /Users/ching/.local/share/opencode/opencode.db-wal
opencode 45431 ching 9u REG 1,18 32768 2360966 /Users/ching/.local/share/opencode/opencode.db-shm
opencode 45431 ching 10u IPv4 0x351e54f01a3db2a 0t0 TCP localhost:56636 (LISTEN)
opencode 45431 ching 11w REG 1,18 54119061 2360962 /Users/ching/.local/share/opencode/log/opencode.log
opencode 45431 ching 12u KQUEUE count=0, state=0x12
opencode 45431 ching 13 NPOLICY
opencode 45431 ching 14u REG 1,18 7563853824 2360963 /Users/ching/.local/share/opencode/opencode.db
opencode 45431 ching 15u REG 1,18 1264872 2360965 /Users/ching/.local/share/opencode/opencode.db-wal
opencode 45431 ching 16u systm 0x2657783a7cebda6c 0t0 [ctl com.apple.netsrc id 7 unit 70]
opencode 45431 ching 17u unix 0xcc670266b6a0dfef 0t0 ->0x701d7cc25468f57c
opencode 45431 ching 18r DIR 1,18 5600 37669 /private/var/folders/sv/y8_jy09n78g8d0w3n1r2g2jh0000gn/T
opencode 45431 ching 19u IPv4 0xe250424c3517c1af 0t0 TCP localhost:56636->localhost:63114 (ESTABLISHED)
opencode 45431 ching 20u unix 0xa06c6fb842088a3b 0t0 ->0x961bed046e1a6343
opencode 45431 ching 21u unix 0x57a24b7c20fb155d 0t0 ->0xfd14cd617b5659fa
opencode 45431 ching 22u IPv4 0xbfc8cc1af91ea1a8 0t0 TCP localhost:56636->localhost:56652 (ESTABLISHED)
opencode 45431 ching 23u IPv4 0x1daa4794c4f89413 0t0 TCP localhost:56636->localhost:63151 (ESTABLISHED)
opencode 45431 ching 24u IPv4 0x499e997e90618fc9 0t0 TCP localhost:56636->localhost:63152 (ESTABLISHED)
opencode 45431 ching 25u IPv4 0xa6534c1046abedc1 0t0 TCP localhost:56636->localhost:60661 (ESTABLISHED)
opencode 45431 ching 26u IPv4 0x169d2cf3c7f991b7 0t0 TCP localhost:56636->localhost:62955 (ESTABLISHED)
opencode 45431 ching 27u unix 0xdbbe9fac05d802c7 0t0 ->0xaf4c1c524ecf4a50
opencode 45431 ching 28u IPv4 0x5ba4d9dadccd4e94 0t0 TCP localhost:56636->localhost:62958 (ESTABLISHED)
opencode 45431 ching 29u unix 0xb5256d781baec36f 0t0 ->0x18f8a007a105825b
opencode 45431 ching 30u IPv4 0x76bccb7dd461549c 0t0 TCP localhost:56636->localhost:60662 (ESTABLISHED)
opencode 45431 ching 31u IPv4 0x1ef3ca405f01d9b0 0t0 TCP localhost:56636->localhost:60663 (ESTABLISHED)
opencode 45431 ching 32u IPv4 0xca6d36a2942e0c01 0t0 TCP localhost:56636->localhost:62959 (ESTABLISHED)
opencode 45431 ching 33u unix 0x1709105e5dad4117 0t0 ->0x3cae49a447afc6ff
opencode 45431 ching 34u IPv4 0x649f0b0f2cec7e40 0t0 TCP localhost:56636->localhost:62963 (ESTABLISHED)
opencode 45431 ching 35u unix 0x787fb1be407c4080 0t0 ->0x6c9ad7b70f70f299
opencode 45431 ching 36u IPv4 0xca3dd729bdd72328 0t0 TCP localhost:56636->localhost:62964 (ESTABLISHED)
opencode 45431 ching 37u IPv4 0xf80761985c5bf1d2 0t0 TCP localhost:56636->localhost:62965 (ESTABLISHED)
opencode 45431 ching 38u unix 0xdda5c6cc85423dd1 0t0 ->0xf4f3f77049763f33
opencode 45431 ching 39u IPv4 0x8f6d49fc628fbfa8 0t0 TCP localhost:56636->localhost:59270 (ESTABLISHED)
opencode 45431 ching 40u IPv4 0x37b4f3f9b4ac98ba 0t0 TCP localhost:56636->localhost:62966 (ESTABLISHED)
opencode 45431 ching 41u unix 0xd13e75ee9d3000bc 0t0 ->0x83545dcde98af325
opencode 45431 ching 43u unix 0x4890853d6bd84d9f 0t0 ->0x2e497b22cb424e37
opencode 45431 ching 54u unix 0xf0f7136abcbf8c20 0t0 ->0x7bf89a6f405ea09c
opencode 45431 ching 55u unix 0xd5a41a871bcbeec2 0t0 ->0xdaf2fa3d92c4ec63
opencode 45431 ching 56u unix 0xbee5caa1c386c33e 0t0 ->0xd9f3f44b2c859f7d
opencode 45431 ching 57u unix 0x5b9a87c73ead2c43 0t0 ->0x54cf9d281db08f69
opencode 45431 ching 59u unix 0x69ee51777f44eeaf 0t0 ->0x8ba77e1441ce8473
opencode 45431 ching 124u KQUEUE count=0, state=0x8
opencode 45431 ching 125r DIR 1,18 64 15304551 /Users/ching/.config/openchamber/chats/2026-09-12/session-9029223d-8717-482e-8cc5-1568d48bd049
opencode 45431 ching 126r DIR 1,18 96 15304550 /Users/ching/.config/openchamber/chats/2026-09-12
opencode 45431 ching 127r DIR 1,18 544 2982526 /Users/ching/.config/openchamber/chats
opencode 45431 ching 128r DIR 1,18 576 2360859 /Users/ching/.config/openchamber
opencode 45431 ching 129r DIR 1,18 256 2328406 /Users/ching/.config
opencode 45431 ching 130r DIR 1,18 2560 37571 /Users/ching
opencode 45431 ching 131r DIR 1,18 160 18491 /Users
opencode 45431 ching 132r DIR 1,18 672 1152921500311879682 /System/Volumes/Data
opencode 45431 ching 133r DIR 1,18 448 1152921500312543581 /System/Volumes
opencode 45431 ching 134r DIR 1,18 320 1152921500311879703 /System
opencode 45431 ching 135u KQUEUE count=0, state=0x8
opencode 45431 ching 139u IPv6 0xf543396e3b627c0e 0t0 TCP [2408:8340:826:6540:7400:6ced:bbf2:ad5f]:57501->[2606:4700:78::90:0:140]:https (ESTABLISHED)
########## PID 46593 ##########
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
node 46593 ching cwd DIR 1,18 2560 37571 /Users/ching
node 46593 ching txt REG 1,18 121306800 2378309 /Users/ching/.nvm/versions/node/v24.19.0/bin/node
node 46593 ching txt REG 1,18 72984 15212757 /Library/Preferences/Logging/.plist-cache.ZJFMR5eU
node 46593 ching txt REG 1,18 234224 2214174 /private/var/db/timezone/tz/2026c.1.0/icutz/icutz44l.dat
node 46593 ching txt REG 1,18 2562000 1152921500312573255 /usr/lib/dyld
node 46593 ching txt REG 1,18 35444880 1152921500312583756 /usr/share/icu/icudt78l.dat
node 46593 ching 0u unix 0x961bed046e1a6343 0t0 ->0xa06c6fb842088a3b
node 46593 ching 1u unix 0xfd14cd617b5659fa 0t0 ->0x57a24b7c20fb155d
node 46593 ching 2u unix 0x18f8a007a105825b 0t0 ->0xb5256d781baec36f
node 46593 ching 3u KQUEUE count=0, state=0x8
node 46593 ching 4 PIPE 0x35f434e0b2f3ec09 16384 ->0xf0e9aba2db526cb5
node 46593 ching 5 PIPE 0xf0e9aba2db526cb5 16384 ->0x35f434e0b2f3ec09
node 46593 ching 6r DIR 1,18 704 2 /
node 46593 ching 7u KQUEUE count=0, state=0xa
node 46593 ching 8r DIR 1,18 704 2 /
node 46593 ching 9u KQUEUE count=0, state=0xa
node 46593 ching 10r DIR 1,18 704 2 /
node 46593 ching 11r CHR 3,2 0t0 336 /dev/null
node 46593 ching 12w REG 1,18 1092 15324400 /Users/ching/.npm/_logs/2026-09-12T02_37_21_390Z-debug-0.log
node 46593 ching 13 PIPE 0x41883149286311b0 16384 ->0xe4efb9306a23896
node 46593 ching 14 PIPE 0xe4efb9306a23896 16384 ->0x41883149286311b0
node 46593 ching 15 NPOLICY
node 46593 ching 16u systm 0xc371c8de3090ede8 0t0 [ctl com.apple.netsrc id 7 unit 71]
node 46593 ching 17u unix 0x643566610a1e5c1c 0t0 ->0x5ff54996365878d7
########## PID 46786 ##########
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
node 46786 ching cwd DIR 1,18 2560 37571 /Users/ching
node 46786 ching txt REG 1,18 121306800 2378309 /Users/ching/.nvm/versions/node/v24.19.0/bin/node
node 46786 ching txt REG 1,18 2562000 1152921500312573255 /usr/lib/dyld
node 46786 ching 0u unix 0x961bed046e1a6343 0t0 ->0xa06c6fb842088a3b
node 46786 ching 1u unix 0xfd14cd617b5659fa 0t0 ->0x57a24b7c20fb155d
node 46786 ching 2u unix 0x18f8a007a105825b 0t0 ->0xb5256d781baec36f
node 46786 ching 3u KQUEUE count=0, state=0x8
node 46786 ching 4 PIPE 0x2871b1b334bcfc22 16384 ->0x5c1c4f67b77311c9
node 46786 ching 5 PIPE 0x5c1c4f67b77311c9 16384 ->0x2871b1b334bcfc22
node 46786 ching 6r DIR 1,18 704 2 /
node 46786 ching 7u KQUEUE count=0, state=0xa
node 46786 ching 8r DIR 1,18 704 2 /
node 46786 ching 9u KQUEUE count=0, state=0xa
node 46786 ching 10r DIR 1,18 704 2 /
node 46786 ching 11r CHR 3,2 0t0 336 /dev/null
########## PID 46594 ##########
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
node 46594 ching cwd DIR 1,18 2560 37571 /Users/ching
node 46594 ching txt REG 1,18 121306800 2378309 /Users/ching/.nvm/versions/node/v24.19.0/bin/node
node 46594 ching txt REG 1,18 144096 2932307 /Users/ching/Library/pnpm/store/v11/links/@/gitnexus/1.6.6/e198f6697deaaf0593dba31f758f2dc8eb73ffbf1eb3c5148678e6572f72ad95/node_modules/gitnexus/node_modules/tree-sitter-proto/build/Release/tree_sitter_proto_binding.node
node 46594 ching txt REG 1,18 2562000 1152921500312573255 /usr/lib/dyld
node 46594 ching txt REG 1,18 406864 2457635 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter/0.21.1/b60dda9a825d3d0f85a0f357277817763aa9e804d520b011435a6cbccfef89d5/node_modules/tree-sitter/prebuilds/darwin-arm64/tree-sitter.node
node 46594 ching txt REG 1,18 473264 2459234 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter-java/0.23.5/a1e5dbb12f66da5e790923b69e3436127a4c13e6e6116a9b282003882d311eae/node_modules/tree-sitter-java/prebuilds/darwin-arm64/tree-sitter-java.node
node 46594 ching txt REG 1,18 268728 2458408 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter-go/0.23.4/ac4272ea35ac784f516aad9f071f1a97f9fcbcc8ea9d1228af0306d61a391e43/node_modules/tree-sitter-go/prebuilds/darwin-arm64/tree-sitter-go.node
node 46594 ching txt REG 1,18 500512 2460162 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter-python/0.23.4/522ec9218834198dd8fa89e3799f20769cbb5b036a15cfb50c4b126bf1d87cd4/node_modules/tree-sitter-python/prebuilds/darwin-arm64/tree-sitter-python.node
node 46594 ching txt REG 1,18 417920 2458973 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter-javascript/0.23.1/7a9face3c90f19187d01cba74a8c7fda2379133a2a9c69bc89327246d3baee9b/node_modules/tree-sitter-javascript/prebuilds/darwin-arm64/tree-sitter-javascript.node
node 46594 ching txt REG 1,18 1636784 2459927 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter-php/0.23.12/43a7925e576a88f7539507f933ac4783cad7cde0d45dc9c628bf8db54d4f939b/node_modules/tree-sitter-php/prebuilds/darwin-arm64/tree-sitter-php.node
node 46594 ching txt REG 1,18 4143008 2469349 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter-kotlin/0.3.8/a72baa4c660266ebdda2ea9d88bf1d38ad9c54b13175aecea1be3adedbe2c8b7/node_modules/tree-sitter-kotlin/build/Release/tree_sitter_kotlin_binding.node
node 46594 ching txt REG 1,18 648232 2458666 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter-c/0.21.4/ef5e98f6095110596fe082067d0d8c01975b73f49e5f7ee4d42338040ade8a47/node_modules/tree-sitter-c/prebuilds/darwin-arm64/tree-sitter-c.node
node 46594 ching txt REG 1,18 2928240 2457727 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter-typescript/0.23.2/8eff0eb9e90990b3086e59691ef9ca08936d1300a539824ab5ad58f4959fd5bd/node_modules/tree-sitter-typescript/prebuilds/darwin-arm64/tree-sitter-typescript.node
node 46594 ching txt REG 1,18 19088840 2462427 /Users/ching/Library/pnpm/store/v11/links/@ladybugdb/core/0.17.1/d477884c62eb98a89fbc285c45b8351ab1d37a18a9ec43e25b4f7033434a5374/node_modules/@ladybugdb/core/lbugjs.node
node 46594 ching txt REG 1,18 3505776 2459631 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter-cpp/0.23.2/5af9cbdbf1b7a1987b51c2acb05447e66d17aa3c1d28dc3d68f84a8ba2f3881a/node_modules/tree-sitter-cpp/prebuilds/darwin-arm64/tree-sitter-cpp.node
node 46594 ching 0u unix 0xaf4c1c524ecf4a50 0t0 ->0xdbbe9fac05d802c7
node 46594 ching 1u unix 0x3cae49a447afc6ff 0t0 ->0x1709105e5dad4117
node 46594 ching 2u unix 0x6c9ad7b70f70f299 0t0 ->0x787fb1be407c4080
node 46594 ching 3u KQUEUE count=0, state=0x8
node 46594 ching 4 PIPE 0x85ca76fcacb9ecb1 16384 ->0xd9dc88f2a801a302
node 46594 ching 5 PIPE 0xd9dc88f2a801a302 16384 ->0x85ca76fcacb9ecb1
node 46594 ching 6r DIR 1,18 704 2 /
node 46594 ching 7u KQUEUE count=0, state=0xa
node 46594 ching 8r DIR 1,18 704 2 /
node 46594 ching 9u KQUEUE count=0, state=0xa
node 46594 ching 10r DIR 1,18 704 2 /
node 46594 ching 11r CHR 3,2 0t0 336 /dev/null
node 46594 ching 12 PIPE 0x648af4f376a7ca8f 16384 ->0x5135d5dd4663cfdb
node 46594 ching 13 PIPE 0x5135d5dd4663cfdb 16384 ->0x648af4f376a7ca8f
########## PID 46932 ##########
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
node 46932 ching cwd DIR 1,18 64 15304551 /Users/ching/.config/openchamber/chats/2026-09-12/session-9029223d-8717-482e-8cc5-1568d48bd049
node 46932 ching txt REG 1,18 121306800 2378309 /Users/ching/.nvm/versions/node/v24.19.0/bin/node
node 46932 ching txt REG 1,18 2562000 1152921500312573255 /usr/lib/dyld
node 46932 ching txt REG 1,18 72984 15212757 /Library/Preferences/Logging/.plist-cache.ZJFMR5eU
node 46932 ching txt REG 1,18 234224 2214174 /private/var/db/timezone/tz/2026c.1.0/icutz/icutz44l.dat
node 46932 ching txt REG 1,18 35444880 1152921500312583756 /usr/share/icu/icudt78l.dat
node 46932 ching 0u unix 0xf4f3f77049763f33 0t0 ->0xdda5c6cc85423dd1
node 46932 ching 1u unix 0x7bf89a6f405ea09c 0t0 ->0xf0f7136abcbf8c20
node 46932 ching 2u unix 0xd9f3f44b2c859f7d 0t0 ->0xbee5caa1c386c33e
node 46932 ching 3u KQUEUE count=0, state=0x8
node 46932 ching 4 PIPE 0x564a3973a92c16ac 16384 ->0xd79a622c836f05fe
node 46932 ching 5 PIPE 0xd79a622c836f05fe 16384 ->0x564a3973a92c16ac
node 46932 ching 6r DIR 1,18 704 2 /
node 46932 ching 7u KQUEUE count=0, state=0xa
node 46932 ching 8r DIR 1,18 704 2 /
node 46932 ching 9u KQUEUE count=0, state=0xa
node 46932 ching 10r DIR 1,18 704 2 /
node 46932 ching 11r CHR 3,2 0t0 336 /dev/null
node 46932 ching 12w REG 1,18 1187 15324552 /Users/ching/.npm/_logs/2026-09-12T02_37_38_746Z-debug-0.log
node 46932 ching 13 PIPE 0xe1ebb43f234337bf 16384 ->0xfdb18ddfae3c947
node 46932 ching 14 PIPE 0xfdb18ddfae3c947 16384 ->0xe1ebb43f234337bf
node 46932 ching 15 NPOLICY
node 46932 ching 16u systm 0x49f30bcb20ee2d67 0t0 [ctl com.apple.netsrc id 7 unit 72]
node 46932 ching 17u unix 0x132420bf5751a491 0t0 ->0x2c41f495d98995f
########## PID 46958 ##########
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
node 46958 ching cwd DIR 1,18 64 15304551 /Users/ching/.config/openchamber/chats/2026-09-12/session-9029223d-8717-482e-8cc5-1568d48bd049
node 46958 ching txt REG 1,18 121306800 2378309 /Users/ching/.nvm/versions/node/v24.19.0/bin/node
node 46958 ching txt REG 1,18 2562000 1152921500312573255 /usr/lib/dyld
node 46958 ching 0u unix 0xf4f3f77049763f33 0t0 ->0xdda5c6cc85423dd1
node 46958 ching 1u unix 0x7bf89a6f405ea09c 0t0 ->0xf0f7136abcbf8c20
node 46958 ching 2u unix 0xd9f3f44b2c859f7d 0t0 ->0xbee5caa1c386c33e
node 46958 ching 3u KQUEUE count=0, state=0x8
node 46958 ching 4 PIPE 0x3c50c47a849faeb0 16384 ->0x53788103e4d30e32
node 46958 ching 5 PIPE 0x53788103e4d30e32 16384 ->0x3c50c47a849faeb0
node 46958 ching 6r DIR 1,18 704 2 /
node 46958 ching 7u KQUEUE count=0, state=0xa
node 46958 ching 8r DIR 1,18 704 2 /
node 46958 ching 9u KQUEUE count=0, state=0xa
node 46958 ching 10r DIR 1,18 704 2 /
node 46958 ching 11r CHR 3,2 0t0 336 /dev/null
########## PID 46933 ##########
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
node 46933 ching cwd DIR 1,18 64 15304551 /Users/ching/.config/openchamber/chats/2026-09-12/session-9029223d-8717-482e-8cc5-1568d48bd049
node 46933 ching txt REG 1,18 121306800 2378309 /Users/ching/.nvm/versions/node/v24.19.0/bin/node
node 46933 ching txt REG 1,18 2562000 1152921500312573255 /usr/lib/dyld
node 46933 ching txt REG 1,18 144096 2932307 /Users/ching/Library/pnpm/store/v11/links/@/gitnexus/1.6.6/e198f6697deaaf0593dba31f758f2dc8eb73ffbf1eb3c5148678e6572f72ad95/node_modules/gitnexus/node_modules/tree-sitter-proto/build/Release/tree_sitter_proto_binding.node
node 46933 ching txt REG 1,18 406864 2457635 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter/0.21.1/b60dda9a825d3d0f85a0f357277817763aa9e804d520b011435a6cbccfef89d5/node_modules/tree-sitter/prebuilds/darwin-arm64/tree-sitter.node
node 46933 ching txt REG 1,18 268728 2458408 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter-go/0.23.4/ac4272ea35ac784f516aad9f071f1a97f9fcbcc8ea9d1228af0306d61a391e43/node_modules/tree-sitter-go/prebuilds/darwin-arm64/tree-sitter-go.node
node 46933 ching txt REG 1,18 473264 2459234 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter-java/0.23.5/a1e5dbb12f66da5e790923b69e3436127a4c13e6e6116a9b282003882d311eae/node_modules/tree-sitter-java/prebuilds/darwin-arm64/tree-sitter-java.node
node 46933 ching txt REG 1,18 500512 2460162 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter-python/0.23.4/522ec9218834198dd8fa89e3799f20769cbb5b036a15cfb50c4b126bf1d87cd4/node_modules/tree-sitter-python/prebuilds/darwin-arm64/tree-sitter-python.node
node 46933 ching txt REG 1,18 417920 2458973 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter-javascript/0.23.1/7a9face3c90f19187d01cba74a8c7fda2379133a2a9c69bc89327246d3baee9b/node_modules/tree-sitter-javascript/prebuilds/darwin-arm64/tree-sitter-javascript.node
node 46933 ching txt REG 1,18 648232 2458666 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter-c/0.21.4/ef5e98f6095110596fe082067d0d8c01975b73f49e5f7ee4d42338040ade8a47/node_modules/tree-sitter-c/prebuilds/darwin-arm64/tree-sitter-c.node
node 46933 ching txt REG 1,18 4143008 2469349 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter-kotlin/0.3.8/a72baa4c660266ebdda2ea9d88bf1d38ad9c54b13175aecea1be3adedbe2c8b7/node_modules/tree-sitter-kotlin/build/Release/tree_sitter_kotlin_binding.node
node 46933 ching txt REG 1,18 1636784 2459927 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter-php/0.23.12/43a7925e576a88f7539507f933ac4783cad7cde0d45dc9c628bf8db54d4f939b/node_modules/tree-sitter-php/prebuilds/darwin-arm64/tree-sitter-php.node
node 46933 ching txt REG 1,18 2928240 2457727 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter-typescript/0.23.2/8eff0eb9e90990b3086e59691ef9ca08936d1300a539824ab5ad58f4959fd5bd/node_modules/tree-sitter-typescript/prebuilds/darwin-arm64/tree-sitter-typescript.node
node 46933 ching txt REG 1,18 19088840 2462427 /Users/ching/Library/pnpm/store/v11/links/@ladybugdb/core/0.17.1/d477884c62eb98a89fbc285c45b8351ab1d37a18a9ec43e25b4f7033434a5374/node_modules/@ladybugdb/core/lbugjs.node
node 46933 ching txt REG 1,18 3505776 2459631 /Users/ching/Library/pnpm/store/v11/links/@/tree-sitter-cpp/0.23.2/5af9cbdbf1b7a1987b51c2acb05447e66d17aa3c1d28dc3d68f84a8ba2f3881a/node_modules/tree-sitter-cpp/prebuilds/darwin-arm64/tree-sitter-cpp.node
node 46933 ching 0u unix 0xdaf2fa3d92c4ec63 0t0 ->0xd5a41a871bcbeec2
node 46933 ching 1u unix 0x54cf9d281db08f69 0t0 ->0x5b9a87c73ead2c43
node 46933 ching 2u unix 0x8ba77e1441ce8473 0t0 ->0x69ee51777f44eeaf
node 46933 ching 3u KQUEUE count=0, state=0x8
node 46933 ching 4 PIPE 0x7875b6be9de7fdec 16384 ->0x8a212f585d309dc5
node 46933 ching 5 PIPE 0x8a212f585d309dc5 16384 ->0x7875b6be9de7fdec
node 46933 ching 6r DIR 1,18 704 2 /
node 46933 ching 7u KQUEUE count=0, state=0xa
node 46933 ching 8r DIR 1,18 704 2 /
node 46933 ching 9u KQUEUE count=0, state=0xa
node 46933 ching 10r DIR 1,18 704 2 /
node 46933 ching 11r CHR 3,2 0t0 336 /dev/null
node 46933 ching 12 PIPE 0x3a930a73db2d4606 16384 ->0xfff5ecf70ab62374
node 46933 ching 13 PIPE 0xfff5ecf70ab62374 16384 ->0x3a930a73db2d4606
# Connection / set census (live, serve 45431, collected 2026-09-12T02:51:29Z)
## MCP sets under serve 45431
- sets: 2 complete (each = npm exec openspec -> node openspec, plus gitnexus node)
- total MCP children: 6 (RSS ~30-98 MB each)
- transient caught mid-census: another 'node openspec-mcp' (2MB) spawned exactly during sampling
- spawn timing: set1 etime=13:48, set2 etime=13:31 after ~12 min uptime -> 2nd set appeared later (per-request/per-connection)
## Network
- serve LISTEN: 127.0.0.1:56636
- serve loopback self-conns to :56636: 5 (56652,60661,60662,60663,59270) - same self-loopback pattern as issue #46035
- OpenChamber (pid 44814) ESTABLISHED -> :56636: 5 (connect count != set count; sets are per directory/instance)
- serve also holds 1 outbound IPv6 :443
## fd census (serve 45431)
- lsof: unix x19, REG x17, DIR x12, IPv4 x8, KQUEUE x4, IPv6 x1 (full dump in 04-lsof-serve.txt)
## Legacy snapshot (previous serve 35235, now dead) - recorded earlier today
- 21 complete MCP sets = 63 direct children (~4 GB), 3 spawn bursts (09:53:16/09:53:48/09:55:14)
- serve reached ~940 MB; OpenChamber held 12 conns; ~20 loopback self-conns

opencode serve MCP process accumulation — evidence bundle

Related issues: #47727 (per-request/per-connection instance never disposed), #46035 (serve MCP children accumulate until OOM), #29939 / #31554 (duplicate MCP spawn).

Environment

  • macOS (Apple Silicon); node v24.19.0 (nvm)
  • opencode 1.18.30 (homebrew), started by OpenChamber desktop as opencode serve --hostname 127.0.0.1 --port 56636
  • Global ~/.config/opencode/opencode.jsonc MCPs: openspec (npx -y openspec-mcp), gitnexus (gitnexus mcp) — 2 local stdio servers + 1 remote (esign-csc-mcp)

Live census (serve pid 45431, ~12 min uptime, one active chat)

  • 2 complete MCP sets = 6 direct children of serve (see 02-ps-tree.txt), zero orphans, all launchers alive:
    • set1: 46593 npm exec openspec-mcp (91MB) → 46786 node openspec-mcp (73MB), 46594 node gitnexus mcp (96MB) — etime ≈ 13:48
    • set2: 46932 npm exec openspec-mcp (90MB) → 46958 node openspec-mcp (72MB), 46933 node gitnexus mcp (98MB) — etime ≈ 13:31 (2nd set appeared later, per connection/request)
  • serve process itself reached ~1.46 GB within ~12 min of startup.
  • A transient 3rd spawn (node openspec-mcp, 2 MB) was caught mid-census — accumulation was still actively happening during sampling.

Network evidence

  • LISTEN 127.0.0.1:56636; serve holds 5 loopback self-connections to its own port (56652/60661/60662/60663/59270) — same self-loopback pattern reported in #46035. Live count is lower than the earlier-session value (~20) only because fewer sets exist so far.
  • OpenChamber (pid 44814) holds 5 ESTABLISHED connections to :56636, yet there are 2 sets — set count ≠ connection count, consistent with one set materialized per directory/instance and never disposed (matching #47727).

Legacy snapshot (earlier today, serve 35235 — since dead, recorded before shutdown)

That instance had accumulated 21 complete MCP sets = 63 direct children ≈ 4 GB (openspec 21×npm-exec + 21×node, gitnexus 21×node; each node 30–69 MB) plus serve at ~940 MB. Spawns arrived in 3 bursts (28 @ 09:53:16, 20 @ 09:53:48, 6 @ 09:55:14) — a startup warm-up round plus further rounds per connection; OpenChamber held 12 connections; ~20 loopback.

Files

file content
01-env.txt environment / versions / config
02-ps-tree.txt serve 45431 full process tree (pid ppid rss etime command)
03-ps-all.txt all node-ish processes on the machine (raw ps)
04-lsof-serve.txt full lsof dump of serve 45431
05-lsof-mcp.txt full lsof dump of every MCP child (all 6 PIDs)
06-connections.txt set / connection / fd census incl. legacy snapshot

Conclusion

Confirms #47727 / #46035 on stable 1.18.30 + macOS + OpenChamber: MCP sets are keyed per (directory/connection/request) instance, never reused, never reaped, and the serve heap grows to ~1.4 GB within minutes. Collect again after N minutes to observe further set accumulation if needed.

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