httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dean gaudet <d...@arctic.org>
Subject Re: chunking of content in mod_include?
Date Tue, 11 Sep 2001 01:02:34 GMT
On Mon, 27 Aug 2001, Ryan Bloom wrote:

> I don't care if mod_include buffers 200 Megs, as long as it is constantly doing
> something with the data.  If we have a 200 Meg file that has no SSI tags in
> it, but we can get all 200 Meg at one time, then we shouldn't have any problem
> just scanning through the entire 200 Megs very quickly.  Worst case, we do what
> Brian suggested, and just check the bucket length once we have finished
> processing all of the data in that bucket.  The buffering only becomes a
> real problem when we sit waiting for data from a CGI or some other slow
> content generator.

when you say "buffers 200 Megs" up there do you mean it's mmap()d?

(i think that some of the page freeing decisions in linux are based on
whether a page is currently mapped or not, and a 200MB file could cause a
bit of memory shortage...)

-dean


Mime
View raw message