Project

General

Profile

Actions

Bug #868

closed

failure to take more than 1 snapshot on the network

Added by Julien Desfossez over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
12/08/2014
Due date:
% Done:

0%

Estimated time:

Description

With a session in snapshot mode configured to send on the network, the first snapshot works, but the second one fails, this problem does not appear when writing the snapshots on the local disk.

Steps to reproduce:
lttng create --snapshot -U net://localhost
lttng enable-event -k -a
lttng start
lttng snapshot record
lttng snapshot record

When the second snapshot record command is launched, the sessiond/consumerd outputs this error:
lttng-consumerd: consumer.c:3283: consumer_add_relayd_socket: Assertion `sock_type != LTTNG_STREAM_CONTROL' failed.
Error: consumer err socket second poll error
Error: Health error occurred in thread_manage_consumer

The full logs with lttng-tools 24eb8569dc841f318d7964ca9a0ad0a4f9508a8e (master HEAD as of today) are attached to this bug report.


Files

relayd.log (55.1 KB) relayd.log Julien Desfossez, 12/08/2014 11:18 AM
sessiond.log (222 KB) sessiond.log Julien Desfossez, 12/08/2014 11:18 AM
Actions #1

Updated by Julien Desfossez over 9 years ago

  • Status changed from New to Resolved

Fixed by commit 1371fc1228461eb532118280e67ab3e9de015757 and backported down to 2.4

Actions

Also available in: Atom PDF