Re: erlang:system_monitor long_message_queue

Henrik Nord <[email protected]>
Newsgroups gmane.comp.lang.erlang.patches
Message-ID <[email protected]>
Hi
Thank you for your contribution!

As you can see Lukas is already waiting for answers on the pull request.



On 2013-12-10 01:05, Micha? Ptaszek wrote:
> Hey All,
>
> https://github.com/erlang/otp/pull/161
>
> This patch adds a new option to the erlang:system_monitor BIF, 
> allowing to subscribe monitor process to the long_message_queue 
> events. It should be really helpful when investigating architectural 
> bottlenecks, as well as a part of regular logging procedures.
>
> Few comments about the implementation:
> - Monitor messages are generated once the message gets appended to the 
> receiver's message queue.
> - For a certain process - monitor message can be generated only once 
> after exceeding a pre-configured threshold. Erlang VM will resend the 
> monitor message only once the process mailbox size gets below the 
> limit and exceeds them again.
> - Info list of the monitor message currently contains only receiver's 
> message queue length. If you have any ideas on what might be useful to 
> put there in addition to the mailbox size - please let me know.
> _
> _
> Thanks,
> Michal
>
>
> _______________________________________________
> erlang-patches mailing list
> [email protected]
> http://erlang.org/mailman/listinfo/erlang-patches

-- 
/Henrik Nord Erlang/OTP

_______________________________________________
erlang-patches mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.