From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e9baf10a5806cc9d,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-02-01 14:38:00 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!spool.mu.edu!uwm.edu!post.its.mcw.edu!news.doit.wisc.edu!psl.wisc.edu!dbk From: dbk@pslu1.psl.wisc.edu (Don Katz) Subject: Swap space full problems Message-ID: <1994Feb1.223800.13903@pslu1.psl.wisc.edu> Organization: Physical Sciences Lab, UW-Madison Date: Tue, 1 Feb 94 22:38:00 GMT 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 8886 7.36M I ?? 0:00.86 dxsession Can I conclude from this output that X is the problem? If so, how can I reduce the amount of virtual memory taken up by X, or is there an alternative display manager that is less resource intensive? Is this an uptime problem, i.e. does X increase its virtual memory use with time? Finally, is there a better tool or method of determining what processes are filling up the swap space? Don P.S. Our news server has some problems at the moment, so please copy replies to me by email, so I can be sure to receive them. ----------------------------------------------------------------------------- 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 ------------------------------------------------------------------------------- -- ----------------------------------------------------------------------------- Don Katz, Ph.D . Physical .- / \ -. Sciences University of Wisconsin - Madison ./' /+-+\ `\. Laboratory E-MAIL