https://bugs.lttng.org/https://bugs.lttng.org/themes/lttng/favicon/a.ico?14249722912014-02-11T20:22:02ZLTTng bugs repositoryLTTng-tools - Bug #726: consumerd stops receiving events after interrupting relayd and starting a new sessionhttps://bugs.lttng.org/issues/726?journal_id=19642014-02-11T20:22:02ZDavid Goulet
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li></ul><p>With the latest head of stable-2.4 branch of tools you should not be able to reproduce that. If yes, please set the session daemon and relayd in debug mode and provide the output.</p>
<p>current commit: 183f6fa263143a38ec8709047e848477b0be9ecb</p>
<p>lttng-sessiond -vvv --verbose-consumer<br />lttng-relayd -vvv</p> LTTng-tools - Bug #726: consumerd stops receiving events after interrupting relayd and starting a new sessionhttps://bugs.lttng.org/issues/726?journal_id=21212014-04-01T20:49:27ZMarc-Andre Laperlemalaperle@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/302">lttng-relayd-output.txt</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/302/lttng-relayd-output.txt">lttng-relayd-output.txt</a> added</li><li><strong>File</strong> <a href="/attachments/303">lttng-sessiond-output.txt</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/303/lttng-sessiond-output.txt">lttng-sessiond-output.txt</a> added</li></ul><p>Hi David. Sorry for the delay, I haven't really played with relayd since then. It's still happening with the final 2.4.0 release. I attached both outputs. Thank you!</p> LTTng-tools - Bug #726: consumerd stops receiving events after interrupting relayd and starting a new sessionhttps://bugs.lttng.org/issues/726?journal_id=23852014-10-30T21:20:45ZMarc-Andre Laperlemalaperle@gmail.com
<ul></ul><p>I can still reproduce this with lttng-tools 2.5.1.</p> LTTng-tools - Bug #726: consumerd stops receiving events after interrupting relayd and starting a new sessionhttps://bugs.lttng.org/issues/726?journal_id=24192014-11-07T19:40:39ZChristian Babeuxchristian.babeux@efficios.com
<ul><li><strong>Assignee</strong> set to <i>Julien Desfossez</i></li></ul> LTTng-tools - Bug #726: consumerd stops receiving events after interrupting relayd and starting a new sessionhttps://bugs.lttng.org/issues/726?journal_id=24452014-11-17T18:45:04ZJulien Desfossezjdesfossez@efficios.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset tools|commit:a2361a610dc8201cc8e165a70682b2f6dc3e0aee.</p> LTTng-tools - Bug #726: consumerd stops receiving events after interrupting relayd and starting a new sessionhttps://bugs.lttng.org/issues/726?journal_id=24462014-11-17T18:45:55ZJérémie Galarneaujeremie.galarneau@efficios.com
<ul><li><strong>% Done</strong> changed from <i>100</i> to <i>0</i></li></ul><p>Hi Marc-Andre,</p>
<p>I have merged a fix which should address the problem as:</p>
<pre>
commit a2361a610dc8201cc8e165a70682b2f6dc3e0aee
Author: Julien Desfossez <jdesfossez@efficios.com>
Date: Wed Nov 12 18:36:17 2014 -0500
Fix: create/destroy a splice_pipe per stream
We had a per-thread splice_pipe (one for data and one for metadata), but
in case of error, we would end up filling the write side of the pipe and
never emptying it. This could lead to leaking data from one session to
the other, but also to stall the consumer trying to splice into a full
pipe.
Now we create a splice_pipe per-stream, so it is destroyed when the
session is destroyed.
Fixes: #726
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
</pre>
<p>Would you mind testing and confirming whether or not it fixes the problem?</p>
<p>Thanks!</p>