Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0BA7FF5BE for ; Mon, 22 Apr 2013 13:43:18 +0000 (UTC) Received: (qmail 70870 invoked by uid 500); 22 Apr 2013 13:43:18 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 70804 invoked by uid 500); 22 Apr 2013 13:43:17 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 70725 invoked by uid 99); 22 Apr 2013 13:43:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Apr 2013 13:43:16 +0000 Date: Mon, 22 Apr 2013 13:43:16 +0000 (UTC) From: "Steve Ratay (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-1911) API doesn't appear to be providing updated swap total memory metric 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/AMBARI-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13638001#comment-13638001 ] Steve Ratay commented on AMBARI-1911: ------------------------------------- There doesn't appear to be a swap_total graph showing up. There's only 5 memory metrics being displayed: mem_buffers, mem_cached, mem_free, mem_shared, and swap_free. In the Host Overview section, the overall memory graph shows Swap as "-nan". > API doesn't appear to be providing updated swap total memory metric > ------------------------------------------------------------------- > > Key: AMBARI-1911 > URL: https://issues.apache.org/jira/browse/AMBARI-1911 > Project: Ambari > Issue Type: Bug > Components: controller > Affects Versions: 1.2.2 > Reporter: Steve Ratay > > It's expected that swap_free <= swap_total. However, this is not true. It seems like swap_total might not be updated in the API, as it doesn't come even close to matching what free shows on the node. > Ambari: > "memory" : { "mem_total" : 2820816.0, "swap_free" : 1589343.12222, "mem_buffers" : 34333.5333333, "mem_shared" : 0.0, "mem_cached" : 328153.844444, "swap_total" : 1013364.0, "mem_free" : 115342.011111 }, > Free on the node: > sdll4765:~ # free > total used free shared buffers cached > Mem: 2820816 2759888 60928 0 34432 393680 > -/+ buffers/cache: 2331776 489040 > Swap: 2359476 772176 1587300 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira