mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-26 07:55:52 +03:00
[GH-ISSUE #203] Resize RAM when VM runing #138
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webvirtcloud#138
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @letran3691 on GitHub (Nov 7, 2018).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/203
I want Resize RAM a VM when it running. Must change where?
I did fix a paragraph code, can Resize. but it's not apply when running, must shutdown it applies
version old I fix success. after update version I can't fix it's :(
@catborise commented on GitHub (Nov 7, 2018):
you cannot change maximum allocation of memory while running.
but you should change current allocation of memory while instance is running.
which one you cannot change?
@letran3691 commented on GitHub (Nov 8, 2018):
I can't change any option at tab #RESIZE while VM running. when just shutdown VM, changes apply to VM
@catborise commented on GitHub (Nov 8, 2018):
i can work it on. but i need time..
@letran3691 commented on GitHub (Nov 8, 2018):
Yes. Please help me!!!
@letran3691 commented on GitHub (Nov 9, 2018):
When VM shutdown. I set "Current allocation (MB) 2G" and "Maximum allocation (MB) 8G "

But when I run VM then part "Current allocation " auto received "Maximum allocation 8G"

I don't know bug where
@catborise commented on GitHub (Nov 9, 2018):
there is nothing change on resize code by me. but as you said it happens as described.
may be it was broken before.. i will check it.
@catborise commented on GitHub (Nov 9, 2018):
i think it is default behaviour of KVM guests. While vm is starting it set maxiumu allocation. After boot up of instance, memory ballooning mechanism activates. Then if it is possible, it shrinks to current allocation.
to sum up, there is not any bug. but it is a feature :)
@letran3691 commented on GitHub (Nov 9, 2018):
Yes. I check again and accurate as you say. But i can't #resize current memory while VM running. I did test Increase RAM while VM running with command "virsh setmem php-fpm_test 2049M --live", it's works normally.
Please help me can #resize while VM running. Please!!!
@catborise commented on GitHub (Nov 20, 2018):
hi @letran3691 i add online resize for memory, it appears to work. it is now on branch. but after some test i will merge it to master. link
@letran3691 commented on GitHub (Nov 21, 2018):
thank you very much. but i have change a paragraph code file instance.html
github.com/catborise/webvirtcloud@44d73cc780 (r31376128)