Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2007 10:13:29 +0200
From:      Marc Fonvieille <blackend@FreeBSD.org>
To:        "Simon L. Nielsen" <simon@FreeBSD.org>
Cc:        doc-committers@FreeBSD.org, Giorgos Keramidas <keramida@FreeBSD.org>, cvs-all@FreeBSD.org, cvs-doc@FreeBSD.org
Subject:   Re: cvs commit: doc Makefile
Message-ID:  <20070412081329.GB97256@abigail.blackend.org>
In-Reply-To: <20070411202758.GE1027@zaphod.nitro.dk>
References:  <200704111851.l3BIpMnJ040158@repoman.freebsd.org> <20070411185702.GA97256@abigail.blackend.org> <20070411202758.GE1027@zaphod.nitro.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 11, 2007 at 10:27:59PM +0200, Simon L. Nielsen wrote:
> On 2007.04.11 20:57:02 +0200, Marc Fonvieille wrote:
> > On Wed, Apr 11, 2007 at 06:51:21PM +0000, Giorgos Keramidas wrote:
> > > keramida    2007-04-11 18:51:21 UTC
> > > 
> > >   FreeBSD doc repository
> > > 
> > >   Modified files:
> > >     .                    Makefile 
> > >   Log:
> > >   Attach the mn_MN.UTF-8 doc tree to the build.  Thanks to blackend's
> > >   help, this is now fully buildable, so we can auto-build it too.
> > >
> > 
> > If one wants to build the PDF version, the kern.maxdsiz tuneable must be
> > increased from 512MB to 1GB.  This can be done in adding
> > 
> > kern.maxdsiz="1073741824"
> > 
> > in /boot/loader.conf, followed by a reboot.  Without that, the build
> > will failed.
> 
> That's a bit of a problem considering the system building the docs for
> the FTP sites has 512MB of memory... guess I will know in a couple of
> days what happens.
>

By default datasize is limited to 512MB, you'll only get something like
"fatal: memory exhausted (xmalloc of 8 bytes)." and the build will stop.

I assume it's possible to increase kern.maxdsiz if there's enough swap.

I did the test with 600MB and 1GB, it worked with 1GB.  I think the
build requires less than 1GB; since my machine is slow I can't afford to
spend hours to find the right value (the box has 1GB of RAM).

To see the current value used, just use 'limit'.

-- 
Marc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070412081329.GB97256>