Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2012 13:13:03 +0400
From:      Vagner <vagner@bsdway.ru>
To:        FreeBSD questions Mail List <freebsd-questions@freebsd.org>
Subject:   VM queue
Message-ID:  <20121129091303.GA24955@vagner-wrk.bsdway.ru>

next in thread | raw e-mail | index | archive | help
Hi guys!
I running big process on my machine and the memory pages of some other process been moved to swap.
I run swapoff(8) for clean swap partition and after swapon(8). Ok.
After, i run top(1) and ps(1) to see that the pages were returned. But i
see next:

> last pid: 25743;  load averages:  0.29,  0.21,  0.23                  up
> 0+14:33:07  13:01:22
> 89 processes:  1 running, 87 sleeping, 1 zombie
> CPU:  4.7% user,  0.0% nice,  1.0% system,  0.1% interrupt, 94.1% idle
> Mem: 537M Active, 478M Inact, 913M Wired, 9316K Cache, 817M Buf, 5883M
> Free
> Swap: 10G Total, 10G Free
> 
> PID USERNAME    THR PRI NICE   SIZE    RES   SWSZ STATE   C   TIME \
> WCPU  TSWAP COMMAND
> 
> 2464 root        1   23    0 29292K     0K  2796K kqread  1   0:00 \
> 0.00%   3413 <hald-addo
> 120 root          1  52    0  9920K     0K  1260K pause   0   0:00 \
> 0.00%   3413 <adjkerntz

and this:

> $ ps -auxww | awk '{if (NR==1) print $0}{if ($8 ~ /W/) print $0}'|less
> USER         PID  %CPU %MEM     VSZ    RSS TT  STAT STARTED       TIME\
> COMMAND
> root         120   0,0  0,0    9920      0 ??  IWs  -          0:00,00\
> adjkerntz -i
> root        2464   0,0  0,0   29292      0 ??  IW   -          0:00,00\
> hald-addon-mouse-sysmouse: /dev/psm0 (hald-addon-mouse-sy)

Swap size == 0 && RSS == 0. Why? Where is my memory page?

-- 
Respectfully,
Stanislav Putrya
System administrator
FotoStrana.Ru Ltd.
ICQ IM: 328585847
Jabber-GoogleTalk: root.vagner
mob.phone SPB: +79215788755
mob.phone RND: +79525600664
email: vagner@bsdway.ru
email: putrya@playform.ru
email: root.vagner@gmail.com
site: bsdway.ru
site: fotostrana.ru

----------------------------------------
 ( ) ASCII ribbon campaign
  X  - against HTML, vCards and
 / \ - proprietary attachments in e-mail



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