Skip to content

Conversation

@denis-tingaikin
Copy link
Member

@denis-tingaikin denis-tingaikin commented May 16, 2024

Description

At this moment, each time the forwarder resolves new endpoints on the node, it gets the fd of the unix socket of the endpoint and never deletes it.

This PR fixes the problem via using nse expiration time.

Issue link

Fixes memory leak in
pprof.forwarder.alloc_objects.alloc_space.inuse_objects.inuse_space.031.pb.gz

How Has This Been Tested?

  • Added unit testing to cover
  • Tested manually
  • Tested by integration testing
  • Have not tested

Types of changes

  • Bug fix
  • New functionality
  • Documentation
  • Refactoring
  • CI

Signed-off-by: Denis Tingaikin <[email protected]>
Signed-off-by: Denis Tingaikin <[email protected]>
Signed-off-by: Denis Tingaikin <[email protected]>
Signed-off-by: Denis Tingaikin <[email protected]>
@denis-tingaikin denis-tingaikin changed the title WIP: fix recvfd client Correctly manage the life cycle of FD files on the recvfd client side May 17, 2024
@denis-tingaikin denis-tingaikin marked this pull request as ready for review May 17, 2024 21:12
@denis-tingaikin denis-tingaikin self-assigned this May 20, 2024
@denis-tingaikin denis-tingaikin marked this pull request as draft September 24, 2024 13:23
@denis-tingaikin
Copy link
Member Author

The problem is not reproducing on production enviroment, so let's hold it in draft

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Blocked

Development

Successfully merging this pull request may close these issues.

2 participants