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 6342E17F84 for ; Tue, 1 Sep 2015 17:51:01 +0000 (UTC) Received: (qmail 48921 invoked by uid 500); 1 Sep 2015 17:50:48 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 48883 invoked by uid 500); 1 Sep 2015 17:50:48 -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 48856 invoked by uid 500); 1 Sep 2015 17:50:48 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 48849 invoked by uid 99); 1 Sep 2015 17:50:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2015 17:50:48 +0000 Date: Tue, 1 Sep 2015 17:50:48 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-8678) OOM Kills Guests 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-8678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14725772#comment-14725772 ] ASF GitHub Bot commented on CLOUDSTACK-8678: -------------------------------------------- Github user kmccormick commented on the pull request: https://github.com/apache/cloudstack/pull/766#issuecomment-136810812 OK, reworked this a bit. Removed dom0ram and using only _dom0MinMem now. This line should cause a 1GB default if the value isn't specified in the file: _dom0MinMem = NumbersUtil.parseInt(value, 1024) * 1024 * 1024L; No longer doing the odd min/max calculation, just using either the fixed default or the admin specified value. > OOM Kills Guests > ---------------- > > Key: CLOUDSTACK-8678 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8678 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Hypervisor Controller, KVM > Affects Versions: 4.4.2 > Environment: Intel Xeon Quad Core CPU L5520 @ 2.27GHz > 98 GB RAM > Ubuntu 14.04 > Running Cloustack 4.4.2 > Reporter: Josh Harshman > Assignee: Daan Hoogland > Priority: Critical > > We have several KVM nodes running Cloudstack 4.4.2. Sometimes an instance with X amount of RAM provisioned will be started on a host that has X+a small amount of RAM free. The kernel OOM killer will eventually kill off the instance. Has anyone else seen this behavior, is there a way to reserve RAM for use by the host instead of by Cloudstack? Looking at the numbers in the database and the logs, Cloudstack is trying to use 100% of the RAM on the host. > Any thoughts would be appreciated. > Thank you, -- This message was sent by Atlassian JIRA (v6.3.4#6332)