* swap space below 10% free
@ 1994-12-06 20:37 Anderson Mills
1994-12-06 22:07 ` Tom Kraljevic
0 siblings, 1 reply; 11+ messages in thread
From: Anderson Mills @ 1994-12-06 20:37 UTC (permalink / raw)
We're having a problem with a DEC Alpha 3000 600 that has 64M of memory
and 128M of swap space. We're running OSF1. I keep doing fine for a
few days after rebooting and then we start getting
swap space below 10% free
messages all over the place. Eventually, no one can log in and we
reboot. I've searched through dxbook to find information about this but
the only thing I could find was that when X allocates memory, it doesn't
deallocate it [Online Documentation, App C. Section 7.4.2 (I think)].
Do we not have enough swap space and the X server memory requirements
are never levelling out?
Using ps avx, I find that the kernel is sitting around with a VSZ of
271M and RSS of 11M and X has a VSZ of 45.1M and an RSS of 2.8M.
After rebooting the VSZ of X is around 7-9M.
Any thoughts or suggestions are welcome, as well as ideas for reference
material. We don't have any but the online manuals.
--- Andy Mills (nodog@sabine.acs.psu.edu)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: swap space below 10% free
1994-12-06 20:37 swap space below 10% free Anderson Mills
@ 1994-12-06 22:07 ` Tom Kraljevic
1994-12-07 1:52 ` Jeffrey S Brush
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Tom Kraljevic @ 1994-12-06 22:07 UTC (permalink / raw)
nodog@sabine.psu.edu (Anderson Mills) writes:
>We're having a problem with a DEC Alpha 3000 600 that has 64M of memory
>and 128M of swap space. We're running OSF1. I keep doing fine for a
>few days after rebooting and then we start getting
>swap space below 10% free
I had this same problem. What you are probably suffering from
is an overgrown xdm process. Try adding the following line to
/usr/lib/X11/xdm/xdm-config:
DisplayManager._0.terminateServer: true
take a look at the xdm man page entry:
DisplayManager.DISPLAY.terminateServer
This boolean resource specifies whether the X server should be ter-
minated when a session terminates (instead of resetting it). This
resource can be used when the server tends to grow without bound over
time, in order to limit the amount of time the server is run. The
default value is ``false.''
This forces xdm to release memory periodically...
This should definitely be in the FAQ (don't know if it is).
--tom
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: swap space below 10% free
1994-12-06 22:07 ` Tom Kraljevic
@ 1994-12-07 1:52 ` Jeffrey S Brush
1994-12-07 5:00 ` Tom Kraljevic
1994-12-07 16:52 ` Paul Southworth
1994-12-07 21:21 ` Torbj|rn Lindgren
2 siblings, 1 reply; 11+ messages in thread
From: Jeffrey S Brush @ 1994-12-07 1:52 UTC (permalink / raw)
Tom Kraljevic (tomk@dual.crhc.uiuc.edu) wrote:
: nodog@sabine.psu.edu (Anderson Mills) writes:
: >swap space below 10% free
: I had this same problem. What you are probably suffering from
: is an overgrown xdm process. Try adding the following line to
: /usr/lib/X11/xdm/xdm-config:
: DisplayManager._0.terminateServer: true
: This forces xdm to release memory periodically...
: This should definitely be in the FAQ (don't know if it is).
I agree (I posted a similar fix a month ago that was wild popular for a while)
on the FAQ idea. I just want to clarify 'periodically':
Whenever you 'End Session' from the desktop manager (i.e. go back to the Digital
login prompt), you'll experience abuot a 10 sec sequence of screen flashing as
xdm completley restarts. If you don;t ever end the session, you'll never get
the memory back.
-- Jeff
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: swap space below 10% free
1994-12-07 1:52 ` Jeffrey S Brush
@ 1994-12-07 5:00 ` Tom Kraljevic
0 siblings, 0 replies; 11+ messages in thread
From: Tom Kraljevic @ 1994-12-07 5:00 UTC (permalink / raw)
jeffyb@wam.umd.edu (Jeffrey S Brush) writes:
>I agree (I posted a similar fix a month ago that was wild popular for a while)
Well, I guess I owe that fantastic gem to you then, Jeff...
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: swap space below 10% free
1994-12-06 22:07 ` Tom Kraljevic
1994-12-07 1:52 ` Jeffrey S Brush
@ 1994-12-07 16:52 ` Paul Southworth
1994-12-07 21:21 ` Torbj|rn Lindgren
2 siblings, 0 replies; 11+ messages in thread
From: Paul Southworth @ 1994-12-07 16:52 UTC (permalink / raw)
In article <3c2nb2$e5c@dual.crhc.uiuc.edu>,
Tom Kraljevic <tomk@dual.crhc.uiuc.edu> wrote:
>nodog@sabine.psu.edu (Anderson Mills) writes:
>>swap space below 10% free
>
>I had this same problem. What you are probably suffering from
>is an overgrown xdm process. Try adding the following line to
>/usr/lib/X11/xdm/xdm-config:
>
>DisplayManager._0.terminateServer: true
While it's true that X is a leaky pig on OSF/1, this swap allocation problem
more likely results from OSF/1's method of allocating swap space (that is,
very liberal allocation, much more than a process needs when it starts).
In fact, it's likely that when you get the 10% message, you have almost all
your swap *reserved* but almost none of it in use.
rm -f /sbin/swapdefault
will change the allocation method. you'll get a boot-time warning that
says you're swapping in "overcommitment" mode. I liken this to overbooking
airline seats -- you can almost always get away with it. Then when things
go wrong you have to look for "volunteers" to get killed ;) I haven't
been burned yet; I use 128mb swap on a 64mb 3000-300LX with about
20 users on it running pine, news, mosaic, a couple x terminals and the
odd compile job. Running OSF/1 2.0.
--Paul
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: swap space below 10% free
1994-12-06 22:07 ` Tom Kraljevic
1994-12-07 1:52 ` Jeffrey S Brush
1994-12-07 16:52 ` Paul Southworth
@ 1994-12-07 21:21 ` Torbj|rn Lindgren
1994-12-08 2:04 ` Tom Kraljevic
2 siblings, 1 reply; 11+ messages in thread
From: Torbj|rn Lindgren @ 1994-12-07 21:21 UTC (permalink / raw)
In article <3c2nb2$e5c@dual.crhc.uiuc.edu>,
Tom Kraljevic <tomk@dual.crhc.uiuc.edu> wrote:
>This forces xdm to release memory periodically...
>
>This should definitely be in the FAQ (don't know if it is).
Why. Isn't it enough that it's documented in the Release Notes?
The proposed fix is a bit different (add -terminate at the end of the
line in Xservers), but does exactly the same thing.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: swap space below 10% free
1994-12-07 21:21 ` Torbj|rn Lindgren
@ 1994-12-08 2:04 ` Tom Kraljevic
1994-12-08 8:27 ` Ross Alexander
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Tom Kraljevic @ 1994-12-08 2:04 UTC (permalink / raw)
tl@ae.chalmers.se (Torbj|rn Lindgren) writes:
>In article <3c2nb2$e5c@dual.crhc.uiuc.edu>,
>Tom Kraljevic <tomk@dual.crhc.uiuc.edu> wrote:
>>This forces xdm to release memory periodically...
>>
>>This should definitely be in the FAQ (don't know if it is).
>Why. Isn't it enough that it's documented in the Release Notes?
>The proposed fix is a bit different (add -terminate at the end of the
>line in Xservers), but does exactly the same thing.
Well, I guess all I have to ask is, "What release notes?"
I'm not the sysadmin. I didn't open the box the machine came
in and pull out the documentation. (Not that if I had, I
would have read it all, anyway.)
Are these release notes on-line? If not, then they're
completely worthless as far as I'm concerned.
'man -k release' doesn't appear to give any answers.
But everybody ought to know they can ftp to rtfm.mit.edu
and grab the newsgroup faq.
Furthermore, I argue there should be a 'BUGS' section in
the xdm man page bringing this point out in a very
straightforward fashion.
--tom
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: swap space below 10% free
1994-12-08 2:04 ` Tom Kraljevic
@ 1994-12-08 8:27 ` Ross Alexander
1994-12-08 16:17 ` Tim Llewellyn
1994-12-09 16:29 ` Torbj|rn Lindgren
2 siblings, 0 replies; 11+ messages in thread
From: Ross Alexander @ 1994-12-08 8:27 UTC (permalink / raw)
tomk@marley.crhc.uiuc.edu (Tom Kraljevic) writes:
>Well, I guess all I have to ask is, "What release notes?"
>I'm not the sysadmin. I didn't open the box the machine came
>in and pull out the documentation. (Not that if I had, I
>would have read it all, anyway.)
My, how revealing.
>Are these release notes on-line? If not, then they're
>completely worthless as far as I'm concerned.
Perhaps you should be looking for an attitude upgrade. I understand that
prolonged unemployment is conducive to aquiring same.
regards,
Ross
--
Ross Alexander VE6PDQ rwa@cs.athabascau.ca,
(403) 675 6311 rwa@auwow.cs.athabascau.ca
Television is chewing gum for the eyes. -- Frank Lloyd Wright
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: swap space below 10% free
1994-12-08 2:04 ` Tom Kraljevic
1994-12-08 8:27 ` Ross Alexander
@ 1994-12-08 16:17 ` Tim Llewellyn
1994-12-09 16:41 ` Torbj|rn Lindgren
1994-12-09 16:29 ` Torbj|rn Lindgren
2 siblings, 1 reply; 11+ messages in thread
From: Tim Llewellyn @ 1994-12-08 16:17 UTC (permalink / raw)
In article <3c5pj6$ie5@marley.crhc.uiuc.edu>, tomk@marley.crhc.uiuc.edu (Tom
Kraljevic) writes:\
|>
|>tl@ae.chalmers.se (Torbj|rn Lindgren) writes:
|>
|>>In article <3c2nb2$e5c@dual.crhc.uiuc.edu>,
|>>Tom Kraljevic <tomk@dual.crhc.uiuc.edu> wrote:
|>>>This forces xdm to release memory periodically...
|>>>
|>>>This should definitely be in the FAQ (don't know if it is).
|>
|>>Why. Isn't it enough that it's documented in the Release Notes?
|>
|>>The proposed fix is a bit different (add -terminate at the end of the
|>>line in Xservers), but does exactly the same thing.
|>
|>Well, I guess all I have to ask is, "What release notes?"
|>I'm not the sysadmin. I didn't open the box the machine came
|>in and pull out the documentation. (Not that if I had, I
|>would have read it all, anyway.)
Well, you'd make a good sysadmin I'm sure (not).
|>
|>Are these release notes on-line? If not, then they're
|>completely worthless as far as I'm concerned.
|>'man -k release' doesn't appear to give any answers.
IMHO man is little better than completeley worthless.
So we have different opinions.
Admittedly, I have not yet found where if anywhere the text of
the release notes is stored on the system disk. In
fact, I've installed layered products which print up the message
that the release notes have been moved to SYS$HELP, which is where
release notes are generally stored on OpenVMS systems.
Is there an analogue to SYS$HELP is OSF/1?
|>
|>But everybody ought to know they can ftp to rtfm.mit.edu
|>and grab the newsgroup faq.
Really? Even those without IP connections?
|>
|>Furthermore, I argue there should be a 'BUGS' section in
|>the xdm man page bringing this point out in a very
|>straightforward fashion.
|>
I would argue that this bug should be FIXED. It has been around as long
as we have been running OSF/1 (ie since V1 and we have V3 now).
|>--tom
|>
:-)
--
-----------------------------------------------------+------------------+
Tim Llewellyn - OpenVMS, Soukous and Cricket Addict |Hey, and get wise |
Physicist Programmer, Bristol Uni Particle Physics. | to the sounds of |
HEPNET/SPAN 19716::TJL Internet tjl@siva.bris.ac.uk | Africa,seen. |
I speak for me and noone else OK (and I might even | Soukous Makossa |
change my mind sometimes!-) Atari and EMagic user too| Mbalax Rumba...|
-----------------------------------------------------+------------------+
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: swap space below 10% free
1994-12-08 2:04 ` Tom Kraljevic
1994-12-08 8:27 ` Ross Alexander
1994-12-08 16:17 ` Tim Llewellyn
@ 1994-12-09 16:29 ` Torbj|rn Lindgren
2 siblings, 0 replies; 11+ messages in thread
From: Torbj|rn Lindgren @ 1994-12-09 16:29 UTC (permalink / raw)
In article <3c5pj6$ie5@marley.crhc.uiuc.edu>,
Tom Kraljevic <tomk@marley.crhc.uiuc.edu> wrote:
>tl@ae.chalmers.se (Torbj|rn Lindgren) writes:
>>Why. Isn't it enough that it's documented in the Release Notes?
>
>Well, I guess all I have to ask is, "What release notes?"
>I'm not the sysadmin. I didn't open the box the machine came
>in and pull out the documentation. (Not that if I had, I
>would have read it all, anyway.)
Do you *have* a Sysadmin? (The wording suggest that there may be
one). Then he/she should have fixed that IMHO.
Anyway, it is almost always very important to read the Release Notes
(and this isn't particular for DEC, most others vendors also has RN's
that *should*/*must* be read).
>Are these release notes on-line? If not, then they're
>completely worthless as far as I'm concerned.
>'man -k release' doesn't appear to give any answers.
I don't think they are available on-line. Some of the things they
cover is only interresting when you install/upgrade the OS.
I think I have seen it as a file on one of the CD's, but I might be
wrong.
>Furthermore, I argue there should be a 'BUGS' section in
>the xdm man page bringing this point out in a very
>straightforward fashion.
Xdm man page? It has nothing to do with XDM, it's the Xserver that is
broken (or more precisely the DPS extension in the Xserver). It seems
to be fixed in OSF/1 3.0 thought.
It isn't mentioned in the Xserver man page, so it was documented in
the RN instead.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: swap space below 10% free
1994-12-08 16:17 ` Tim Llewellyn
@ 1994-12-09 16:41 ` Torbj|rn Lindgren
0 siblings, 0 replies; 11+ messages in thread
From: Torbj|rn Lindgren @ 1994-12-09 16:41 UTC (permalink / raw)
In article <D0I2Kq.C0E@info.bris.ac.uk>,
Tim Llewellyn <Tim.Llewellyn@bristol.ac.uk> wrote:
>I would argue that this bug should be FIXED. It has been around as long
>as we have been running OSF/1 (ie since V1 and we have V3 now).
Well, it *is* fixed in OSF/1 V3.0.
Xdec doesn't seem to grow in 3.0, and I think I remember something
about it being fixed by the upgrade to a newer version of DPS.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~1994-12-09 16:41 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-06 20:37 swap space below 10% free Anderson Mills
1994-12-06 22:07 ` Tom Kraljevic
1994-12-07 1:52 ` Jeffrey S Brush
1994-12-07 5:00 ` Tom Kraljevic
1994-12-07 16:52 ` Paul Southworth
1994-12-07 21:21 ` Torbj|rn Lindgren
1994-12-08 2:04 ` Tom Kraljevic
1994-12-08 8:27 ` Ross Alexander
1994-12-08 16:17 ` Tim Llewellyn
1994-12-09 16:41 ` Torbj|rn Lindgren
1994-12-09 16:29 ` Torbj|rn Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox