WSL2: Copilot CLI 1.0.82 consumes ~31 GB RSS and ~57% CPU
まだ誰も着手していません。
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
Describe the bug
I'm running copilot cli on WSL.
When running a the model Claud Opus 5 on High Effort on a long running session, at about 47% context usage, and with an agent similar to the thinking-beast-mode the cpu consumption went up and the memory consumption exhausted the available.
Can be related with https://github.com/github/copilot-cli/issues/2208?
Affected version
GitHub Copilot CLI 1.0.82.
Steps to reproduce the behavior
Prompted to produce python scripts to perform statistical analysis on text data. Requested a production ready program.
Expected behavior
No response
Additional context
wsl --version
WSL version: 2.7.12.0
Kernel version: 6.18.33.2-2
WSLg version: 1.0.73.2
MSRDC version: 1.2.7214
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26200.9106
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 26.04 LTS
Release: 26.04
Codename: resolute
copilot --version
GitHub Copilot CLI 1.0.82.
cat /proc/21178/status | egrep 'VmRSS|VmSize'
VmSize: 55347188 kB
VmRSS: 30937176 kB
ps aux --sort=-%cpu | head -20
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
<redacted> 21178 57.3 94.9 55348468 30936924 pts/2 Sl+ 12:24 93:52 /home/<redacted>/.local/bin/copilot
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、報告されたバージョン、モデル、effort レベル、エージェントスタイルを使用して、WSL2 で長時間実行される Copilot CLI セッションを再現し、その間 /proc/21178/status と ps の出力を監視します。メモリと CPU の増加を、報告された 31 GB の RSS と 57% の CPU 使用率と比較し、その後、リソース枯渇が解消されたことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- linux, shell, ubuntu
- 領域
- cli, operating-systems, performance
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100