Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2002 07:21:05 -0800
From:      David Greenman <dg@root.com>
To:        Jacques Beigbeder <Jacques.Beigbeder@ens.fr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: highest value for limits?
Message-ID:  <20020321072105.E96231@nexus.root.com>
In-Reply-To: <20020321091355.A15164@trefle.ens.fr>; from Jacques.Beigbeder@ens.fr on Thu, Mar 21, 2002 at 09:13:55AM %2B0100
References:  <20020321091355.A15164@trefle.ens.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
>Process limit maximums are defined in
>  /usr/src/sys/i386/include/vmparam.h
>
>For instance, I read:
>
>  #define MAXTSIZ         (128UL*1024*1024)
>  #define MAXDSIZ         (512UL*1024*1024)
>  #define MAXSSIZ         (64UL*1024*1024)
>
>What are the highest values? For instance, on a
>machine with 2 Gb, setting MAXDSIZ to 512 Mb
>is poor! I tried 8 Gb, it failed. So what are
>the highest limits? Is it OS dependent, or
>hardware dependent?

   All three must add up to less than about 2.75GB. Those parameters control
the maximum virtual size of each process and have nothing to do with the
amount of RAM in the machine. The kernel takes the top 1GB of virtual
address space.

-DG

David Greenman
Co-founder, The FreeBSD Project - http://www.freebsd.org
President, TeraSolutions, Inc. - http://www.terasolutions.com
President, Download Technologies, Inc. - http://www.downloadtech.com
Pave the road of life with opportunities.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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