*BSD News Article 5866


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!sgiblab!spool.mu.edu!yale.edu!jvnc.net!gmd.de!Germany.EU.net!unidui!du9ds3!veit
From: veit@du9ds3.uni-duisburg.de (Holger Veit)
Newsgroups: comp.unix.bsd
Subject: Re: HELP! VM problems while recompiling X11R5
Date: 1 Oct 92 11:50:56 GMT
Organization: Uni-Duisburg FB9 Datenverarbeitung
Lines: 42
Message-ID: <veit.717940256@du9ds3>
References: <48140@shamash.cdc.com>
Reply-To: veit@du9ds3.uni-duisburg.de
NNTP-Posting-Host: du9ds3.uni-duisburg.de

In <48140@shamash.cdc.com> pbd@runyon.cim.cdc.com (Paul Dokas) writes:

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

[...]
>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".

[...]

>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 */

cc1 *is* the culprit. I had this problem not in the PEX tree, but already 
before in the xlib. Interesting difference. The obivious reason is that
it exceeded its memory allocated by the "limit" command of the csh.
Set 'limit memoryuse unlimited', datasize unlimited, and also increase 
the number of file descriptors (just for insurance, should not be a limit). 
Additionally, look for different limitiations (you shouldn't increase the
coredumpsize for some reasons :-)).

Hope that helps

Holger

-- 
|  |   / Dr. Holger Veit         | INTERNET: veit@du9ds3.uni-duisburg.de
|__|  /  University of Duisburg  | "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|  | /   Dept. of Electr. Eng.   |   Sorry, the above really good fortune has
|  |/    Inst. f. Dataprocessing |      been CENSORED because of obscenity"