cvs commit: doc Makefile

Marc Fonvieille blackend at FreeBSD.org
Thu Apr 12 08:13:32 UTC 2007


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


More information about the cvs-doc mailing list