Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 5529 invoked by uid 500); 30 Apr 2001 23:31:33 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 5514 invoked from network); 30 Apr 2001 23:31:31 -0000 Date: Mon, 30 Apr 2001 16:31:06 -0700 From: Justin Erenkrantz To: Cliff Woolley Cc: dev@apr.apache.org, new-httpd@apache.org Subject: Re: Buckets destroy not cleaning up private structures? Message-ID: <20010430163106.V6283@ebuilt.com> References: <20010430114511.Q6283@ebuilt.com> <20010430162538.T6283@ebuilt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010430162538.T6283@ebuilt.com>; from jerenkrantz@ebuilt.com on Mon, Apr 30, 2001 at 04:25:38PM -0700 X-AntiVirus: scanned for viruses by AMaViS 0.2.1-pre3 (http://amavis.org/) X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > Correct, but wouldn't it be "fairly" expensive to calculate how much > space you have allocated with MMAP? Or, you try and keep a static > "cached" value of how much space you've allocated. I bet this might be > a good place to use a reader/writer lock (wonder if anyone has > implemented that - ). -- justin BTW, this would only catch what mod_file_cache has allocated. Another module could well do the same thing. This just seems icky all over. Am I alone in thinking this? -- justin