diff --git a/agent/conf/agent.properties b/agent/conf/agent.properties index b15534a0be6a..12fcd232af99 100644 --- a/agent/conf/agent.properties +++ b/agent/conf/agent.properties @@ -223,7 +223,7 @@ hypervisor.type=kvm # The time interval (in seconds) at which the balloon driver will get memory stats updates. # This is equivalent to Libvirt's --period parameter when using the dommemstat command. -# vm.memballoon.stats.period=0 +# vm.memballoon.stats.period=60 # Set to true to check disk activity on VM's disks before starting a VM. This only applies # to QCOW2 files, and ensures that there is no other running instance accessing diff --git a/agent/src/main/java/com/cloud/agent/properties/AgentProperties.java b/agent/src/main/java/com/cloud/agent/properties/AgentProperties.java index 0e979d370f40..c446f7592714 100644 --- a/agent/src/main/java/com/cloud/agent/properties/AgentProperties.java +++ b/agent/src/main/java/com/cloud/agent/properties/AgentProperties.java @@ -724,9 +724,9 @@ public Property getWorkers() { /** * The time interval (in seconds) at which the balloon driver will get memory stats updates. This is equivalent to Libvirt's --period parameter when using the dommemstat command. * Data type: Integer.
- * Default value: 0 + * Default value: 60 */ - public static final Property VM_MEMBALLOON_STATS_PERIOD = new Property<>("vm.memballoon.stats.period", 0); + public static final Property VM_MEMBALLOON_STATS_PERIOD = new Property<>("vm.memballoon.stats.period", 60); /** * The number of iothreads