From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,24521a735c13aea8 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-12-11 06:43:58 PST Path: bga.com!news.sprintlink.net!hookup!news.kei.com!eff!news.umbc.edu!haven.umd.edu!cville-srv.wam.umd.edu!jeffyb From: jeffyb@wam.umd.edu (Jeffrey S Brush) Newsgroups: comp.unix.osf.osf1 Subject: Re: Low swap soace and Xdm Date: 11 Dec 1994 14:43:40 GMT Organization: University of Maryland College Park Message-ID: <3cf36s$f8m@cville-srv.wam.umd.edu> References: NNTP-Posting-Host: rac3.wam.umd.edu X-Newsreader: TIN [version 1.2 PL0] Gregory ach/.nam (leach@plato.ds.boeing.com) wrote: : Greetings, : I have a DEC Alpha workstation (w/OSF 1.3A) which I manage on a : part-time basis. This workstation periodically runs out of swap space. : I have narrowed the swap space problem to the X Window manager and it's : related child processes. The swap space reserved slowly accumulates : over multiple console login sessions. Any ideas what I can do to halt : this? Is it a common problem with the version I have of OSF/1? : Thanks, : Greg Leach Again.... **** TRY THIS BEFORE MESSING WITH SWAP SETTINGS ***** On our Alpha OSF/1 system, we had the message about swap space after 2-4 weeks of use. We poked around, looked at man pages, tried various things, would reboot, and things would be OK for another 2-4 weeks. Finally, after careful reading of the xdm man page, I found what I needed: In the file /usr/lib/X11/xdm/xdm-config, add the following line (anywhere in the file): DisplayManager._0.terminateServer: true You'll probably need to restart the system at this point, but may be able to get away with exiting the Display Manager (i.e. get back to the login window). This setting causes xdm to COMPLETELY quit and start over, rather than hang on to all that memory that was allocated. This takes about 15 seconds. It seems that X is pretty bad about releasing memory, and if you monitor the size of the xdm process, you'l just see it grow and grow and grow. I hope this helps -- it worked for me!! -- Jeff Brush And don't let those folks in the other thread bother you about RTFM -- there's *thousands* of pages of docs with DEC systems, only a sysadm shold be expected to know where to look, and these systems are getting to the 'personal, desktop' status these days. -- JSB