<p dir="ltr">I'm using 2.4.1 version. And I'm trying to relay all the sessions.</p>
<p dir="ltr">If a user is creating multiple sessions, is it required to run multiple session daemons ?</p>
<p dir="ltr">Can you please send me the config you have used.</p>
<p dir="ltr">Thanks<br>
Anand Neeli</p>
<div class="gmail_quote">On 10 Nov 2014 23:32, "Jérémie Galarneau" <<a href="mailto:jeremie.galarneau@efficios.com">jeremie.galarneau@efficios.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Nov 8, 2014 at 1:31 PM, Anand Neeli <<a href="mailto:anand.neeli@gmail.com">anand.neeli@gmail.com</a>> wrote:<br>
> Hi,<br>
> i'm trying to create multiple tracing sessions which will relay to the same<br>
> relayd.<br>
> And i'm not able to create more than one session.<br>
> create channel of the second session hangs and doesn't give me the console<br>
> back.<br>
><br>
> Here are the steps i followed<br>
> $> lttng-relayd -d -g mygrp<br>
><br>
>  $> /usr/bin/lttng-sessiond --consumerd32-path<br>
> /usr/lib/lttng/libexec/lttng-consumerd --consumerd32-libdir /usr/lib/<br>
> --consumerd64-path /usr/lib64/lttng/libexec/lttng-consumerd<br>
> --consumerd64-libdir /usr/lib64/ -b --no-kernel -g mygrp<br>
> Warning: No tracing group detected<br>
><br>
> $> /usr/bin/lttng create mysession  --live 1000000 -U net://<a href="http://128.0.0.4" target="_blank">128.0.0.4</a><br>
> Session mysession created.<br>
> Traces will be written in net://<a href="http://128.0.0.4" target="_blank">128.0.0.4</a><br>
> Live timer set to 1000000 usec<br>
><br>
>  $> /usr/bin/lttng enable-channel mychannel --userspace --buffers-pid -s<br>
> mysession --tracefile-size 8388608 --tracefile-count 8Warning: No tracing<br>
> group detected<br>
> Warning: No tracing group detected<br>
> UST channel mychannel enabled for session mysession<br>
><br>
>  $> /usr/bin/lttng enable-event --channel mychannel --userspace --all<br>
> --exclude 'ust_libc:*' -s mysession<br>
> All UST events excluding ust_libc:* are enabled in channel mychannel<br>
><br>
> ==> With this first session is created. Now i'm trying to create another<br>
> session.<br>
><br>
>  $>  /usr/bin/lttng create mysession2  --live 1000000 -U net://<a href="http://128.0.0.4" target="_blank">128.0.0.4</a><br>
> Session mysession2 created.<br>
> Traces will be written in net://<a href="http://128.0.0.4" target="_blank">128.0.0.4</a><br>
> Live timer set to 1000000 usec<br>
><br>
>  $>  /usr/bin/lttng enable-channel mychannel2 --userspace --buffers-pid -s<br>
> mysession2 --tracefile-size 8388608 --tracefile-count 8<br>
><br>
> ==>>>> Console is stuck here and the command never returns.<br>
><br>
<br>
I can't reproduce this problem on master here. Which version are you using?<br>
<br>
><br>
> I tried to create same without relayd and it works. Am i missing anything<br>
> here?<br>
><br>
> Although in the above example i'm enabling same/all events in session1 and<br>
> session2, but i think this should work and capture same events in both the<br>
> sessions.<br>
<br>
That's the expected behavior.<br>
<br>
Regards,<br>
Jérémie<br>
<br>
> Please let me know the correct way to enable this.<br>
><br>
> Thanks,<br>
> Anand Neeli<br>
><br>
> _______________________________________________<br>
> lttng-dev mailing list<br>
> <a href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a><br>
> <a href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" target="_blank">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a><br>
><br>
<br>
<br>
<br>
--<br>
Jérémie Galarneau<br>
EfficiOS Inc.<br>
<a href="http://www.efficios.com" target="_blank">http://www.efficios.com</a><br>
</blockquote></div>