lkml.org 
[lkml]   [2000]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Newbie question: mmap() and file descriptor limits


On Sun, 3 Sep 2000, Stephen C. Tweedie wrote:

> > it ends up running into the system file descriptor limits which makes
> > the system unusable for anything but the web server process. FreeBSD
> > does it differenly. Files can be mmaped and do not count towards the
> > limit.

FreeBSD unmaps upon close(). Which is a bogus behaviour. If you want them
unmapped - call munmap() explicitly.

> Then increase the system-wide limit in /proc/sys/fs/file-max (just
> echo a new value there).

Depends on what he really wants...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.074 / U:8.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site