[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:30:01 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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-02-16 07:32 CST
Last Modified:              2010-05-24 13:30 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
====================================================================== 

---------------------------------------------------------------------- 
 (0122317) svnbot (reporter) - 2010-05-24 13:30
 https://issues.asterisk.org/view.php?id=16837#c122317 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 265318

_U  branches/1.6.2/
U   branches/1.6.2/main/asterisk.c

------------------------------------------------------------------------
r265318 | tilghman | 2010-05-24 13:30:00 -0500 (Mon, 24 May 2010) | 14
lines

Merged revisions 265316 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  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=265318 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-24 13:30 svnbot         Checkin                                      
2010-05-24 13:30 svnbot         Note Added: 0122317                          
======================================================================




More information about the asterisk-bugs mailing list