Skip to content

[22594] Multiple subscribers are subscribed. Killing one with 'kill -9' affects the other subscribers. Even after restarting the subscriber, data is still not subscribed to. #5469

Open
@Eternity1987

Description

@Eternity1987

Is there an already existing issue for this?

  • I have searched the existing issues

Expected behavior

The publisher is publishing RGB data of around 3MB at a frame rate of 30Hz. The subscriber should receive the data at a frequency of 30Hz.

Current behavior

Receiving data works correctly using shared memory, but not with UDP. However, the shared memory issue where the shared memory file sometimes gets deleted or not deleted after running for a while and data is not received could be due to various reasons. but fastdds write api return ok.

Steps to reproduce

ENV: ubuntu 22.04
fastdds@test:~/home/fastdds$ stress-ng --cpu 0 --io 4 --vm 2 --vm-bytes 128M --fork 4 --timeout 604800s
stress-ng: info: [1409220] dispatching hogs: 12 cpu, 4 io, 2 vm, 4 fork
image

sudo sysctl -w net.core.rmem_max=2147483647
sudo sysctl -w net.core.rmem_default=2147483647
sudo sysctl -w net.core.wmem_max=2147483647
sudo sysctl -w net.core.wmem_default=2147483647

then , normal publish and sub.

Fast DDS version/commit

2.14.3

Platform/Architecture

Other. Please specify in Additional context section.

Transport layer

UDPv4,SHM

Additional context

No response

XML configuration file

No response

Relevant log output

No response

Network traffic capture

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    in progressIssue or PR which is being reviewed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions