From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e9baf10a5806cc9d X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-02-02 09:26:37 PST Path: gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!cyber2.cyberstore.ca!vanbc.wimsey.com!mdavcr!das From: das@mdavcr.mda.ca (Darcy Semeniuk) Newsgroups: comp.unix.osf.osf1 Subject: Re: Swap space full problems Message-ID: <5042@sparky.mdavcr.mda.ca> Date: 2 Feb 94 17:26:37 GMT References: <1994Feb1.223800.13903@pslu1.psl.wisc.edu> Organization: MacDonald Dettwiler X-Newsreader: TIN [version 1.1 PL9] Don Katz (dbk@pslu1.psl.wisc.edu) wrote: : A new alpha osf/1 machine I am supporting has 64 Mb of RAM and 134 Mb : of swap. It is running OSF/1 V1.3 REV. 111, and has been up 32 days. : It consistently reports "swap space below 10 percent free". The : primary user runs Matlab, often several processes at a time, each of : which takes 15-20 Mb of virtual memory. But the processes which are : taking the most virtual memory (as reported by ps) are /usr/lib/X11/X : (64M) and the kernel. : % ps -eO vsize | grep M | sort -bnr +1 : swap space below 10 percent free : 0 222M R < ?? 29583:20.14 [kernel idle] : 237 63.9M S ?? 27:39.44 /usr/bin/X11/X -auth /usr/lib/X11/xdm/A:0-000233 : 10219 17.0M R p1 1960:20.95 /usr/misc/matlab/bin/alpha/matlab : 10254 12.2M S p2 0:01.83 /usr/misc/matlab/bin/alpha/matlab : 9848 10.6M I + p3 0:03.56 /usr/misc/matlab/bin/alpha/matlab : 9009 9.47M S ?? 6:33.47 /usr/bin/X11/dxterm -ls : 8959 9.47M I ?? 1:25.27 /usr/bin/X11/dxterm -ls : 8889 8.16M I ?? 1:09.05 /usr/bin/X11/mwm : 8871 7.98M I ?? 0:00.31 -:0 (xdm) : 233 7.63M I ?? 0:00.46 /usr/bin/X11/xdm -config /usr/lib/X11/xdm/xdm-co : ----------------------------------------------------------------------------- : Don Katz, Ph.D . Physical : .- / \ -. Sciences : University of Wisconsin - Madison ./' /+-+\ `\. Laboratory E-MAIL : 3725 Schneider Drive /' /-+-+-\ `\ ------ : Stoughton, WI 53589 // /+-+-+-+\ \\ psl::dbk : <======| P S L |======> dbk@psl.wisc.edu : Phone: 608-877-2242 (FAX: -2201) +---------+ dbk@wiscpsl.bitnet : ------------------------------------------------------------------------------- Your kernel is about the right size, but your X server is way too large (Mine is 10M right now). You should add the following lines to your xdm-config file: DisplayManager._0.terminateServer: true DisplayManager.local_0.terminateServer: true This will cause your Xserver to terminate and restart every time you log out - which stops the upward creaping memory usage. Darcy