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 2010/07/16 17:10:55 UTC

DO NOT REPLY [Bug 49604] New: bad debug message for MCacheMaxStreamingBuffer

https://issues.apache.org/bugzilla/show_bug.cgi?id=49604

           Summary: bad debug message for MCacheMaxStreamingBuffer
           Product: Apache httpd-2
           Version: 2.2.15
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: mod_cache
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: covener@gmail.com


Created an attachment (id=25770)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25770)
patch with new debug msg

If mod_mem_cache is caching a streaming (chunked) response, and the size
eventually exceeds MCacheMaxStreamingBuffer, the only thing logged is a debug
message:

[Fri Jul 16 10:27:00 2010] [debug] mod_cache.c(391): (12)Cannot allocate
memory: cache: Cache provider's store_body failed!

In the non-streaming case, where the size is known up-front and compared to
min/max object size, the message is more explicit.  

I'd like to add another debug message like:


[Fri Jul 16 10:27:00 2010] [debug] mod_mem_cache.c(825): mem_cache: URL
http://localhost:80/bigfile? failed the MCacheMaxStreamingBuffer (100000) check
and will not be cached.

(mem_cache is not in trunk and did not want to jump straight to STATUS)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 49604] bad debug message for MCacheMaxStreamingBuffer

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49604

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #25770|0                           |1
        is obsolete|                            |

--- Comment #1 from Eric Covener <co...@gmail.com> 2010-12-04 10:21:25 EST ---
Created an attachment (id=26373)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26373)
+ rerror

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 49604] bad debug message for MCacheMaxStreamingBuffer

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49604

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org