The following reply was made to PR general/2669; it has been noted by GNATS.

From: Marc Slemko <[EMAIL PROTECTED]>
To: Josh Beck <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: general/2669: Files being served are loaded into memory then
 served
Date: Wed, 22 Jul 1998 18:23:40 -0700 (PDT)

 On Wed, 22 Jul 1998, Josh Beck wrote:
 
 > > Yes, Apache uses mmap().  If you want to disable it, remove the
 > > USE_MMAP_FILES define from the appropriate section of the include/conf.h
 > > file.
 > > 
 > > However, if you think you want to stop it from using mmap() then you are
 > > probably wrong, especially on FreeBSD.  You will not magically gain the
 > > amount of memory listed by ps or top by stopping using mmap().
 > 
 > No, I don't plan on gaining that much back, and buying more memory isn't a
 > problem. What I'd like to do is avoid the problem we may encounter when
 > there are downloads of 200 simultaneous (different) songs going on, say,
 > where we would need 1GB of ram to mmap all the files so they can be served
 
 No, you do not need enough physical RAM to keep all the different files in
 memory at once.
 

Reply via email to