NetBSD Problem Report #56628
From adrian@mx.aik.onl Fri Jan 14 19:22:47 2022
Return-Path: <adrian@mx.aik.onl>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 98C4E1A9239
for <gnats-bugs@gnats.NetBSD.org>; Fri, 14 Jan 2022 19:22:47 +0000 (UTC)
Message-Id: <20220114192242.9F74727225@www3.kiess.onl>
Date: Fri, 14 Jan 2022 20:22:42 +0100 (CET)
From: adrian@mx.aik.onl
Reply-To: adrian@kiess.onl
To: gnats-bugs@NetBSD.org
Subject: py39-Glances-3.2.3.1 from pkgsrc-2021Q3 on amd64 has memory leak and displays wrong swapspace statistics
X-Send-Pr-Version: 3.95
>Number: 56628
>Category: pkg
>Synopsis: py39-Glances-3.2.3.1 from pkgsrc-2021Q3 on amd64 has memory leak and displays wrong swapspace statistics
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: fox
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 14 19:25:00 +0000 2022
>Last-Modified: Sat Jan 15 09:04:04 +0000 2022
>Originator: Adrian Immanuel Kiess
>Release: NetBSD 9.2
>Organization:
KIESS.ONL
>Environment:
System: NetBSD www3.kiess.onl 9.2 NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
py39-Glances-3.2.3.1 from the pkgsrc-2021Q3 amd64 binaries has a memory leak and displays wrong swapspace statistics.
I would like to use Glances to monitor my NetBSD VPS, but the memory leak makes it impossible to use it for this usecase.
Running Glances on NetBSD for about a day, the Glances process can get up to over 4 Gigabyte large in memory.
In addition to that, the SWAP statistics are wrong and display negative values.
I also use Glances on FreeBSD and Debian, where both Glances works fine.
Thank you very much for your kind attention.
Sincerely,
Adrian Kiess
>How-To-Repeat:
# pkgin install py39-Glances, $ glances-3.9 and watch the memory usage of the glances process, it will continue to grow to very large values in RAM over time
>Fix:
Sadly, I don't know how to fix this.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->fox
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sat, 15 Jan 2022 09:04:04 +0000
Responsible-Changed-Why:
Over to maintainer
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.