cpvm: Fix CPVM not releasing CPU after closing console - #7826
Conversation
|
I'm still validating what happens when using vnc over websocket |
Codecov Report
@@ Coverage Diff @@
## 4.18 #7826 +/- ##
============================================
+ Coverage 13.02% 13.04% +0.01%
- Complexity 9040 9067 +27
============================================
Files 2720 2720
Lines 257094 257234 +140
Branches 40092 40102 +10
============================================
+ Hits 33491 33552 +61
- Misses 219398 219472 +74
- Partials 4205 4210 +5 see 9 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
@JoaoJandre can you raise this for 4.18 branch? I hit this issue with VMware recently with 4.18 but didn't know what caused it. |
|
@JoaoJandre could you also check #6970 cc @alexandru-bagu - if this is a better fix? |
140f033 to
128852e
Compare
@rohityadavcloud, actually there are two adjacent problems happening in the CPVM: the first one is the high CPU consumption on the CPVM; and the second one is processes not being released after closing the console session. This PR aims to fix the second situation; and PR #6970 aims to fix the first situation; therefore, I think that both issues should be treated in separated PRs (as it is currently). |
|
Thanks for replying that makes sense. In that case we should aspire to get both merged. @blueorangutan package |
|
@rohityadavcloud a [SF] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6712 |
|
Manual test on all supported hypervisors types may be needed cc @weizhouapache |
|
@rohityadavcloud a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-7342)
|
|
code looks good @JoaoJandre , this is still work in progress? |
I was just doing some testing, but the PR is ready now |
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
Done |
|
@blueorangutan package |
|
@DaanHoogland a [SF] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6778 |
|
@blueorangutan test rocky8 kvm-rocky8 keepEnv |
|
@blueorangutan test rocky8 kvm-rocky8 keepEnv |
|
@DaanHoogland a [SF] Trillian-Jenkins test job (rocky8 mgmt + kvm-rocky8) has been kicked to run smoke tests |
|
@blueorangutan package |
weizhouapache
left a comment
There was a problem hiding this comment.
thanks @JoaoJandre
code lgtm
|
[SF] Trillian test result (tid-7457)
|
|
@blueorangutan package |
|
@weizhouapache a [SF] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6822 |


Description
When using VNC over Nio socket, even after closing the console, the CPVM stays in a while true and will not stop using resources until a restart. This PR introduces a new verification to check if the session is still alive.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?