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

Don't use a pool for TaskStatsInfoGetters #4017

Merged
merged 1 commit into from
Jan 9, 2019

Conversation

ztlpn
Copy link
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

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