Bug #1031: Cannot create buffers of size 4 GiB or greater
lttng load handles out-of-memory badly
(LTTng 2.8.0 lttng-tools a0f518a on Ubuntu 14.04.4, kernel 4.2.0-27-generic)
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).
Updated by Jérémie Galarneau over 3 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
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?