]> git.proxmox.com Git - pve-container.git/commitdiff
fix #2938: increase limit of max cores from 128 to 8192
authorOguz Bektas <o.bektas@proxmox.com>
Tue, 15 Sep 2020 09:14:06 +0000 (11:14 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 15 Sep 2020 09:23:09 +0000 (11:23 +0200)
To match the currently used limit from our kernel config

https://git.proxmox.com/?p=mirror_ubuntu-focal-kernel.git;a=blob;f=arch/x86/Kconfig;h=8ef85139553f5a4ad5187375af898266355c4177;hb=b311b46c7d1ab21bf0a11a6fa5bad76f98fb77af#l1014

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/LXC/Config.pm

index 4cd669cf7c5831d95d0a58b4035c6897236c32b2..49f599bb753b7e6ad6d8622877d1dc061d5608f0 100644 (file)
@@ -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 => 8192,
     },
     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 => 8192,
        default => 0,
     },
     cpuunits => {