Project

General

Profile

Actions

Bug #1029

closed

Bug #1031: Cannot create buffers of size 4 GiB or greater

lttng load handles out-of-memory badly

Added by Daniel U. Thibault almost 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Target version:
Start date:
06/15/2016
Due date:
% Done:

0%

Estimated time:

Description

(LTTng 2.8.0 lttng-tools a0f518a on Ubuntu 14.04.4, kernel 4.2.0-27-generic)

If you lttng load a session that requires too much memory for its buffers (e.g. the sub-buffers' total memory equals or exceeds the (virtual) machine's entire memory capacity), the system reboots (the session loaded was configured to run right away with one kernel channel). One would instead expect LTTng to report the memory allocation failure (followed by the release of any memory already allocated to the session being constructed).

Actions #1

Updated by Jérémie Galarneau almost 8 years ago

  • Priority changed from Normal to High

I was able to reproduce it here. We're looking into it.

Thanks for reporting!

Actions #2

Updated by Jérémie Galarneau almost 8 years ago

To add some more information, this is reproducible using the "enable-channel" command. It is not related to the load command specifically.

Also, my machine does not reboot. The session daemon hangs and I get a backtrace in dmesg.
What I find weird is that the session daemon becomes unkillable (kill -9) which points to something fishy going on.

What size of buffers do you use and what is the machine's configuration?

Actions #3

Updated by Jérémie Galarneau over 7 years ago

  • Parent task set to #1031
Actions #4

Updated by Jérémie Galarneau over 7 years ago

  • Status changed from New to Resolved

See #1031.

Actions

Also available in: Atom PDF