Plandev Memory Instability

オープン
#1,531 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
kubernetes, python, vscode

調査の方向性

まず Plandev で接続と切断の動作を再現し、次に ps -ef を使って Blueapi コンテナを調べ、残留している /home/ubuntu/.vscode-server/... プロセスを確認します。Kubernetes / Compute Resources / Pod Grafana ダッシュボードで Pod を監視します。通常の Plandev の使用でリモートサーバーが蓄積されなくなり、不安定性も発生しなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Using Plandev to debug Blueapi opens a VSCode remote server within the container. If the developer's local instance of VSCode is closed without using File > close remote connection, the remote server is not immediately terminated. (It looks like it is eventually, but potentially upwards of 7-24 hours later.)

If a subsequent connection is made, a new instance of the VSCode remote server is started. Initial testing on P46 suggests that this can be upwards of 300Mb memory use per instance. Long-running pods with multiple connections per day can quickly stack up enough VSCode remote instances to become unstable.

VSCode processes can be seen by exec'ing into the Blueapi container, running ps -ef and observing the number of commands starting with /home/ubuntu/.vscode-server/.... Memory usage can be seen in the Kubernetes / Compute Resources / Pod Grafana dashboard.

Acceptance Criteria

  • Normal usage of Plandev does not cause instability
主要言語
Python
スター
14
フォーク
14
平均マージ
2日 23時間
マージ済み PR(30日)
27

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DiamondLightSource/blueapi のほかの issue

DiamondLightSource/blueapi の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。