Subject: Re: kernel options
To: Wolfgang Rupprecht <wolfgang+gnus20020423T113654@wsrcc.com>
From: webmaster@datazap.net <webmaster@datazap.net>
List: netbsd-help
Date: 04/25/2002 14:44:20
On 23 Apr 2002, Wolfgang Rupprecht wrote:

> Date: 23 Apr 2002 12:53:33 -0700
> From: Wolfgang Rupprecht <wolfgang+gnus20020423T113654@wsrcc.com>
> To: netbsd-help@netbsd.org
> Subject: Re: kernel options
>
>
> webmaster@datazap.net (webmaster@datazap.net) writes:
> > Also, from what I have been able to read, mapped memory is usally set to 1
> > or 4 gigs. However, mine is not. Although, it may be there is also some
> > kind of limit put on how many mapped pages it can have at once. Using top
> > to monitor it, Thttpd only uses about a 1/4 of the memory that I have on
> > the system before there is a problem.
>
> I normally see a per-process limit of just under 2 gigs (1.97e+09
> bytes or 0x75b03001 bytes) for mmap-ed memory under netbsd-current.
> Is that what you are seeing

I am not sure.

> As an aside has anyone noticed that you can do a very large mmap() and
> have it return success?

You many be right, I have no problem mmap() one large file, it is just
when I try to mapp() a large number of small files that I have the
problem. Why would this happen?

Thanks,
Al