From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id R8dGJQhlsmHvNAAAWB0awg (envelope-from ) for ; Thu, 09 Dec 2021 15:20:24 -0500 Received: by simark.ca (Postfix, from userid 112) id 88BF81F0CF; Thu, 9 Dec 2021 15:20:24 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id E1B481EDEE for ; Thu, 9 Dec 2021 15:20:23 -0500 (EST) Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4J954l0bnZz1sJq; Thu, 9 Dec 2021 15:20:23 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1639081223; bh=JdJ67YLa+KP0R8z9loCkAGMyrDgshZ8fFkA9JOjiGy8=; h=Date:To:Cc:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=gLOZNnNhk+qzy6eznVS0blv/Bzo5PmhcfmPm8qKeihQlrFg0y82yOVU/X+ZoxYbBG PUISC0JReaARo2mWNhZMJvIHhw3yS1rQ6yAadru3iLFMO6QYJfCawFmZW/0HjEzRgF 1RN+EhLmqXi6JCUd1cTJVPB9LdOzh5EQlVyrT8ewNXkP5/1X4xDaoGuEoXZCE5IKWJ +up4rW4nAhNmPDRFCfGZAQFo1dUZj29CWtKsYv4hKGtdf60+0x8PgctHlNPKQ4Ztdb I9cDjp/UaFEe49fxBNRn0p/NFdp3iNRgPDn7GS8KskG9mCRUNuZC0btw47jo8S+DiN Qx37qWnDt8HYg== Received: from mail.efficios.com (mail.efficios.com [167.114.26.124]) by lists.lttng.org (Postfix) with ESMTPS id 4J954j6bTBz1sP0 for ; Thu, 9 Dec 2021 15:20:21 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 8D58335FCA9 for ; Thu, 9 Dec 2021 15:20:15 -0500 (EST) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id HmljeVcZbiOS; Thu, 9 Dec 2021 15:20:15 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 1D70E35FD16; Thu, 9 Dec 2021 15:20:15 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 1D70E35FD16 X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id d78CvhRR_Gi9; Thu, 9 Dec 2021 15:20:15 -0500 (EST) Received: from mail03.efficios.com (mail03.efficios.com [167.114.26.124]) by mail.efficios.com (Postfix) with ESMTP id 135C235FC21; Thu, 9 Dec 2021 15:20:15 -0500 (EST) Date: Thu, 9 Dec 2021 15:20:14 -0500 (EST) To: "zhenyu.ren" Cc: lttng-dev Message-ID: <1486080138.26292.1639081214982.JavaMail.zimbra@efficios.com> In-Reply-To: <0c3d0086-e024-4aa9-a7f6-d54a7d487849.zhenyu.ren@aliyun.com> References: <6ad73114-861c-46e3-8f9e-1076e482116f.zhenyu.ren@aliyun.com> <1503888133.17265.1638907679680.JavaMail.zimbra@efficios.com> <0c3d0086-e024-4aa9-a7f6-d54a7d487849.zhenyu.ren@aliyun.com> MIME-Version: 1.0 X-Originating-IP: [167.114.26.124] X-Mailer: Zimbra 8.8.15_GA_4173 (ZimbraWebClient - FF94 (Linux)/8.8.15_GA_4177) Thread-Topic: =?utf-8?B?5Zue5aSN77yaW2x0dG5nLWRldl0=?= lttng-consumerd can NOT get notification to consume ring buffer data Thread-Index: j4IiitC0OYMU//aghGIG7FGB+T/7Mw== Subject: Re: [lttng-dev] =?utf-8?b?5Zue5aSN77yaIGx0dG5nLWNvbnN1bWVyZCBjYW4g?= =?utf-8?q?NOT_get_notification_to_consume_ring_buffer_data?= X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.35 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mathieu Desnoyers via lttng-dev Reply-To: Mathieu Desnoyers Content-Type: multipart/mixed; boundary="===============2167050732034081823==" Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" --===============2167050732034081823== Content-Type: multipart/alternative; boundary="=_2a174b49-3a63-4b2a-944d-f2197f0d8b0c" --=_2a174b49-3a63-4b2a-944d-f2197f0d8b0c Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ----- On Dec 7, 2021, at 8:47 PM, zhenyu.ren wrote:= =20 > 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=E2=80=98s 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 con= sume > the next subbuffer? No, it's not that simple. Once this state is reached (e.g. caused by a kill= ed application), just skipping this sub-buffer=20 will not allow applications to continue using this buffer for tracing until= it is destroyed.=20 Thanks,=20 Mathieu=20 --=20 Mathieu Desnoyers=20 EfficiOS Inc.=20 http://www.efficios.com=20 --=_2a174b49-3a63-4b2a-944d-f2197f0d8b0c Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
----- On Dec 7, 2021, at 8:47 PM, zhenyu.ren <zhenyu.ren@aliyun.com&= gt; wrote:
Hi, Desnoyers
<= span style=3D"font-family:'tahoma' , 'arial' , 'stheiti' , 'simsun';font-si= ze:14px;color:#000000">
 =      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 compl= ete commiting(be killed?hang?)? It=E2=80=98s very hard to debug all span pr= oducers since they are too many...
       So, Can I make lttng-consumer just skip out thi= s subbuffer and try to consume the next subbuffer?
No, it's not that simple. Once this state is reached (e.g. caus= ed by a killed application), just skipping this sub-buffer
will n= ot allow applications to continue using this buffer for tracing until it is= destroyed.

Thanks,

Mathieu

--
Mathie= u Desnoyers
EfficiOS Inc.
http://www.efficios.com
<= /html> --=_2a174b49-3a63-4b2a-944d-f2197f0d8b0c-- --===============2167050732034081823== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev --===============2167050732034081823==--