Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: gajerashirish@gmail.com (shirish gajera)
Subject: [lttng-dev] Error while enabling multiple channel for same session
Date: Thu, 30 Apr 2015 09:23:08 -0700	[thread overview]
Message-ID: <CAG77vrpmzfhZ419CV3zVt83e6B4cMoT-2xA8kvwH=aPaOLwSFQ@mail.gmail.com> (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>


                 reply	other threads:[~2015-04-30 16:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAG77vrpmzfhZ419CV3zVt83e6B4cMoT-2xA8kvwH=aPaOLwSFQ@mail.gmail.com' \
    --to=gajerashirish@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox