[squid-users] 4.0.2: ALE missing URL
rousskov at measurement-factory.com
Sat Nov 7 00:15:46 UTC 2015
On 11/06/2015 04:36 PM, David Touzeau wrote:
> I'm testing the new 4.0.2 version..
> Now i'm receive many errors like this in cache.log
> Whats wrong ?
> 2015/11/07 00:33:16 kid1| ALE missing URL
> 2015/11/07 00:33:16 kid1| ALE missing adapted HttpRequest object
This may be a regression bug introduced by trunk r14351 (Support
logformat %macros in external_acl_type format). AFAIK, those messages
were added specifically to catch hard-to-find bugs like that.
There is some logic in the code to limit the number of these messages,
but, AFAICT, it does not work well for busy Squids: A worker doing 1000
requests per second might log ~100 messages per minute. Future releases
may have less aggressive reporting if other developers agree that the
current reporting is too aggressive and adjust the code.
If you are seeing these messages, some of your ACLs may not work
correctly. However, the messages are printed for missing fields that
Squid can compute from other sources, so without call stack analysis you
may not be able to tell which ACLs are not working, if any.
If you want to help fixing this bug, please consider doing the following:
1. Add "assert(false);" line to showDebugWarning() in
src/acl/FilledChecklist.cc. Any line within that method should work but
placing it last, after the debugs() line, may work the best. This
addition will _kill_ your Squid so do not use this in production or at
least keep an unpatched binary around for a quick replacement!
2. Post gdb backtrace from the assertion in #1 to Bugzilla.
Others may be able to provide you with more detailed instructions if you
More information about the squid-users