Custom Config Loader seems to leak memory
まだ誰も着手していません。
評価
調査の方向性
まず、config_loader を通して渡された lambda を使って resque-pool の RSS 増加を再現し、そのオプションなしで実行した場合と比較します。次に、config_loader が lambda を保持または呼び出す仕組みを追跡し、メモリ測定を使って保持されているオブジェクトを特定します。報告された設定で RSS が安定したままになれば完了です。
索引モデルが issue の本文から書いたものです。
説明
We were trying the new config_loader option by passing a lambda, but we see that the Resident Set Size (RSS) of the resque-pool doubles within an hour. When we start the resque-pool, the size was around 500MB but within an hour, the size is above 1G. Without using the config_loader, the RSS remains stable (around the initial size). It seems like whatever object that was created/used within the lambda block is not being GCed.
- 主要言語
- Ruby
- スター
- 456
- フォーク
- 149
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
resque/resque-pool のほかの issue
-
help wanted
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
resque/resque-pool#189 · コメント 2 件 · リアクション 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
resque/resque-pool#177 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
resque/resque-pool#176 · コメント 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
resque/resque-pool#172 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
resque/resque-pool#168 · コメント 1 件 ·
resque/resque-pool の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
phusion/passenger-docker#480 ·
-
f:search improvement user-experience
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
DataDog/datadog-lambda-rb#167 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
alphagov/public-asset-checker#378 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信