From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e9baf10a5806cc9d X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-02-16 15:04:19 PST Path: gmd.de!newsserver.jvnc.net!netnews.upenn.edu!msuinfo!agate!howland.reston.ans.net!cs.utexas.edu!swrinde!sgiblab!munnari.oz.au!foxhound.dsto.gov.au!fang.dsto.gov.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!andrewr From: andrewr@itd.adelaide.edu.au (Andrew Rutherford) Newsgroups: comp.unix.osf.osf1 Subject: Re: Swap space full problems Date: 16 Feb 1994 23:04:19 GMT Organization: The University of Adelaide Distribution: world Message-ID: <2ju8pj$qlg@huon.itd.adelaide.edu.au> References: <1994Feb1.223800.13903@pslu1.psl.wisc.edu> <5042@sparky.mdavcr.mda.ca> <2iq2od$l3f@scratchy.reed.edu> <2jgkk3$pqd@decuk.uvo.dec.com> <2jh8je$fd@usenet.pa.dec.com> NNTP-Posting-Host: iagu.itd.adelaide.edu.au X-Newsreader: TIN [version 1.2 PL2] 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 ! */