Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: andrewr@itd.adelaide.edu.au (Andrew Rutherford)
Subject: Re: Swap space full problems
Date: 16 Feb 1994 23:04:19 GMT	[thread overview]
Message-ID: <2ju8pj$qlg@huon.itd.adelaide.edu.au> (raw)
In-Reply-To: 2jh8je$fd@usenet.pa.dec.com

Gail L. Grant (grant@glg.pa.dec.com) wrote:

: not what we have seen.  most apps ask for far more memory than they ever use.
: for us, changing to lazy HAS solved the problem.  the only side effect that
: we have found with this is that if a user has a runaway process, the system
: hangs.  has happened two times in six months and on a demo machine where folk
: are really banging on it, i think that pretty good.

	I'd go a step further - I had a problem with a runaway process
that occured simultaneously on two Alphas (triggered by a network problem,
but that's another story), and on one of them no-one had actually got
around to removing swapdefault first.

	On the overcommit machine, it allocated more memory than existed,
tried writing to a page of it, and the kernel killed it. System returns
to normal after a five minute hang.

	On the eager allocation machine, it chewed up all memory it could,
then the malloc's must have started failing, but it didn't die as a result
of it - we wouldn't have known what the problem was if not for the other
machine - the only way out was the panic button, as we couldn't run
anything else as there was no memory availible.

	To the person (sorry, I've lost it) who said something to the
effect of "all it will do is make processes fall over", I've had it
explained to me/worked it out myself (so I could be wrong), that in
eager mode it's reserving pages for copy-on-write faults to the shared
libraries, which almost never happens. So it's reserving lots of
swap space that is never, ever, going to be used.

	Andrew.

/*
 * Andrew Rutherford                 andrewr@itd.adelaide.edu.au
 * +61 8 303 5669            Real Programmers always confuse Christmas and
 * Room 1060, Adelaide Uni      Halloween because OCT 31 == DEC 25 !
 */


  reply	other threads:[~1994-02-16 23:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-02-01 22:38 Swap space full problems Don Katz
1994-02-02 17:26 ` Darcy Semeniuk
     [not found]   ` <2iq2od$l3f@scratchy.reed.edu>
1994-02-11 19:00     ` Andy Brown
1994-02-11 19:49       ` System Janitor
1994-02-12  0:41       ` Gail L. Grant
1994-02-16 23:04         ` Andrew Rutherford [this message]
1994-02-17 19:27           ` Harry Mantakos
1994-02-18  5:54             ` Wuxu Peng
1994-02-22 11:00               ` anthony baxter
1994-02-24  7:17             ` Andrew Rutherford
  -- strict thread matches above, loose matches on Subject: below --
1994-02-14 19:41 Don Katz
1994-02-15 16:13 ` hooft
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