[lttng-dev] Error while enabling multiple channel for same session
shirish gajera
gajerashirish at gmail.com
Thu Apr 30 12:23:08 EDT 2015
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>
More information about the lttng-dev
mailing list