On Wed, 28 Jan 2009 03:59:42 -0800 (PST)
Jürgen Keil <jrgn.k...@googlemail.com> wrote:

> > > Your build machine needs to be upgraded to at least snv_103
> > > 
> > > http://www.opensolaris.org/os/community/on/flag-days/pages/2008120401/
> > 
> > Thanks, James, that worked. I have to admit I am a bit sloppy on 
> > tracking all the flag days...
> 
> Which SX:CE release did you install?
> 
> 
> > Another problem showed up, though: the box I was buiding on has 4GB
> > RAM, and about 2.5 GB available when I start nightly (according to
> > vmstat). However, the build failed with an "out of space" error
> > (mksh: Fatal error: fork failed: Not enough space).
> 
> Hmm, in the last couple of weeks I had observed an 
> amanda backup server failing with strange "out of space"
> errors; in some cases the machine was hung (ping was possible,
> but console and network login was not possible).  kmdb ::memstat
> showed that almost 100% of memory was in use by the kernel,
> so most likely there is a memory leak somewhere.
> 
> Unfortunately all my attempts to find the root cause for the
> leak have failed (kmdb crashing / kernel was unable to write
> a complete crashdump / all attempts to find a leak with
> kmem_flags = 0xf have failed)

Start by blaming lint from Studio 12 :(

What we found when making the move to Studio 12 was that
it was mostly the lint phase which killed everything. 

10 concurrent clobber builds in parallel killed a T5120 with
16Gb ram and 64 cores. 64G of swap... and it still died.

Lots of swap space exceeded warnings, 20k++ active processes
and I had to stop-A the system.

Even reducing the number of clobber builds to 6 at a time
left several of them with "errors" due to resource allocation
failures:

dmake: Fatal error: Could not fork child process for dmake job:
Resource temporarily unavailable

And after 9-10 hours, too.


Short answer - add more swap, and only do one build at a time.

:-)

Cheers,
James
--
Senior Kernel Software Engineer, Solaris
Sun Microsystems
http://blogs.sun.com/jmcp       http://www.jmcp.homeunix.com/blog
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to