pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/56628
The following reply was made to PR pkg/56628; it has been noted by GNATS.
From: Santhosh Raju <santhosh.raju%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: Thomas Klausner <wiz%netbsd.org@localhost>
Subject: Re: pkg/56628
Date: Thu, 9 Apr 2026 20:31:41 +0200
The root cause of this was identified back to the sysutils/py-psutil
package and how it computes the swap. The fix was to remove psutil's
dependency on procfs to derive the CPU / memory statistics and get
them via sysctl(3) calls in psutil.
- https://pkgsrc.se/files.php?messageId=20260406165312.61E3BFA2B%cvs.NetBSD.org@localhost
- https://pkgsrc.se/files.php?messageId=20260407054912.E3D02FA2B%cvs.NetBSD.org@localhost
- https://pkgsrc.se/files.php?messageId=20260407060123.D1E5FFA2B%cvs.NetBSD.org@localhost
sysutils/py-Glances uses this library to derive the various CPU /
Memory metrics that it displays in the UI.
As of py313-Glances-4.5.3 and py313-psutil-7.2.2nb2 (which are both
available in pkgsrc-current), this issue should be fixed.
- No longer glances process grows to a large size due to memory leak
(especially when putting it up for extended periods).
- The swap statistics should be shown correctly.
Upstream fixes have been submitted to psutil and this has been merged,
so future updates of sysutils/py-psutils should no longer (hopefully)
break glances.
- https://github.com/giampaolo/psutil/pull/2805
P.S: I know this is a very delayed reply to a report from 2022, but
better to address it late than never.
P.S: Will wait a couple of months before closing the ticket in case
the original reporter wants to reply back.
Regards
Santhosh
Home |
Main Index |
Thread Index |
Old Index