Date: Sat, 21 Oct 2017 17:40:04 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 223149] [patch] top displays total swap size exceeds the maximum system can handle Message-ID: <bug-223149-8@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223149 Bug ID: 223149 Summary: [patch] top displays total swap size exceeds the maximum system can handle Product: Base System Version: 11.1-RELEASE Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: ota@j.email.ne.jp Keywords: patch Created attachment 187351 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=187351&action=edit top displays Total up to swap_maxpages Top's "Swap Total" is the sum of all swap spaces and not the maximum of a system can handle. Especially when gap is large, system starts killing tasks even if top displays large swap space still available. People use top to monitor system activities and amount exceeding usable space is confusing. The patch reduces to the system maximum when total swap space is more than the system can handle. In addition, the patch grabs pagesize() only once to reduce extra calls. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223149-8>
