[pve-devel] [PATCH container 1/2] fix #2938: increase limit of max cores from 128 to 512

Oguz Bektas o.bektas at proxmox.com
Mon Sep 14 12:32:15 CEST 2020


Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
---
 src/PVE/LXC/Config.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm
index 4cd669c..223b10e 100644
--- a/src/PVE/LXC/Config.pm
+++ b/src/PVE/LXC/Config.pm
@@ -401,14 +401,14 @@ my $confdesc = {
 	type => 'integer',
 	description => "The number of cores assigned to the container. A container can use all available cores by default.",
 	minimum => 1,
-	maximum => 128,
+	maximum => 512,
     },
     cpulimit => {
 	optional => 1,
 	type => 'number',
 	description => "Limit of CPU usage.\n\nNOTE: If the computer has 2 CPUs, it has a total of '2' CPU time. Value '0' indicates no CPU limit.",
 	minimum => 0,
-	maximum => 128,
+	maximum => 512,
 	default => 0,
     },
     cpuunits => {
-- 
2.20.1





More information about the pve-devel mailing list