*BSD News Article 5829


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!uunet!kithrup!hoptoad!decwrl!spool.mu.edu!umn.edu!noc.msc.net!uc.msc.edu!shamash!runyon.cim.cdc.com!pbd
From: pbd@runyon.cim.cdc.com (Paul Dokas)
Newsgroups: comp.unix.bsd
Subject: HELP!  VM problems while recompiling X11R5
Message-ID: <48140@shamash.cdc.com>
Date: 30 Sep 92 18:37:51 GMT
Sender: usenet@shamash.cdc.com
Organization: ICEM Systems, Inc.
Lines: 39

I'm having even more problems while trying to compile X11R5.  :-(

I built all of X11R5 (including PEX, InputExt and TYPE1 fonts)
just over a week ago.  I was eventually able to compile everything
with no errors.  But then I tried to go in and bring it up to X386
1.0.2...   The X11R5 patches 14-16 went in fine.  But the X386 1.0.2
patch failed so miserably that I had to start from scratch.

So I uncompressed the raw MIT distribution (mit-[1234].??) and patched
it with patches 1-13, X386 1.0.1 and the 386BSD patches (this is
exactly what I did the first time).  All looked good, so I did a
"make World >& world.log &" and a "tail -f world.log" and went home.

This morning I found that the make had failed miserably in
../extensions/lib/PEX.  It seems that everytime it tried to compile a *.c
file that included ../include/cpx.h it would run out of virtual memory.

Now normally this wouldn't be suprising for a 386-40 with 8MB of memory
except for two things:  1) I've got 43MB of swap, 2) this didn't happen the
first time that I built X11R5 with PEX.

I've tried reducing the size of my kernel by reducing MAXUSERS, ptys and
unneeded devices (sd2, sd3, st?, cd?, etc).  I've also removed nfs daemons
from the startup procedure (they aren't running now).  But I still get
stuck with "virtual memory exhausted".

Does anyone have any ideas?  I've tried everything that I could think of.

Also, does anyone have a working vmstat or pstat?  I desperately want to
be able to watch my VM to trace this problem.

BTW, I've tried to use ps -aux to trace VM usage, and it seems that cc1
is the culprit.  It's VSIZ goes up to over 6500 before it fails.

-- 
#include <std.disclaimer>
#define FULL_NAME                          "Paul Dokas"
#define EMAIL                              "pbd@runyon.cim.cdc.com"
/* we are realizing infinite possibilities in exchange for our soul */