From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,124868e643b652af X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-14 17:54:31 PST Path: nntp.gmd.de!Germany.EU.net!EU.net!uunet!spool.mu.edu!news.clark.edu!netnews.nwnet.net!news.u.washington.edu!hitl.washington.edu!squish From: squish@hitl.washington.edu (Squish) Newsgroups: comp.unix.osf.osf1 Subject: Re: swap erosion Date: 15 Jun 1994 00:48:09 GMT Organization: Human Interface Technology Lab, Seattle, WA Message-ID: <2tlj49$bh1@news.u.washington.edu> References: <2sl08s$1hl@coranto.ucs.mun.ca> <2sn8ek$eak@arrow.dra.hmg.gb> NNTP-Posting-Host: 128.95.74.30 I've also noticed on OSF 1.3 that xdm has a memory leak. This has been verified by other sources. The approach I have taken is (3) fold. 1) Get rid of the swapdefault link. 2) /usr/lib/X11/xdm/Xservers change the Xserver command from: :0 local /usr/bin/X11/X to :0 local /usr/bin/X11/X -terminate This tells xdm to quit and restart itself whenever anyone logs out on the console. Thus freeing up all of its leaked memory. 3) Some processes get stuck on our boxes. Appears that if people log in remotely and startup lots of jobs and then just simply exit their local box all the remote processes get stuck. I run the following every night via cron: #! /bin/csh -f echo "seek and destroy orphaned processIs" foreach i (`ps -aef | grep "\?\?" | grep -v root | sort -nr +1 | cut -c9-15`) echo "killing pid $i" kill -9 $i & end Good luck. I'd like to take this opportunity to thank DEC for an ok OS with wonderful BSD and SYS V functionality, good realtime support, and REALLY killer hardware. - mike -- The human brain is a complex organ with the wonderful power of enabling man to find reasons for continuing to believe whatever it is that he wants to believe. -Voltaire