deepflow icon indicating copy to clipboard operation
deepflow copied to clipboard

[FR] FR-017: Implement full CPU usage limit for deepflow-agent in kernel < 3 environment

Open sharang opened this issue 2 years ago • 2 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Description

Currently, due to the limitations of cgroups under kernel 2.6, we only implement the CPU consumption limit for the main thread, and hope to achieve the CPU consumption limit for all threads.

https://github.com/deepflowys/deepflow/pull/2287/files#diff-07236d6ddaa48843625b8161a7e173b240fdd3973675f1810408d521ddb5108bR76

Use case

No response

Related issues

https://github.com/deepflowys/deepflow/issues/2283

Are you willing to submit a PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

sharang avatar Feb 02 '23 10:02 sharang

When there are no cgroups in the system, we will only periodically check CPU and memory usage for a lightweight overload protection.

sharang avatar May 17 '23 08:05 sharang

related FR: https://github.com/deepflowio/deepflow/issues/2918

sharang avatar May 17 '23 08:05 sharang