lkml.org 
[lkml]   [2000]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectNewbie question: mmap() and file descriptor limits
Please CC any replies to me at <ejones@uwaterloo.ca>.

I hope this has not been discussed before. I think I have searched the
archive fairly exhaustively. This issue may also no longer exist on the
2.4 kernel series because I have not tested it on that kernel.

I have been experimenting with a web server (thttpd) which uses a cache
of mmaped files to serve requests. It opens a file, mmaps it then closes
it to avoid running into the perprocess file descriptor limits. Instead,
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.

Does this issue still exist in the 2.4 kernel series? If not, are there
any plans for resolving it? Any suggestions for how I could modify the
web server to avoid making the system unusable?

Thank you

Evan Jones
<ejones@uwaterloo.ca>


-
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.040 / U:4.612 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site