From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,cced43536826fbdb X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-22 06:36:18 PST Path: bga.com!news.sprintlink.net!hookup!ames!newsfeed.gsfc.nasa.gov!serts.gsfc.nasa.gov!thompson From: thompson@serts.gsfc.nasa.gov (William Thompson) Newsgroups: comp.unix.osf.osf1 Subject: Re: X11 growing without (?) bounds... Date: 22 Jun 94 13:13:01 GMT Organization: NASA Goddard Space Flight Center -- InterNetNews site Distribution: world Message-ID: References: NNTP-Posting-Host: serts.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit rsmith@wisp5.physics.wisc.edu (Randall Smith) writes: >We're running OSF/1 V2.0 on a DEC3000/300LX, and having a problem with >X. At boot time, its memory size is about 15M (virtual), which is not >a problem. But after a few days running, it is now at 64M, and has >grown to 110M at times, using nearly all our swap space and causing >some nasty problems requiring a reboot. (The actual resident size is >only 1M, so that's not a problem.) Our real memory is 32M, with 128M swap. >I know that X does have this tendancy to grow due to the method of >memory allocation on Unices, but this is a bit ridiculous. Our other >Alpha, running OSF/1 V1.3, stays at around 20M over a weeks of >running, with about the same (or more) usage. >Has anyone else seen this problem, and is there a fix? >Thanks, >Randy Smith >rsmith@wisp5.physics.wisc.edu Have you tried modifying the file /usr/bin/X11/xdm/Xservers to include a -terminate at the end. On the advice of somebody in DEC support, I modified mine to look like :0 local /usr/bin/X11/X -terminate ^^^^^^^^^^ This is the part I added. Yours may or may not look the same. I rebooted after making this change. My understanding is that there is a bug in xdm which causes it to grab memory every time somebody logs in, but not give it back when they log out. This is supposed to fix the problem. Bill Thompson