Bug #5110

Scheduler cannot handle hosts with more than 2TB memory

Added by Hans Bienert about 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:04/18/2017
Priority:NormalDue date:
Assignee:Juan Jose Montiel Cano% Done:


Target version:Release 5.4.3
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.4



I´m using version 4.4.1 of opennebula (old, but very stable).
Now I have a host with 3TB of memory and the scheduler does not deploy any vm on it.
sched.log contains the following:

Host 100 filtered out. Not enough capacity.

Then I investigated the monitoring script "kvm.rb" in "kvm-probes.d" which returns "3176695736k" of free memory for "TOTALMEMORY",$total_memory

If I assign "2147483647" manually to the script with "$total_memory=2147483647" the scheduler works fine but then 1T of memory cannot be used. It seems as if a 32-bit variable is being used here.

Is it possible to fix this problem ?

Best regards
Hans Bienert


#1 Updated by Ruben S. Montero over 3 years ago

  • Category set to Scheduler
  • Status changed from Pending to Closed
  • Assignee set to Juan Jose Montiel Cano
  • Target version set to Release 5.4.3
  • Resolution set to fixed

Also available in: Atom PDF