p1_utils icon indicating copy to clipboard operation
p1_utils copied to clipboard

max_queue doesn't work

Open pangxiaozhen77 opened this issue 2 months ago • 0 comments

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}}

pangxiaozhen77 avatar Nov 28 '25 01:11 pangxiaozhen77