Bug 106134

Summary: [patch] www/mod_backhand: Memory size incorrectly shown on backhand status page
Product: Ports & Packages Reporter: barrie.archer <barrie.archer>
Component: Individual Port(s)Assignee: Alejandro Pulver <alepulver>
Status: Closed FIXED    
Severity: Affects Only Me CC: problems
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch-platform.c_to_1.17_plus_BSD_over_4MB.c none

Description barrie.archer 2006-12-01 13:30:14 UTC
The columns "Total mem" and "Avail mem" on the backhand status page
have impossibly large values that are apparently not related to the
actual server memory sizes. This occurs when a server has more
than 2GB of memory.

Fix: Patch provided. This takes the file platform.c from Rev 1.12 (which
is in release 1.2.2 of backhand) to Rev 1.17 (latest) and then 
further corrects the problem described. Changes from 1.12 to 1.17 
are mainly concerned with similar problems on other platforms.
How-To-Repeat: This problem appears to occur as a result of using backhand 1.2.2 on 
FreeBSD on machines with more than 2GB of memory.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2006-12-01 14:24:00 UTC
Responsible Changed
From-To: freebsd-ports-bugs->seanc

Over to maintainer
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2006-12-13 16:40:52 UTC
Responsible Changed
From-To: seanc->freebsd-ports-bugs

Maintainer was reset.
Comment 3 Alejandro Pulver freebsd_committer freebsd_triage 2007-02-05 16:01:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->alepulver

I'll take it.
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-02-05 16:08:16 UTC
alepulver    2007-02-05 16:07:52 UTC

  FreeBSD ports repository

  Added files:
    www/mod_backhand/files patch-platform.c 
  Log:
  - Fix wrong memory quantities shown in the "Total mem" and "Avail mem" columns
    on the status page when the server has more than 2GB of memory.
  
  PR:             ports/106134
  Submitted by:   Barrie Archer <barrie.archer@uk.fujitsu.com>
  
  Revision  Changes    Path
  1.1       +204 -0    ports/www/mod_backhand/files/patch-platform.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Alejandro Pulver freebsd_committer freebsd_triage 2007-02-05 16:08:22 UTC
State Changed
From-To: open->closed

Committed. Thanks!