Re: [squid-users] Squid-3.0.STABLE1 dies repeatedly

From: Amos Jeffries <squid3@dont-contact.us>
Date: Thu, 20 Dec 2007 21:05:37 +1300

Uto Cen wrote:
> Hi,
> I’ve recently upgraded to Squid 3.0.STABLE1 with coss and aufs.
> Unfortunately, it keeps dying and I have to revert to Squid2.6.

Ouch. I'm cc'ing this to squid-dev as this is an issue that needs to be
brought up there.

What Operating System are you using?
Is it a package build or self-built?
What configure options? (output of squid -v)
What does cache_log contains with debug_options ALL,9?
Are you able to locate a core-dump from any of the crashes and pull a
stack trace out of it?

I'm not able to follow up on this myself, but with the info above one of
the other developers should be able to assist you.

Thank you.
Amos

>
> Attached log (note the repeated seg violation).
>
> Regards,
> Uto.
>
>
> 2007/12/19 09:31:18| Starting Squid Cache version 3.0.STABLE1 for
> i686-pc-linux-gnu...
> 2007/12/19 09:31:18| Process ID 29224
> 2007/12/19 09:31:18| With 32768 file descriptors available
> 2007/12/19 09:31:18| Performing DNS Tests...
> 2007/12/19 09:31:18| Successful DNS name lookup tests...
> 2007/12/19 09:31:18| DNS Socket created at 0.0.0.0, port 52924, FD 7
> 2007/12/19 09:31:18| Adding nameserver 127.0.0.1 from squid.conf
> 2007/12/19 09:31:18| Invalid capability version 0 (expected 429392688)
> 2007/12/19 09:31:18| Unlinkd pipe opened on FD 11
> 2007/12/19 09:31:18| Store logging disabled
> 2007/12/19 09:31:18| Swap maxSize 524288 KB, estimated 40329 objects
> 2007/12/19 09:31:18| Target number of buckets: 2016
> 2007/12/19 09:31:18| Using 8192 Store buckets
> 2007/12/19 09:31:18| Max Mem size: 65536 KB
> 2007/12/19 09:31:18| Max Swap size: 524288 KB
> 2007/12/19 09:31:18| Rebuilding COSS storage in /data1/squid_cache/coss01
> (CLEAN)
> 2007/12/19 09:31:18| Version 1 of swap file with LFS support detected...
> 2007/12/19 09:31:18| Rebuilding storage in /data1/squid_cache (CLEAN)
> 2007/12/19 09:31:18| Using Least Load store dir selection
> 2007/12/19 09:31:18| Current Directory is /
> 2007/12/19 09:31:19| Loaded Icons.
> 2007/12/19 09:31:19| Invalid capability version 0 (expected 429392688)
> 2007/12/19 09:31:19| Accepting accelerated HTTP connections at 0.0.0.0, port
> 80, FD 14.
> 2007/12/19 09:31:19| HTCP Disabled.
> 2007/12/19 09:31:19| Can't get current capabilities
> 2007/12/19 09:31:19| Accepting SNMP messages on port 166, FD 18.
> 2007/12/19 09:31:19| Configuring Parent 127.0.0.1/8080/0
> 2007/12/19 09:31:19| Invalid capability version 0 (expected 429392688)
> 2007/12/19 09:31:19| Ready to serve requests.
> 2007/12/19 09:31:19| Store rebuilding is 43.09% complete
> 2007/12/19 09:31:19| Done reading /data1/squid_cache/coss01 swaplog (9505
> entries)
> 2007/12/19 09:31:19| Done reading /data1/squid_cache swaplog (38479 entries)
> 2007/12/19 09:31:19| Finished rebuilding storage from disk.
> 2007/12/19 09:31:19| 47984 Entries scanned
> 2007/12/19 09:31:19| 0 Invalid entries.
> 2007/12/19 09:31:19| 0 With invalid flags.
> 2007/12/19 09:31:19| 47984 Objects loaded.
> 2007/12/19 09:31:19| 0 Objects expired.
> 2007/12/19 09:31:19| 0 Objects cancelled.
> 2007/12/19 09:31:19| 0 Duplicate URLs purged.
> 2007/12/19 09:31:19| 0 Swapfile clashes avoided.
> 2007/12/19 09:31:19| Took 0.58 seconds (82629.60 objects/sec).
> 2007/12/19 09:31:19| Beginning Validation Procedure
> 2007/12/19 09:31:19| Completed Validation Procedure
> 2007/12/19 09:31:19| Validated 95981 Entries
> 2007/12/19 09:31:19| store_swap_size = 223242
> FATAL: Received Segment Violation...dying.
> 2007/12/19 09:31:19| storeDirWriteCleanLogs: Starting...
> 2007/12/19 09:31:19| WARNING: Closing open FD 14
> 2007/12/19 09:31:19| Finished. Wrote 47663 entries.
> 2007/12/19 09:31:19| Took 0.03 seconds (1775885.84 entries/sec).
> CPU Usage: 0.400 seconds = 0.172 user + 0.228 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 0
> Memory usage for squid via mallinfo():
> total space in arena: 23560 KB
> Ordinary blocks: 23139 KB 0 blks
> Small blocks: 0 KB 0 blks
> Holding blocks: 0 KB 0 blks
> Free Small blocks: 200 KB
> Free Ordinary blocks: 220 KB
> Total in use: 23139 KB 98%
> Total free: 420 KB 2%
> 2007/12/19 09:31:22| Starting Squid Cache version 3.0.STABLE1 for
> i686-pc-linux-gnu...
> 2007/12/19 09:31:22| Process ID 29266
> 2007/12/19 09:31:22| With 32768 file descriptors available
> 2007/12/19 09:31:22| Performing DNS Tests...
> 2007/12/19 09:31:22| Successful DNS name lookup tests...
> 2007/12/19 09:31:22| DNS Socket created at 0.0.0.0, port 52924, FD 7
> 2007/12/19 09:31:22| Adding nameserver 127.0.0.1 from squid.conf
> 2007/12/19 09:31:22| Invalid capability version 0 (expected 429392688)
> 2007/12/19 09:31:23| Unlinkd pipe opened on FD 11
> 2007/12/19 09:31:23| Store logging disabled
> 2007/12/19 09:31:23| Swap maxSize 524288 KB, estimated 40329 objects
> 2007/12/19 09:31:23| Target number of buckets: 2016
> 2007/12/19 09:31:23| Using 8192 Store buckets
> 2007/12/19 09:31:23| Max Mem size: 65536 KB
> 2007/12/19 09:31:23| Max Swap size: 524288 KB
> 2007/12/19 09:31:23| Rebuilding COSS storage in /data1/squid_cache/coss01
> (CLEAN)
> 2007/12/19 09:31:23| Version 1 of swap file with LFS support detected...
> 2007/12/19 09:31:23| Rebuilding storage in /data1/squid_cache (CLEAN)
> 2007/12/19 09:31:23| Using Least Load store dir selection
> 2007/12/19 09:31:23| Current Directory is /
> 2007/12/19 09:31:23| Loaded Icons.
> 2007/12/19 09:31:23| Invalid capability version 0 (expected 429392688)
> 2007/12/19 09:31:23| Accepting accelerated HTTP connections at 0.0.0.0, port
> 80, FD 17.
> 2007/12/19 09:31:23| HTCP Disabled.
> 2007/12/19 09:31:23| Can't get current capabilities
> 2007/12/19 09:31:23| Accepting SNMP messages on port 166, FD 18.
> 2007/12/19 09:31:23| Configuring Parent 127.0.0.1/8080/0
> 2007/12/19 09:31:23| Invalid capability version 0 (expected 429392688)
> 2007/12/19 09:31:23| Ready to serve requests.
> 2007/12/19 09:31:23| Store rebuilding is 44.60% complete
> 2007/12/19 09:31:23| Done reading /data1/squid_cache/coss01 swaplog (9184
> entries)
> 2007/12/19 09:31:24| Done reading /data1/squid_cache swaplog (38479 entries)
> 2007/12/19 09:31:24| Finished rebuilding storage from disk.
> 2007/12/19 09:31:24| 47663 Entries scanned
> 2007/12/19 09:31:24| 0 Invalid entries.
> 2007/12/19 09:31:24| 0 With invalid flags.
> 2007/12/19 09:31:24| 47663 Objects loaded.
> 2007/12/19 09:31:24| 0 Objects expired.
> 2007/12/19 09:31:24| 0 Objects cancelled.
> 2007/12/19 09:31:24| 0 Duplicate URLs purged.
> 2007/12/19 09:31:24| 0 Swapfile clashes avoided.
> 2007/12/19 09:31:24| Took 0.84 seconds (56816.20 objects/sec).
> 2007/12/19 09:31:24| Beginning Validation Procedure
> 2007/12/19 09:31:24| Completed Validation Procedure
> 2007/12/19 09:31:24| Validated 95343 Entries
> 2007/12/19 09:31:24| store_swap_size = 222295
> FATAL: Received Segment Violation...dying.
> 2007/12/19 09:31:24| storeDirWriteCleanLogs: Starting...
> 2007/12/19 09:31:24| WARNING: Closing open FD 17
> 2007/12/19 09:31:24| Finished. Wrote 47664 entries.
> 2007/12/19 09:31:24| Took 0.06 seconds (746359.34 entries/sec).
> CPU Usage: 0.385 seconds = 0.162 user + 0.223 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 0
> Memory usage for squid via mallinfo():
> total space in arena: 23560 KB
> Ordinary blocks: 23231 KB 0 blks
> Small blocks: 0 KB 0 blks
> Holding blocks: 0 KB 0 blks
> Free Small blocks: 176 KB
> Free Ordinary blocks: 152 KB
> Total in use: 23231 KB 99%
> Total free: 328 KB 1%
> 2007/12/19 09:31:27| Starting Squid Cache version 3.0.STABLE1 for
> i686-pc-linux-gnu...
> 2007/12/19 09:31:27| Process ID 29309
> 2007/12/19 09:31:27| With 32768 file descriptors available
> 2007/12/19 09:31:27| Performing DNS Tests...
> 2007/12/19 09:31:27| Successful DNS name lookup tests...
> 2007/12/19 09:31:27| DNS Socket created at 0.0.0.0, port 52924, FD 7
> 2007/12/19 09:31:27| Adding nameserver 127.0.0.1 from squid.conf
> 2007/12/19 09:31:27| Invalid capability version 0 (expected 429392688)
> 2007/12/19 09:31:27| Unlinkd pipe opened on FD 11
> 2007/12/19 09:31:27| Store logging disabled
> 2007/12/19 09:31:27| Swap maxSize 524288 KB, estimated 40329 objects
> 2007/12/19 09:31:27| Target number of buckets: 2016
> 2007/12/19 09:31:27| Using 8192 Store buckets
> 2007/12/19 09:31:27| Max Mem size: 65536 KB
> 2007/12/19 09:31:27| Max Swap size: 524288 KB
> 2007/12/19 09:31:27| Rebuilding COSS storage in /data1/squid_cache/coss01
> (CLEAN)
> 2007/12/19 09:31:27| Version 1 of swap file with LFS support detected...
> 2007/12/19 09:31:27| Rebuilding storage in /data1/squid_cache (CLEAN)
> 2007/12/19 09:31:27| Using Least Load store dir selection
> 2007/12/19 09:31:27| Current Directory is /
> 2007/12/19 09:31:27| Loaded Icons.
> 2007/12/19 09:31:27| Invalid capability version 0 (expected 429392688)
> 2007/12/19 09:31:27| Accepting accelerated HTTP connections at 0.0.0.0, port
> 80, FD 14.
> 2007/12/19 09:31:27| HTCP Disabled.
> 2007/12/19 09:31:27| Can't get current capabilities
> 2007/12/19 09:31:27| Accepting SNMP messages on port 166, FD 18.
> 2007/12/19 09:31:27| Configuring Parent 127.0.0.1/8080/0
> 2007/12/19 09:31:27| Invalid capability version 0 (expected 429392688)
> 2007/12/19 09:31:27| Ready to serve requests.
> 2007/12/19 09:31:27| Store rebuilding is 44.59% complete
> 2007/12/19 09:31:27| Done reading /data1/squid_cache/coss01 swaplog (9186
> entries)
> 2007/12/19 09:31:28| Done reading /data1/squid_cache swaplog (38478 entries)
> 2007/12/19 09:31:28| Finished rebuilding storage from disk.
> 2007/12/19 09:31:28| 47664 Entries scanned
> 2007/12/19 09:31:28| 0 Invalid entries.
> 2007/12/19 09:31:28| 0 With invalid flags.
> 2007/12/19 09:31:28| 47664 Objects loaded.
>
> < it goes on and on and on dying repeatedly . . .>
>
>
>

-- 
Please use Squid 2.6STABLE17 or 3.0STABLE1.
There are serious security advisories out on all earlier releases.
Received on Thu Dec 20 2007 - 01:05:33 MST

This archive was generated by hypermail pre-2.1.9 : Tue Jan 01 2008 - 12:00:02 MST