Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 1996 22:30:05 +0200 (SAT)
From:      Khetan Gajjar <khetan@iafrica.com>
To:        Gary Palmer <gpalmer@FreeBSD.ORG>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Way to flush swap 
Message-ID:  <Pine.BSI.3.93.960616222517.270H-100000@chain.iafrica.com>
In-Reply-To: <21680.834938379@palmer.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 16 Jun 1996, Gary Palmer wrote:

>Do you quit out of X too? You run `netscape'. `xearth', `xdaliclock'

Yes.

>and `xload', all of which do large numbers of bitmap operations and
>likely trigger a large memory usage situation in the server. (i.e. the
>memory leak bug).

I do exit out of X, and do a kill -9 -1 as the user that executed those
programs, i.e khetan

>I'm running a -stable from earlier this month (June 2nd) and do NOT
>have this sort of problem...

Hmmm. I downloaded the latest sources today, and did a make world.
Things were looking promising; very little swap was being used, and then
when I quit out of everything swap utilisation didn't drop (as normal).
Right now, it's sitting on 57% used, and there are no
user-invoked processes on the machine.

>(BTW: Your nice little sed expression trimmed out a lot of info which

;-)

> could have been useful, like the %MEM, VSZ and RSS of the
> applications...)

Apologies. Do you want them ?

[chain] ~$ ps -uaxwwwww | grep khetan
khetan    7913  9.2 14.3  6632 4392  ??  S    10:26PM    0:22.44
/usr/local/lib/netscape/netscape.bin
khetan     270  2.1  3.4  1596 1040  p3  Is+   7:05PM    0:05.89  (pine)
khetan     238  0.0  1.9   440  588  ??  S     7:04PM    0:21.03 fvwm95-2
-s
khetan     242  0.0  0.0   660    0  p1  IWs+  7:04PM    0:00.37 -bash
(bash)
khetan     266  0.0  0.7   340  216  ??  S     7:05PM    0:10.27 rxvt
-font 7x14 -T Top -n Top
khetan     267  0.4  1.0   476  304  p2  Ss+   7:05PM    1:16.87 top
khetan     274  0.0  0.0   680   24  p4  IWs+  7:05PM    0:01.75 -bash
(bash)
khetan     285  0.1  1.7   704  520  p5  Ss    7:05PM    0:04.23 -bash
(bash)
khetan     302  0.0  3.0   984  900  p4  I     7:06PM    3:13.73 xearth
khetan     310  0.0  0.8   340  240  ??  S     7:08PM    0:01.26 rxvt -T
PPP session
khetan    4009  0.0  0.7   252  196  ??  I     7:24PM    0:00.47
/usr/X11R6/lib/X11/fvwm95-2//FvwmButtons 8 5
/usr/X11R6/lib/X11/fvwm95-2/.fvwm2rc95 0 8
khetan    4010  0.0  1.3   244  404  ??  S     7:24PM    0:02.21
/usr/X11R6/lib/X11/fvwm95-2//FvwmTaskBar 10 5
/usr/X11R6/lib/X11/fvwm95-2/.fvwm2rc95 0 8
khetan    4011  0.0  0.2   156   68  ??  S     7:24PM    0:00.32
/usr/X11R6/lib/X11/fvwm95-2//FvwmAuto 12 5
/usr/X11R6/lib/X11/fvwm95-2/.fvwm2rc95 0 8 200
khetan    4012  0.0  0.0   464    0  ??  IW    7:25PM    0:00.03 /bin/sh
-c xdaliclock -builtin -fn 12x24 -geometry -5-5
khetan    4013  0.1  0.7   292  208  ??  S     7:25PM    1:17.63
xdaliclock
khetan    4014  0.0  0.0   468    0  ??  IW    7:25PM    0:00.02 /bin/sh
-c nice -16 xload -fg red -nolabel -bg grey60 -update 5 -geometry
-1500-1500
khetan    4015  0.0  1.0   256  284  ??  SN    7:25PM    0:03.64 xload
khetan    4016  0.0  0.8   224  232  ??  S     7:25PM    0:02.42
/usr/X11R6/lib/X11/fvwm95-2//FvwmPager 14 5
/usr/X11R6/lib/X11/fvwm95-2/.fvwm2rc95 0 8 0 0
khetan    7912  0.0  0.5   464  160  ??  I    10:26PM    0:00.03 /bin/sh
-c netscape
khetan    7919  0.0  0.9   500  264  p5  R+   10:29PM    0:00.02 ps
-uaxwwwww
khetan    7920  0.0  1.5   176  444  p5  R+   10:29PM    0:00.03 grep
khetan
[chain] ~$ 

[chain] ~$ swapinfo
Device      1K-blocks     Used    Avail Capacity  Type
/dev/wd1s1b     44128    24908    19156    57%    Interleaved
[chain] ~$ 


Regards,
Khetan Gajjar.

---
Visit me at http://www.iafrica.com/~khetan/
UUNet-Internet Africa Operations 
help@iafrica.com or  0800-030-002





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.93.960616222517.270H-100000>