You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/03/27 21:40:17 UTC
DO NOT REPLY [Bug 39124] New: - mod_cache using mem_cache randomly sending incorrect mime-type for cached files
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39124>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39124
Summary: mod_cache using mem_cache randomly sending incorrect
mime-type for cached files
Product: Apache httpd-2
Version: 2.2.0
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_cache
AssignedTo: bugs@httpd.apache.org
ReportedBy: max@ytmnd.com
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.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 39124] - mod_cache using mem_cache randomly sending incorrect mime-type for cached files
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39124>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39124
------- Additional Comments From Dick.Snippe@tech.omroep.nl 2006-04-26 21:46 -------
(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)
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 39124] - mod_cache using mem_cache randomly sending incorrect mime-type for cached files
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39124>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39124
------- Additional Comments From Dick.Snippe@tech.omroep.nl 2006-05-03 13:20 -------
> 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
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 39124] - mod_cache using mem_cache randomly sending incorrect mime-type for cached files
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39124>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39124
rpluem@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
------- Additional Comments From rpluem@apache.org 2006-03-27 21:58 -------
Does this also happen with mod_disk_cache?
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 39124] - mod_cache using mem_cache randomly sending incorrect mime-type for cached files
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39124>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39124
rpluem@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From rpluem@apache.org 2006-05-03 19:37 -------
*** This bug has been marked as a duplicate of 39266 ***
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org