max_queue doesn't work

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
erlang
領域
backend

調査の方向性

Start at src/p1_fsm.erl around line 878 and inspect collect_messages, focusing on how max_queue is checked while messages keep arriving. Reproduce the continuous-message case with a max_queue threshold and confirm that queue growth is detected promptly, without exceeding the configured limit by the observed amount.

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

説明

https://github.com/processone/p1_utils/blob/929cc8d487a81c51fa96f07783bd01146579e20b/src/p1_fsm.erl#L878

During our use, we found that if a process is continuously receiving messages, the collect_messages function does not check max_queue, causing the length of max_queue to exceed the set value by the time it is detected, our threshold for max_queue is 5000, and got below error log:

[error] <0.32294.2473>@process:terminate:1984, reason {process_limit,{max_queue,14467}}

主要言語
Erlang
スター
19
フォーク
26
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

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

はじめの一歩

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

processone/p1_utils のほかの issue

processone/p1_utils の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

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

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