[asterisk-bugs] [Asterisk 0016837]: [patch] core show sysinfo shows invalid (negative value) for ram on systems whith a lot of ram
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Feb 16 13:06:35 CST 2010
The following issue requires your FEEDBACK.
======================================================================
https://issues.asterisk.org/view.php?id=16837
======================================================================
Reported By: jlpedrosa
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16837
Category: Core/General
Reproducibility: have not tried
Severity: text
Priority: normal
Status: feedback
Asterisk Version: 1.6.2.2
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-02-16 07:32 CST
Last Modified: 2010-02-16 13:06 CST
======================================================================
Summary: [patch] core show sysinfo shows invalid (negative
value) for ram on systems whith a lot of ram
Description:
Hi, i've just installed asterisk and saw this:
system has 12 gigs of ram.
System Statistics
-----------------
System Uptime: 20 hours
Total RAM: -185548 KiB
Free RAM: 2886420 KiB
Buffer RAM: 68400 KiB
Total Swap Space: 755012 KiB
Free Swap Space: 755012 KiB
Number of Processes: 202
*CLI> Killed
root at bender:~/installation/asterisk-1.6.2.2# vmstat
procs -----------memory---------- ---swap-- -----io---- -system--
----cpu----
r b swpd free buff cache si so bi bo in cs us sy id
wa
0 1 0 11283924 68412 952548 0 0 1 2 46 60 1 0
99 0
======================================================================
----------------------------------------------------------------------
(0118113) seanbright (manager) - 2010-02-16 13:06
https://issues.asterisk.org/view.php?id=16837#c118113
----------------------------------------------------------------------
I just uploaded a very simple patch (and maybe naive), but give it a shot
and let me know if it works for you.
Issue History
Date Modified Username Field Change
======================================================================
2010-02-16 13:06 seanbright Note Added: 0118113
2010-02-16 13:06 seanbright Status new => feedback
======================================================================
More information about the asterisk-bugs
mailing list