Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 1997 21:19:05 -0500 (EST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        brianc@pobox.com (Brian Campbell)
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: 2.2-stable swap usage?
Message-ID:  <199709040219.VAA09663@dyson.iquest.net>
In-Reply-To: <19970903202829.04429@pobox.com> from Brian Campbell at "Sep 3, 97 08:28:29 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Brian Campbell said:
> Is it normal for 24M of swap to be marked in-use when nothing appears to be using it?
> System has 64M RAM, and has been up and running AccelX for about a week.
> Killing syslogd and cron didn't help.  There wasn't much left ...
> 
All of the address ranges marked by swap in the /proc/*/map can be in
swap space.  Looks like there is enough of 'em.  Unmount the mfs, and
I would suspect alot of your space will be freed up...

John

> Script started on Wed Sep  3 20:16:27 1997
> $ pstat -s
> Device      512-blocks     Used    Avail Capacity  Type
> /dev/sd1b       261989    49456   212405    19%    Interleaved
> $ ps alx
>   UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT  TT       TIME COMMAND
>     0     0     0   0 -18  0     0    0 sched  DLs   ??    0:00.59  (swapper)
>     0     1     0   0  10  0   384   76 wait   Is    ??    0:00.03 /sbin/init --
>     0     2     0   4 -18  0     0   12 psleep DL    ??    0:15.90  (pagedaemon)
>     0     3     0   0  28  0     0   12 psleep DL    ??    0:00.00  (vmdaemon)
>     0     4     0   1  28  0     0   12 update DL    ??    1:36.98  (update)
>     0     5     0   0  28  0     0   12 idle   DL    ??  8656:24.95  (idle)
>     0    22     1   0  10  0 131192 8564 mfsidl Is    ??    0:06.57 mfs -o async -o nosuid /dev/sd1b /tmp (mount_mfs)
>     0    71     1   0   2  0   200  292 select Ss    ??    0:03.29 syslogd
>     0   102     1   0  18  0   332  204 pause  Is    ??    0:02.75 cron
>   134 10683 10682   1  18  0   500  260 pause  Ss    p0    0:00.02 sh sh (ksh)
>   134 10685 10683   0  28  0   632  268 -      R+    p0    0:00.00 ps -alx
>   134  8120     1   0  18  0   504  280 pause  Ss    v0    0:01.46 -ksh (ksh)
>   134 10681  8120   0   3  0   216  444 ttyin  S+    v0    0:00.01 script
>   134 10682 10681   0   3  0   216  472 ptcin  S+    v0    0:00.01 script
>   134   158     1   0   3  0   504  292 ttyin  Is+   v1    0:00.80 -ksh (ksh)
>   134   159     1   0   3  0   504  276 ttyin  Is+   v2    0:00.60 -ksh (ksh)
>   134   160     1   0   3  0   504  244 ttyin  Is+   v3    0:00.15 -ksh (ksh)
> $ cat /proc/*/map
> 0x1000     0x2b000            6         0 r-x COW vnode
> 0x2b000    0x2d000            1         1 rwx COW vnode
> 0x2d000    0x38000            1         1 rwx COW swap
> 0x38000    0x41000            6         6 rwx COW swap
> 0x802b000  0x802c000          0         0 rwx COW swap
> 0xefbde000 0xefbfe000         1         1 rwx COW swap
> 0x1000     0x7000             2         0 r-x COW vnode
> 0x7000     0x8000             1         1 rwx COW vnode
> 0x8000     0x2c000            2         2 rwx COW swap
> 0x2c000    0x34000            1         1 rwx COW swap
> 0x8007000  0x8014000          1         0 r-x COW vnode
> 0x8014000  0x8016000          0         0 rwx COW vnode
> 0x8016000  0x801f000          0         0 rwx COW swap
> 0x8020000  0x8079000         33         0 r-x COW vnode
> 0x8079000  0x807d000          2         2 rwx COW vnode
> 0x807d000  0x8094000          3         3 rwx COW swap
> 0xefbde000 0xefbfe000         1         1 rwx COW swap
> 0x1000     0x3000             2         0 r-x COW vnode
> 0x3000     0x4000             1         1 rwx COW vnode
> 0x4000     0x17000            3         0 rwx COW default
> 0x8003000  0x8010000         11         0 r-x COW vnode
> 0x8010000  0x8012000          2         0 rwx COW vnode
> 0x8012000  0x801b000          8         0 rwx COW default
> 0x801c000  0x8021000          5         0 r-x COW vnode
> 0x8021000  0x8022000          1         0 rwx COW vnode
> 0x8022000  0x807b000         61         0 r-x COW vnode
> 0x807b000  0x807f000          4         1 rwx COW vnode
> 0x807f000  0x8096000          7         1 rwx COW default
> 0xefbde000 0xefbfe000         1         3 rwx COW default
> 0x1000     0x3000             2         0 r-x COW vnode
> 0x3000     0x4000             1         1 rwx COW vnode
> 0x4000     0x17000            3         1 rwx COW default
> 0x8003000  0x8010000         11         0 r-x COW vnode
> 0x8010000  0x8012000          2         0 rwx COW vnode
> 0x8012000  0x801b000          8         2 rwx COW default
> 0x801c000  0x8021000          5         0 r-x COW vnode
> 0x8021000  0x8022000          1         0 rwx COW vnode
> 0x8022000  0x807b000         61         0 r-x COW vnode
> 0x807b000  0x807f000          4         2 rwx COW vnode
> 0x807f000  0x8096000         11         5 rwx COW default
> 0xefbde000 0xefbfe000         4         4 rwx COW default
> 0x1000     0x43000           49         0 r-x COW vnode
> 0x43000    0x45000            2         2 rwx COW vnode
> 0x45000    0x5e000            7        20 rwx COW default
> 0x8043000  0x8044000          1         1 rwx COW default
> 0xefbde000 0xefbfe000         1         1 rwx COW default
> 0x1000     0x43000           46         0 r-x COW vnode
> 0x43000    0x45000            2         2 rwx COW vnode
> 0x45000    0x57000           11        12 rwx COW swap
> 0x57000    0x58000            1         1 rwx COW swap
> 0x58000    0x5f000            3         7 rwx COW swap
> 0x8043000  0x8044000          1         1 rwx COW swap
> 0xefbde000 0xefbfe000         1         2 rwx COW swap
> 0x1000     0x43000           44         0 r-x COW vnode
> 0x43000    0x45000            2         2 rwx COW vnode
> 0x45000    0x57000           11        12 rwx COW swap
> 0x57000    0x58000            1         1 rwx COW swap
> 0x58000    0x5f000            4         5 rwx COW swap
> 0x8043000  0x8044000          1         1 rwx COW swap
> 0xefbde000 0xefbfe000         1         1 rwx COW swap
> 0x1000     0x43000           37         0 r-x COW vnode
> 0x43000    0x45000            2         2 rwx COW vnode
> 0x45000    0x57000           11        11 rwx COW swap
> 0x57000    0x58000            1         1 rwx COW swap
> 0x58000    0x5f000            3         4 rwx COW swap
> 0x8043000  0x8044000          1         1 rwx COW swap
> 0xefbde000 0xefbfe000         1         1 rwx COW swap
> 0x1000     0x1d000            0         0 r-x COW vnode
> 0x1d000    0x1f000            0         0 rwx COW vnode
> 0x1f000    0x58000            0         0 rwx COW swap
> 0x58000    0x7ffd000       2131      2154 rwx     swap
> 0x7ffd000  0x7fff000          0         0 rwx     swap
> 0xefbde000 0xefbfe000         0         1 rwx COW swap
> 0x1000     0x6000             4         0 r-x COW vnode
> 0x6000     0x7000             1         1 rwx COW vnode
> 0x7000     0x9000             2         2 rwx COW swap
> 0x9000     0x13000            9         9 rwx     swap
> 0x8006000  0x8013000          1         0 r-x COW vnode
> 0x8013000  0x8015000          0         0 rwx COW vnode
> 0x8015000  0x801d000          1         1 rwx COW swap
> 0x801d000  0x801e000          1         1 rwx     swap
> 0x801f000  0x8078000         39         0 r-x COW vnode
> 0x8078000  0x807c000          3         3 rwx COW vnode
> 0x807c000  0x8093000          4         4 rwx COW swap
> 0xefbde000 0xefbfe000         3         3 rwx COW swap
> 0x1000     0x43000           46         0 r-x COW vnode
> 0x43000    0x45000            2         2 rwx COW vnode
> 0x45000    0x57000            7        13 rwx COW swap
> 0x57000    0x58000            1         1 rwx COW swap
> 0x58000    0x5f000            7         7 rwx COW swap
> 0x8043000  0x8044000          1         1 rwx COW swap
> 0xefbde000 0xefbfe000         1         1 rwx COW swap
> 0x1000     0xe000            10         0 r-x COW vnode
> 0xe000     0x10000            2         2 rwx COW vnode
> 0x10000    0x27000            4         4 rwx     default
> 0x800e000  0x800f000          1         1 rwx     default
> 0xefbde000 0xefbfe000         1         1 rwx     default
> $ 
> Script done on Wed Sep  3 20:16:45 1997
> 
> 


-- 
John
dyson@freebsd.org
jdyson@nc.com



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