NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 6.1_RC1 build fails



ptkrisada%gmail.com@localhost (Pongthep Kulkrisada) writes:

>* Michael van Elst (mlelstv%serpens.de@localhost) wrote:
>> >i486--netbsdelf-gcc: Internal error: Killed (program cc1 received signal 9)
>> 
>> Most likely the build ran out of memory.
>I have added more RAM from 256MB to 512MB remaining swap at 512 MB.
>Build is successful!!!
>Newer version of any OS trends to use more memory nowadays.
>IMHO, without GUI, 256MB RAM+512MB swap should have been enough for doing this.
>One question remains. Error message does not indicate insufficient memory.
>How do you know that?

A process is rarely terminated by signal 9 regularly because that leaves
no possibilty to analyze the issue. In most cases it is used by a)
the administrator or b) the kernel to handle a fatal condition. One fatal
condition is that the system is running out of memory.

You might see a message "UVM: pid %d (%s), uid %d killed: out of swap"
on the console when this happens.


>> Check 'ulimit' before running the build, and if your system
>> really doesn't have enough memory, add swapspace (e.g.  a
>> temporary swap file).
>Sorry, I'm now on tcsh.

Not much of a difference, the tcsh command is 'limit' :)

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index