Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9D42118A0E for ; Fri, 18 Sep 2015 05:44:04 +0000 (UTC) Received: (qmail 16097 invoked by uid 500); 18 Sep 2015 05:44:04 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 16066 invoked by uid 500); 18 Sep 2015 05:44:04 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 16057 invoked by uid 500); 18 Sep 2015 05:44:04 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 16054 invoked by uid 99); 18 Sep 2015 05:44:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Sep 2015 05:44:04 +0000 Date: Fri, 18 Sep 2015 05:44:04 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-8880) Allocated memory more than total memory on a KVM host MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-8880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14805018#comment-14805018 ] ASF GitHub Bot commented on CLOUDSTACK-8880: -------------------------------------------- GitHub user kishankavala opened a pull request: https://github.com/apache/cloudstack/pull/847 Bug-ID: CLOUDSTACK-8880: calculate free memory on host before deploying Vm. free memory = total memory - (all vm memory) With memory over-provisioning set to 1, when mgmt server starts VMs in parallel on one host, then the memory allocated on that kvm can be larger than the actual physcial memory of the kvm host. Fixed by checking free memory on host before starting Vm. Added test case to check memory usage on Host. Verified Vm deploy on Host with enough capacity and also without capacity You can merge this pull request into a Git repository by running: $ git pull https://github.com/kishankavala/cloudstack CLOUDSTACK-8880 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/847.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #847 ---- commit e2a879f040e894c32defd3fb9bb3b127fd96702d Author: Kishan Kavala Date: 2015-09-18T05:40:52Z Bug-ID: CLOUDSTACK-8880: calculate free memory on host before deploying Vm. free memory = total memory - (all vm memory) ---- > Allocated memory more than total memory on a KVM host > ----------------------------------------------------- > > Key: CLOUDSTACK-8880 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8880 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: KVM > Reporter: Kishan Kavala > Assignee: Kishan Kavala > > With memory over-provisioning set to 1, when mgmt server starts VMs in parallel on one host, then the memory allocated on that kvm can be larger than the actual physcial memory of the kvm host. -- This message was sent by Atlassian JIRA (v6.3.4#6332)