Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shared-memory buffer memory-leak in /dev/shm/ #224

Open
ciandonovan opened this issue Jun 30, 2024 · 0 comments
Open

Shared-memory buffer memory-leak in /dev/shm/ #224

ciandonovan opened this issue Jun 30, 2024 · 0 comments
Labels
backlog Long-term improvement or addition

Comments

@ciandonovan
Copy link

ciandonovan commented Jun 30, 2024

When an rmw_zenoh node crashes or otherwise doesn't gracefully shutdown, the associated shmem_XXXXXX file in /dev/shm/ isn't cleaned up. Nor is it cleaned up the next time a node instance launches.

This leads to persistent useless memory usage that won't be resolved until the host reboots or the files are manually deleted. If there is an issue with a node that causes it to crash often and it is automatically restarted by a service manager, this could lead to memory exhaustion which Linux does not deal with well, causing system lockups and freezes.

@sloretz sloretz added the backlog Long-term improvement or addition label Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Long-term improvement or addition
Projects
None yet
Development

No branches or pull requests

2 participants