Disable cluster.memory.allocated.capacity.disablethreshold check? Bad interaction with mem.overprovisioning.factor #12301
-
|
I am running Cloudstack 4.22.0.0 + PR #11932. I have these configurations set:
Allocated capacity looks like this: But actual memory usage looks like this: This proves the PR #11932 + the fact that I tuned KSM on the host is working nicely. That said, with cluster.memory.allocated.capacity.disablethreshold at 85%, I get: I tried setting the value to 0 thinking that means disable (not sure why you'd ever use a value of 0 as that would make it always fail), but it didn't fix the error. I currently have it set to 1 for 100% but I have a feeling in a few days I'm going to hit the same error again even though I haven't hit my overprovision ratio. Either this check needs to have the ability to be completely disabled, or it needs to be made to honor the overprovisioning factor. Anyone have any guidance on this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
you can increase the mem.overprovisioning.factor, or set threshold value to a number larger than 1 by cmk (not sure it affects anything) however, you might face OOM errors, so please be very careful. |
Beta Was this translation helpful? Give feedback.


I'm monitoring actual memory usage per hypervisor separately. These are for developer VMs so we know they spike and release. It is understood that any sort of overcommit could lead to significant issues if not properly monitored.
It appears setting the
mem.overprovisioning.factoronly applies to VMs created newly. It doesn't appear there is any way to change this setting. Even stopping and starting VMs doesn't change it, we can see the overprovisioning factor set in the VM settings stay at whatever the original value was.I had to make a direct DB edit:
So I guess this is expected behavior, but doesn't appear to b…