httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Burry" <dbu...@tagnet.org>
Subject mod_mem_cache bad for large/busy files (Was: [PATCH] remove some mutex locks in the worker MPM)
Date Wed, 01 Jan 2003 19:26:03 GMT
Apache 2.0.43, Solaris 8, Sun E220R, 4 gig memory, gig ethernet.  We tried
both Sun forte and gcc compilers.  The problem was mod_mem_cache was just
way too resource intensive when pounding on a machine that hard, trying to
see if everything would fit into the cache... cpu/mutexes were very high,
especially memory was out of control (we had many very large files, ranging
from half dozen to two dozen megs, the most popular of those were what we
really wanted cached), and we were running several hundred concurrent
connections at once.  Maybe a new cache loading/hit/removal algorithm that
works better for many hits to very large files would solve it I dunno.

We finally settled on listing out some of the most popular files out in the
httpd.conf file for mod_file_cache, but that presents a management problem
as what's most popular changes.  It would have been nicer if apache could
auto-sense the most popular files.  Also it seems mod_file_cache has a file
size limit but at least we got enough in there the disk wasn't bottlenecking
anymore...

Dave

----- Original Message -----
From: "Bill Stoddard" <bill@wstoddard.com>
To: <dev@httpd.apache.org>
Sent: Wednesday, January 01, 2003 6:38 AM
Subject: RE: [PATCH] remove some mutex locks in the worker MPM


> > it may also have to do with caching we were doing (mod_mem_cache crashed
and
> burned,
> What version were you running?  What was the failure? If you can give me
enough
> info to debug the problem, I'll work on it.
>
> Bill
>


Mime
View raw message