Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: squish@hitl.washington.edu (Squish)
Subject: Re: swap erosion
Date: 15 Jun 1994 00:48:09 GMT	[thread overview]
Message-ID: <2tlj49$bh1@news.u.washington.edu> (raw)
In-Reply-To: MLIGGETT.94Jun6115123@onyx.chem.indiana.edu

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


      reply	other threads:[~1994-06-15  0:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-06-01 15:42 swap erosion Gary P. Grim
1994-06-02 16:10 ` Andrew Draskoy
1994-06-03 12:41   ` Christopher Samuel
1994-06-06 16:51     ` Matthew Liggett
1994-06-15  0:48       ` Squish [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox