Skip to content

Don't use a pool for TaskStatsInfoGetters#4017

Merged
alexey-milovidov merged 1 commit intomasterfrom
netlink-sockets-pool
Jan 9, 2019
Merged

Don't use a pool for TaskStatsInfoGetters#4017
alexey-milovidov merged 1 commit intomasterfrom
netlink-sockets-pool

Conversation

@ztlpn
Copy link
Copy Markdown
Contributor

@ztlpn ztlpn commented Jan 9, 2019

For changelog. Remove if this is non-significant change.

Category (leave one):

  • Bug fix

Short description (up to few sentences):

Fix a leak of netlink sockets. They were placed in a pool where they were never deleted and new sockets were created at the start of a new thread when all current sockets were in use.

Pool is not needed because creation of a TaskStatsInfoGetter takes
an order of 10us. Also pool is harmful because created sockets are
never closed.
@harris-chiu
Copy link
Copy Markdown

harris-chiu commented Feb 11, 2019

Hi, we are still experiencing the increase of netlink socket overtime when using materialized view with version 19.1.6. Happy to provide more info if needed. Thanks

Edit:
Behavior still exists

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants