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

Make net tcp/udp read limit configurable #364

Open
SuperQ opened this issue Feb 23, 2021 · 0 comments
Open

Make net tcp/udp read limit configurable #364

SuperQ opened this issue Feb 23, 2021 · 0 comments

Comments

@SuperQ
Copy link
Member

SuperQ commented Feb 23, 2021

Right now the readLimit is a const 4GiB.

For use in the node_exporter, it would be useful to allow a max limit of the read size to avoid allocating too much memory when a system is already under heavy load.

rexagod added a commit to rexagod/procfs that referenced this issue Mar 22, 2024
Defaults to 4GiB, otherwise, as earlier.

Fixes: prometheus#364
Signed-off-by: Pranshu Srivastava <[email protected]>
rexagod added a commit to rexagod/procfs that referenced this issue Mar 22, 2024
Defaults to 4GiB otherwise, as earlier.

Fixes: prometheus#364
Signed-off-by: Pranshu Srivastava <[email protected]>
rexagod added a commit to rexagod/procfs that referenced this issue Mar 22, 2024
Defaults to 4GiB otherwise, as earlier.

Fixes: prometheus#364
Signed-off-by: Pranshu Srivastava <[email protected]>
rexagod added a commit to rexagod/procfs that referenced this issue May 12, 2024
Defaults to 4GiB otherwise, as earlier.

Fixes: prometheus#364
Signed-off-by: Pranshu Srivastava <[email protected]>
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 a pull request may close this issue.

1 participant