[lttng-dev] 回复:回复: lttng-consumerd can NOT get notification to consume ring buffer data
zhenyu.ren
zhenyu.ren at aliyun.com
Thu Dec 9 20:42:49 EST 2021
>No, it's not that simple
Can I update that sub-buffer commit_cold counter(how about hot one?) to the "right" value then skip consuming this sub-buffer(but update the consume counter as if I have consumed the sub-buffer)?
It seems the tracing progress will continue with the cost of missing all the spans in that sub-buffer.
Thanks
zhenyu.ren
------------------------------------------------------------------
发件人:Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
发送时间:2021年12月10日(星期五) 04:27
收件人:zhenyu.ren <zhenyu.ren at aliyun.com>
抄 送:lttng-dev <lttng-dev at lists.lttng.org>
主 题:Re: 回复:[lttng-dev] lttng-consumerd can NOT get notification to consume ring buffer data
----- On Dec 7, 2021, at 8:47 PM, zhenyu.ren <zhenyu.ren at aliyun.com> wrote:
Hi, Desnoyers
For various reasons, none of the three suggestions you mentioned about reproducing the problem can be achieved easily.
I am also wonder why commit counter not updated...It seems that the span producers not complete commiting(be killed?hang?)? It‘s very hard to debug all span producers since they are too many...
So, Can I make lttng-consumer just skip out this subbuffer and try to consume the next subbuffer?
No, it's not that simple. Once this state is reached (e.g. caused by a killed application), just skipping this sub-buffer
will not allow applications to continue using this buffer for tracing until it is destroyed.
Thanks,
Mathieu
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20211210/4c49c487/attachment.htm>
More information about the lttng-dev
mailing list