-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Deal with when cpu.cfs_quota_us
is negative
#8428
Conversation
Codecov Report
@@ Coverage Diff @@
## main #8428 +/- ##
===========================================
- Coverage 32.85% 14.94% -17.92%
===========================================
Files 33 49 +16
Lines 4745 4732 -13
===========================================
- Hits 1559 707 -852
- Misses 3068 3955 +887
+ Partials 118 70 -48
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
} | ||
|
||
s := strings.TrimSpace(string(fc)) | ||
if s == "max" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't find any documentation where max
has any meaning 🤔
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/resource_management_guide/sec-cpu
9e03ae9
to
119be45
Compare
Hey @utam0k , Thank you for your considerate PR! You rock. 😄 Is this happening in prod now? If yes, can you share a link to a log in GCP so I can inspect frequency? What is the user experience like when it happens? I'm just curious. PS: It's the weekend, no need to answer now, can do on Monday. |
As this has no issue, I added it to our project, and assigned you, @utam0k . |
Hi @kylos101 I didn't create an issue because I thought it would be a quick fix, sorry. |
@sagor999 Thanks for your review. I made some comments and a commitment to addressing your feedback. PTAL. |
Description
Deal with when cpu.cfs_quota_us is negative
Related Issue(s)
None
How to test
Release Notes
Documentation
No