Project

General

Profile

Actions

Feature #1287

open

Use abstract sockets for lttng-consumerd UST shared memory files

Added by Mathieu Desnoyers almost 4 years ago. Updated over 1 year ago.

Status:
New
Priority:
Low
Assignee:
Target version:
-
Start date:
10/13/2020
Due date:
% Done:

0%

Estimated time:

Description

Abstract sockets (unix(7)) are not tied to the filesystem, and are available since Linux 2.2.

Those are Linux-specific.

Those are the same as regular unix domain but their first character of path is NULL. They have the benefit of not requiring unlinking of files left behind.

We could use those abstract sockets in lttng-consumerd on Linux.

Actions #1

Updated by Olivier Dion over 1 year ago

  • Assignee set to Olivier Dion
Actions #2

Updated by Olivier Dion over 1 year ago

Ideally we would like to have something like memfd_create and pass the resulting file descriptor around.
This would circumvent the limitation imposed by containers on /dev/shm.

However, memfd_create is not necessary available (kernel 3.17 and glibc 2.27).

Actions

Also available in: Atom PDF