mirror of
https://github.com/sibprogrammer/owp.git
synced 2026-04-25 15:35:58 +03:00
[GH-ISSUE #29] RAM Memory renders as unlimited #8
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/owp#8
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 @mkostrikin on GitHub (May 16, 2013).
Original GitHub issue: https://github.com/sibprogrammer/owp/issues/29
Thanks
@sibprogrammer commented on GitHub (Jun 9, 2013):
Fixed in
0acd1bf979@mkostrikin commented on GitHub (Jun 10, 2013):
Checked.
Confirm issue fixed.
Thanks,
@dhewana commented on GitHub (Aug 27, 2015):
Hi,
Need some help here.
This also happened to me (OpenVZ Web Panel 2.4).
When I tried to change the vm settings (in this case changing the Server Template), this error happened:
I've also tried this fix
github.com/sibprogrammer/owp@0acd1bf979but still doesn't work.Tried to create a new vm, it displays the correct RAM setting, but then after couple of minutes it turned into unlimited.
Thank you.
@dhewana commented on GitHub (Aug 27, 2015):
~# tail -f /opt/ovz-web-panel/log/production.log
Processing Admin::VirtualServersController#create (for xxx.xx.xxx.xxx at 2015-08-27 20:50:40) [POST]
Parameters: {"vswap"=>"", "cpu_limit"=>"", "host_name"=>"sandbox-dhewana", "password_confirmation"=>"[FILTERED]", "nameserver"=>"", "memory"=>"unlimited", "search_domain"=>"", "controller"=>"admin/virtual_servers", "description"=>"", "start_on_boot"=>"on", "orig_server_template"=>"vswap-1g", "ip_address"=>"xxx.xx.xx.xxx", "cpu_units"=>"1000", "action"=>"create", "password"=>"[FILTERED]", "start_after_creation"=>"", "id"=>"22", "diskspace"=>"2252", "cpus"=>"", "expiration_date"=>"", "hardware_server_id"=>"2", "user_id"=>"6"}
Executing command: vzctl set 7 --privvmpages unlimited --save
Executing command: vzctl set 7 --physpages unlimited --save
HwDaemonExecException (Command 'vzctl set 7 --physpages unlimited --save' execution failed with code 1
Output: setublimit TCPSNDBUF 9223372036855300095:9223372036854775807 failed: Invalid argument
Error: failed to apply some parameters, not saving configuration file!
https://github.com/sibprogrammer/owp/blob/master/app/models/virtual_server.rb#L144-L152
Waiting for your confirmation.
Thanks.
@phlegx commented on GitHub (Dec 5, 2015):
Same problem! Do you have found a solution @dhewana?
@dhewana commented on GitHub (Dec 7, 2015):
@phlegx unfortunately no..
I decided to move to Proxmox 3.4, which also supported OpenVZ, but I had to manually recreated the VMs and then migrate/transfer my data and settings because Proxmox 3.4 doesn't seem compatible with VMs that created using openvz-web-panel.
Currently, I use Proxmox 4.0, which replaced OpenVZ with LXC, and it's easy to transfer/convert from OpenVZ in Proxmox 3.4 to LXCin Proxmox 4.0.