[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
Mon May 24 13:19:09 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16837
======================================================================
Reported By: jlpedrosa
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 16837
Category: Core/General
Reproducibility: have not tried
Severity: text
Priority: normal
Status: ready for testing
Target Version: 1.6.2.9
Asterisk Version: SVN
JIRA: SWP-1159
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-05-24 13:19 CDT
======================================================================
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
======================================================================
----------------------------------------------------------------------
(0122311) svnbot (reporter) - 2010-05-24 13:19
https://issues.asterisk.org/view.php?id=16837#c122311
----------------------------------------------------------------------
Repository: asterisk
Revision: 265316
U trunk/main/asterisk.c
------------------------------------------------------------------------
r265316 | tilghman | 2010-05-24 13:19:08 -0500 (Mon, 24 May 2010) | 7
lines
On systems with a LOT of RAM, a signed integer sometimes printed negative.
(closes issue https://issues.asterisk.org/view.php?id=16837)
Reported by: jlpedrosa
Patches:
20100504__issue16837.diff.txt uploaded by tilghman (license 14)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=265316
Issue History
Date Modified Username Field Change
======================================================================
2010-05-24 13:19 svnbot Checkin
2010-05-24 13:19 svnbot Note Added: 0122311
======================================================================
More information about the asterisk-bugs
mailing list