<div dir="ltr">Hi,<div><br></div><div>I want to enable multiple(50) channel for the same session, below is my script doing the same. </div><div>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.</div><div><br></div><div>Here is what I found</div><div>1) I have 50 channel in my db files and it's failing at 13th channel create command, below is the log</div><div>       ...12 channel creation successful</div><div><div>       Spawning a session daemon</div><div>       Warning: Could not get lock file /var/run/lttng/lttng-sessiond.lck, another instance is running.</div><div>       Error: Session daemon died (exit status 1)</div><div>       Spawning a session daemon</div><div>       Warning: Could not get lock file /var/run/lttng/lttng-sessiond.lck, another instance is running.</div><div>       Error: Session daemon died (exit status 1) </div><div>       1</div><div>       failed!</div></div><div><br></div><div>Let me know if question is not clear.</div><div><br></div><div>my lttng script<br></div><div><div>-------------------------------------------- </div><div><div>lttng create -o /root/data/tracing --snapshot TEST</div><div>while IFS=, read EVENTNAME CHANNELNAME BUFFERSIZE </div><div>do</div><div><span style="white-space:pre-wrap">    </span>lttng enable-channel --userspace --tracefile-size ${BUFFERSIZE}K --tracefile-count 1 --overwrite ${CHANNELNAME}</div><div><span style="white-space:pre-wrap">  </span>lttng enable-event -u ${EVENTNAME} --loglevel ERR -c ${CHANNELNAME}</div><div><span style="white-space:pre-wrap">      </span>lttng enable-event -u ${EVENTNAME} --loglevel CRIT -c ${CHANNELNAME}</div><div>done < demo_lttngdb</div><div><span style="white-space:pre-wrap">        </span>lttng start</div></div><div><br></div><div><br></div><div>my demo_lttngdb file</div><div>-------------------------------------------</div><div><div>channel1,channel1,65535</div><div>channel2*,channel2,4096</div><div>channel3*,channel3,4096</div><div>channel4*,channel4,4096</div><div>channel5*,channel5,4096</div><div>channel6*,channel6,4096</div><div>channel7*,channel7,4096</div><div>channel8*,channel8,4096</div><div>channel9*,channel9,8192</div><div>channel10*,channel10,4096</div><div>channel11*,channel11,4096</div><div>channel12*,channel12,4096</div><div>channel13*,channel13,4096</div><div>channel14*,channel14,4096</div><div>channel15*,channel15,4096</div></div></div><div>.............</div><div>.............<br></div><div>.............<br></div><div>channel48*,channel48,4096<br></div></div>