Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] Error while enabling multiple channel for same session
@ 2015-04-30 16:23 shirish gajera
  0 siblings, 0 replies; only message in thread
From: shirish gajera @ 2015-04-30 16:23 UTC (permalink / raw)


Hi,

I want to enable multiple(50) channel for the same session, below is my
script doing the same.
Single channel with the same script  is working fine. But, when I tried to
enable multiple channel for the same session it's giving me error.

Here is what I found
1) I have 50 channel in my db files and it's failing at 13th channel create
command, below is the log
       ...12 channel creation successful
       Spawning a session daemon
       Warning: Could not get lock file /var/run/lttng/lttng-sessiond.lck,
another instance is running.
       Error: Session daemon died (exit status 1)
       Spawning a session daemon
       Warning: Could not get lock file /var/run/lttng/lttng-sessiond.lck,
another instance is running.
       Error: Session daemon died (exit status 1)
       1
       failed!

Let me know if question is not clear.

my lttng script
--------------------------------------------
lttng create -o /root/data/tracing --snapshot TEST
while IFS=, read EVENTNAME CHANNELNAME BUFFERSIZE
do
lttng enable-channel --userspace --tracefile-size ${BUFFERSIZE}K
--tracefile-count 1 --overwrite ${CHANNELNAME}
lttng enable-event -u ${EVENTNAME} --loglevel ERR -c ${CHANNELNAME}
lttng enable-event -u ${EVENTNAME} --loglevel CRIT -c ${CHANNELNAME}
done < demo_lttngdb
lttng start


my demo_lttngdb file
-------------------------------------------
channel1,channel1,65535
channel2*,channel2,4096
channel3*,channel3,4096
channel4*,channel4,4096
channel5*,channel5,4096
channel6*,channel6,4096
channel7*,channel7,4096
channel8*,channel8,4096
channel9*,channel9,8192
channel10*,channel10,4096
channel11*,channel11,4096
channel12*,channel12,4096
channel13*,channel13,4096
channel14*,channel14,4096
channel15*,channel15,4096
.............
.............
.............
channel48*,channel48,4096
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150430/07b0b39e/attachment.html>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-30 16:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-30 16:23 [lttng-dev] Error while enabling multiple channel for same session shirish gajera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox