Apache 2.2.0 on SMP Linux 2.6.16 x86_64 with 8gb of RAM. ./configure --with-layout=Apache --enable-module=most --enable-rewrite --enable-info --enable-status --enable-headers --enable-shared=max --disable-imap --disable-userdir --disable-cgi --disable-negotiation --prefix=/www --with-mpm=worker --enable-cache --enable-mem-cache --enable-mime-magic <IfModule mod_cache.c> CacheEnable mem / MCacheSize 4096000 MCacheMaxObjectCount 20000 MCacheMinObjectSize 1 MCacheMaxObjectSize 2048 MCacheRemovalAlgorithm LRU </IfModule> (mmap and sendfile are both on as well) Requesting a file "blank.gif", a 1x1 transparent gif image randomly falls back to the mime type set in DefaultType. I tried enabling mime magic, but it didn't seem to make a difference. As soon as I commented out the mod_cache directives, the problem disapeared.
Does this also happen with mod_disk_cache?
(In reply to comment #1) > Does this also happen with mod_disk_cache? (we have seen the same happening as in this bug report). I'm inclined to say "No, this does not happen with mod_disk_cache". However, we run mod_disk_cache against prefork mpm and mod_mem_cache against worker mpm, so the incorrect mime types might have something to do with the data corruptions we see in prefork mpm (see bug report 39079)
> I'm inclined to say "No, this does not happen with mod_disk_cache". > > However, we run mod_disk_cache against prefork mpm and mod_mem_cache against > worker mpm, so the incorrect mime types might have something to do with the data > corruptions we see in prefork mpm (see bug report 39079) Today I upgraded to apache-2.2.2 and saw this bug happening with mod_mem_cache. I'll revert to mod_disk_cache and see what happens
*** This bug has been marked as a duplicate of 39266 ***