Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2001 13:32:26 -0700 (PDT)
From:      Jim Pirzyk <Jim.Pirzyk@disney.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/31048: linprocfs:/proc/meminfo cannot handle multiple swap spaces.
Message-ID:  <200110042032.f94KWQ845206@snoopy.fan.fa.disney.com>

next in thread | raw e-mail | index | archive | help

>Number:         31048
>Category:       kern
>Synopsis:       linprocfs:/proc/meminfo cannot handle multiple swap spaces.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 04 13:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jim Pirzyk
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD snoopy 4.4-RELEASE FreeBSD 4.4-RELEASE #2: Fri Sep 21 11:16:23 PDT 2001 root@snoopy:/auto/roy/dist/pub/FreeBSD/4.4-RELEASE/sys/compile/UP_WORKSTATION i386


	
>Description:
	Here is the confgured swap space:

pstat -sk               
Device          1K-blocks     Used    Avail Capacity  Type
/dev/rad0s1b      2097024       32  2096992     0%    Interleaved
/dev/rad2s1b      2097024        0  2097024     0%    Interleaved
Total             4194048       32  4194016     0%

But here is what cat /compat/linux/proc/meminfo reports:

        total:    used:    free:  shared: buffers:  cached:
Mem:  533966848 83238912 450727936 31825920 0 19726336
Swap: 2147483648 18446744071562362880 4294672384
MemTotal:    521452 kB
MemFree:     440164 kB
MemShared:    31080 kB
Buffers:          0 kB
Cached:       19264 kB
SwapTotal:  2097152 kB
SwapFree:   4194016 kB

Notice that SwapFree is more than SwapTotal in both cases.

>How-To-Repeat:
	Have the linprocfs filesystems mounted and two swap spaces.
>Fix:

	
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110042032.f94KWQ845206>