Re: [squid-users] squid-3.1.1 + ecap + gzip copression fails

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 01 May 2010 00:52:20 +1200

Tomasz wrote:
> Dnia piątek 30 kwiecień 2010 o 12:50:53 Amos Jeffries napisał(a):
>> Tomasz wrote:
>>> Hello
>>>
>>> I tried ecap gzip compression in last Squid
>>> (http://code.google.com/p/squid- ecap-gzip/ )
>>>
>>> Compression works but every 5-20 minutes regularly squid restarts.
>> cache.log entry for the crash?
>
> Ok its cacche.log from few seconds before crach at crash moment.
>
> 2010/04/30 13:04:24| WARNING: HTTP: Invalid Response: Bad header encountered
> from
> http://smtp.wp.pl/blah904?req=7714912560676658CkzCmQ9oDUUxrbxm9gUYpQGGwjEySEFUiLtZygdQqAw%3D
> AKA
> smtp.wp.pl/blah904?req=7714912560676658CkzCmQ9oDUUxrbxm9gUYpQGGwjEySEFUiLtZygdQqAw%3D
> 2010/04/30 13:04:24| WARNING: HTTP: Invalid Response: Bad header encountered
> from
> http://smtp.wp.pl/blah917?req=7714912560676658CkzCmQ9oDUUxrbxm9gUYpQGGwjEySEFUiLtZygdQqAw%3D
> AKA
> smtp.wp.pl/blah917?req=7714912560676658CkzCmQ9oDUUxrbxm9gUYpQGGwjEySEFUiLtZygdQqAw%3D
> 2010/04/30 13:04:45| WARNING: HTTP: Invalid Response: Bad header encountered
> from
> http://smtp.wp.pl/blah891?req=7714912560676658CkzCmQ9oDUUxrbxm9gUYpQGGwjEySEFUiLtZygdQqAw%3D
> AKA
> smtp.wp.pl/blah891?req=7714912560676658CkzCmQ9oDUUxrbxm9gUYpQGGwjEySEFUiLtZygdQqAw%3D
> 2010/04/30 13:06:24| WARNING: HTTP: Invalid Response: Bad header encountered
> from
> http://smtp.wp.pl/blah891?req=7714912560676658CkzCmQ9oDUUxrbxm9gUYpQGGwjEySEFUiLtZygdQqAw%3D
> AKA
> smtp.wp.pl/blah891?req=7714912560676658CkzCmQ9oDUUxrbxm9gUYpQGGwjEySEFUiLtZygdQqAw%3D
> 2010/04/30 13:06:24| WARNING: HTTP: Invalid Response: Bad header encountered
> from
> http://smtp.wp.pl/blah904?req=7714912560676658CkzCmQ9oDUUxrbxm9gUYpQGGwjEySEFUiLtZygdQqAw%3D
> AKA
> smtp.wp.pl/blah904?req=7714912560676658CkzCmQ9oDUUxrbxm9gUYpQGGwjEySEFUiLtZygdQqAw%3D
> 2010/04/30 13:06:24| WARNING: HTTP: Invalid Response: Bad header encountered
> from
> http://smtp.wp.pl/blah917?req=7714912560676658CkzCmQ9oDUUxrbxm9gUYpQGGwjEySEFUiLtZygdQqAw%3D
> AKA
> smtp.wp.pl/blah917?req=7714912560676658CkzCmQ9oDUUxrbxm9gUYpQGGwjEySEFUiLtZygdQqAw%3D
> 2010/04/30 13:07:40| WARNING: HTTP: Invalid Response: Bad header encountered
> from http://st4.xhamster.com/t/468/s_339468.jpg AKA
> st4.xhamster.com/t/468/s_339468.jpg
> 2010/04/30 13:07:46| Starting Squid Cache version 3.1.1 for x86_64-pc-linux-
> gnu...
> 2010/04/30 13:07:46| Process ID 15665
> 2010/04/30 13:07:46| With 24576 file descriptors available
> 2010/04/30 13:07:46| Initializing IP Cache...
> 2010/04/30 13:07:46| ipcacheAddEntryFromHosts: Bad IP address '::1'
> 2010/04/30 13:07:46| DNS Socket created at 0.0.0.0, FD 7
> 2010/04/30 13:07:46| Adding domain abp.pl from /etc/resolv.conf
> 2010/04/30 13:07:46| Adding nameserver 82.160.1.1 from /etc/resolv.conf
> 2010/04/30 13:07:46| User-Agent logging is disabled.
> 2010/04/30 13:07:46| Referer logging is disabled.
> 2010/04/30 13:07:47| Unlinkd pipe opened on FD 12
> 2010/04/30 13:07:47| Local cache digest enabled; rebuild/rewrite every
> 3600/3600 sec
> 2010/04/30 13:07:47| Store logging disabled
> 2010/04/30 13:07:47| Swap maxSize 0 + 3584000 KB, estimated 275692 objects
> 2010/04/30 13:07:47| Target number of buckets: 13784
> 2010/04/30 13:07:47| Using 16384 Store buckets
> 2010/04/30 13:07:47| Max Mem size: 3584000 KB
> 2010/04/30 13:07:47| Max Swap size: 0 KB
> 2010/04/30 13:07:47| Using Least Load store dir selection
> 2010/04/30 13:07:47| Current Directory is /
> 2010/04/30 13:07:47| Loaded Icons.
> 2010/04/30 13:07:47| Accepting intercepted HTTP connections at
> 82.160.202.14:3128, FD 13.
> 2010/04/30 13:07:47| HTCP Disabled.
> 2010/04/30 13:07:47| Accepting SNMP messages on 0.0.0.0:3405, FD 14.
> 2010/04/30 13:07:47| loading Squid module from '/usr/lib/ecap_adapter_gzip.so'
> 2010/04/30 13:07:47| Squid modules loaded: 1
> 2010/04/30 13:07:47| Adaptation support is on
> 2010/04/30 13:07:47| Ready to serve requests.
> 2010/04/30 13:07:48| storeLateRelease: released 0 objects
> 2010/04/30 13:07:56| Starting Squid Cache version 3.1.1 for x86_64-pc-linux-
> gnu...
> 2010/04/30 13:07:56| Process ID 15668
> 2010/04/30 13:07:56| With 24576 file descriptors available
> 2010/04/30 13:07:56| Initializing IP Cache...
> 2010/04/30 13:07:56| ipcacheAddEntryFromHosts: Bad IP address '::1'
> 2010/04/30 13:07:56| DNS Socket created at 0.0.0.0, FD 7
> 2010/04/30 13:07:56| Adding domain abp.pl from /etc/resolv.conf
> 2010/04/30 13:07:56| Adding nameserver 82.160.1.1 from /etc/resolv.conf
> 2010/04/30 13:07:56| User-Agent logging is disabled.
> 2010/04/30 13:07:56| Referer logging is disabled.
> 2010/04/30 13:07:56| Unlinkd pipe opened on FD 12
> 2010/04/30 13:07:56| Local cache digest enabled; rebuild/rewrite every
> 3600/3600 sec
> 2010/04/30 13:07:56| Store logging disabled
> 2010/04/30 13:07:56| Swap maxSize 0 + 3584000 KB, estimated 275692 objects
> 2010/04/30 13:07:56| Target number of buckets: 13784
> 2010/04/30 13:07:56| Using 16384 Store buckets
> 2010/04/30 13:07:56| Max Mem size: 3584000 KB
> 2010/04/30 13:07:56| Max Swap size: 0 KB
> 2010/04/30 13:07:56| Using Least Load store dir selection
> 2010/04/30 13:07:56| Current Directory is /
> 2010/04/30 13:07:56| Loaded Icons.
> 2010/04/30 13:07:56| Accepting intercepted HTTP connections at
> 82.160.202.14:3128, FD 13.
> 2010/04/30 13:07:56| HTCP Disabled.
> 2010/04/30 13:07:56| Accepting SNMP messages on 0.0.0.0:3405, FD 14.
> 2010/04/30 13:07:56| loading Squid module from '/usr/lib/ecap_adapter_gzip.so'
> 2010/04/30 13:07:56| Squid modules loaded: 1
> 2010/04/30 13:07:56| Adaptation support is on
> 2010/04/30 13:07:56| Ready to serve requests.
> 2010/04/30 13:07:57| storeLateRelease: released 0 objects
>

http://bugs.squid-cache.org/show_bug.cgi?id=2877

We are having some trouble tracking this one down still. If you are able
to use "debug_options ALL,9" across a crash there might be something
slightly more helpful in cache.log. Otherwise I'm at a loss.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.1
Received on Fri Apr 30 2010 - 12:52:28 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 30 2010 - 12:00:06 MDT