httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 50317] Possible error in mod_cache's "Avoiding the Thundering Herd"
Date Thu, 22 May 2014 11:59:45 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50317

--- Comment #39 from jkaluza@redhat.com ---
Relevant part from log after your patch + debug log to log "key" before
ap_cache_try_lock(...):

[Thu May 22 07:50:47 2014] [debug] obtained key:
accept-encodinghttp://localhost:80/examples/jsp/jsp2/el/basic-arithmetic.jsp?
[Thu May 22 07:50:47 2014] [debug] cache_util.c(604): Cache lock obtained for
stale cached URL, revalidating entry:
/examples/jsp/jsp2/el/basic-arithmetic.jsp
[Thu May 22 07:50:47 2014] [debug] cache_storage.c(272): Cached response for
/examples/jsp/jsp2/el/basic-arithmetic.jsp isn't fresh.  Adding/replacing
conditional request headers.
[Thu May 22 07:50:47 2014] [debug] cache: cache_url_handler uses key '(null)'
[Thu May 22 07:50:47 2014] [debug] mod_cache.c(156): Adding CACHE_SAVE filter
for /examples/jsp/jsp2/el/basic-arithmetic.jsp

>From first line you see that lock is obtained with key with "accept-encoding,
then the code you've patched is executed and NULL is used as a next key. Second
lock is obtained and CACHE_SAVE filter added.

-- 
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


Mime
View raw message