Skip to content

rtl_tcp's memory usage increases indefinitely with the number of connections - dead system. #7

@peedy2495

Description

@peedy2495

I'm using a pi zero for providing a rtl_tcp stream.
For monitoring purposes, I'm testing the stream by taking some data samples.
I have to close the connection to give real consumers a chance to catch the stream.
Therefore, I have to open and close the stream at every interval (now, 1sec).

After a while, my swap ran out of space. Therefore everything got stuck ...
I disabled swap, and now the memory usage rises to the physical limit - dead.

It seems that memory allocation for connections is not being managed by a garbage collector...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions