Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Low swap soace and Xdm
@ 1994-12-09 20:20 Gregory ach/.nam
  1994-12-11 14:43 ` Jeffrey S Brush
  0 siblings, 1 reply; 3+ messages in thread
From: Gregory ach/.nam @ 1994-12-09 20:20 UTC (permalink / raw)


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

-----------------------------------------------------------------------------
Greg Leach		  | Internet:  leach@homer.ds.boeing.com
The Boeing Company	  |	       leach@elvis.ds.boeing.com
P.O. Box 3999  M/S 9F-61  | 
Seattle, WA  98124-2499	  | Phone:     (206) 657-6379
-----------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Low swap soace and Xdm
  1994-12-09 20:20 Low swap soace and Xdm Gregory ach/.nam
@ 1994-12-11 14:43 ` Jeffrey S Brush
  1994-12-11 15:54   ` Mike Iglesias
  0 siblings, 1 reply; 3+ messages in thread
From: Jeffrey S Brush @ 1994-12-11 14:43 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Low swap soace and Xdm
  1994-12-11 14:43 ` Jeffrey S Brush
@ 1994-12-11 15:54   ` Mike Iglesias
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Iglesias @ 1994-12-11 15:54 UTC (permalink / raw)


In article <3cf36s$f8m@cville-srv.wam.umd.edu>,
Jeffrey S Brush <jeffyb@wam.umd.edu> wrote:
>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

You probably only need to send a HUP signal to xdm.

>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!!

Actually it is caused by the way Unix systems handle memory, not a
"bug" in X.  It is the X server that is growing, not xdm, and the
change above causes the server to exit when you log out.  xdm then
starts another one.


-- 
Mike Iglesias                        Internet:    iglesias@draco.acs.uci.edu
University of California, Irvine     phone:       (714) 824-6926
Office of Academic Computing         FAX:         (714) 824-2069
Central Computing Support        


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1994-12-11 15:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-09 20:20 Low swap soace and Xdm Gregory ach/.nam
1994-12-11 14:43 ` Jeffrey S Brush
1994-12-11 15:54   ` Mike Iglesias

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