httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49604] New: bad debug message for MCacheMaxStreamingBuffer
Date Fri, 16 Jul 2010 15:10:55 GMT

           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

Created an attachment (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

[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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message