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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"