Skip to content

SHMEM Transport errors: open_and_lock_file failed #5737

@rty813

Description

@rty813

Is there an already existing issue for this?

  • I have searched the existing issues

Expected behavior

I started multiple nodes, and after running normally for a while, some topic data suddenly stopped. When checking the message frequency with ros topic hz, an error occurred: [RTPS_TRANSPORT_SHM Error] Failed init_port fastrtps_port7425: open_and_lock_file failed -> Function open_port_internal. Then, I checked /dev/shm and found only "fastrtps_port7425_el" but no "fastrtps_port7425". After deleting all files in /dev/shm and restarting the process, it recovered.

Current behavior

error occurs

Steps to reproduce

I don’t know how to reproduce it; it happens probabilistically.

Fast DDS version/commit

2.6.x
commid_id: d541a81

Platform/Architecture

Ubuntu Focal 20.04 arm64

Transport layer

Default configuration, UDPv4 & SHM

Additional context

No response

XML configuration file

Relevant log output

Network traffic capture

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageIssue pending classification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions