[squid-users] Symptom & Patch

From: Awie <awie@dont-contact.us>
Date: Tue, 6 Jun 2006 10:37:49 +0800

All,

My MRTG of Squid (2.5S14) sometimes showing the "Storage Mem Size" (and
"Total Memory" as well) went down then up by itself. I did not any error
message cache.log at the time of symptom happen.

Yesterday, I applied the patch of Squid 2.3S14 but Squid is dying (when
loaded by rc.local) with error "FATAL: Received Segment Violation...dying".
However, I cannot create stack trace as I don't know how to do. After
un-patching, Squid can be loaded from rc.local.

Thx & Rgds,

Awie

===SNIP===

2006/06/05 19:24:45| Performing DNS Tests...
2006/06/05 19:24:45| Successful DNS name lookup tests...
2006/06/05 19:24:45| DNS Socket created at 0.0.0.0, port 32769, FD 5
2006/06/05 19:24:45| Adding nameserver 192.168.1.1 from /etc/resolv.conf
2006/06/05 19:24:45| helperOpenServers: Starting 5 'squidGuard' processes
2006/06/05 19:24:45| Unlinkd pipe opened on FD 15
2006/06/05 19:24:45| Swap maxSize 10240000 KB, estimated 787692 objects
2006/06/05 19:24:45| Target number of buckets: 39384
2006/06/05 19:24:45| Using 65536 Store buckets
2006/06/05 19:24:45| Max Mem size: 16384 KB
2006/06/05 19:24:45| Max Swap size: 10240000 KB
2006/06/05 19:24:45| Rebuilding storage in /cache/objects (DIRTY)
2006/06/05 19:24:45| Using Least Load store dir selection
2006/06/05 19:24:45| Set Current Directory to /cache/logs
FATAL: Received Segment Violation...dying.
2006/06/05 19:24:45| Not currently OK to rewrite swap log.
2006/06/05 19:24:45| storeDirWriteCleanLogs: Operation aborted.
CPU Usage: 0.050 seconds = 0.010 user + 0.040 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 329
Memory usage for squid via mallinfo():
        total space in arena: 1635 KB
        Ordinary blocks: 1628 KB 2 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 460 KB 2 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 7 KB
        Total in use: 2088 KB 128%
        Total free: 7 KB 0%
2006/06/05 19:24:51| Starting Squid Cache version 2.5.STABLE14 for
i686-pc-linux-gnu...
2006/06/05 19:24:51| Process ID 686
2006/06/05 19:24:51| With 1024 file descriptors available
2006/06/05 19:24:51| Performing DNS Tests...
2006/06/05 19:24:51| Successful DNS name lookup tests...
2006/06/05 19:24:51| DNS Socket created at 0.0.0.0, port 32769, FD 5
2006/06/05 19:24:51| Adding nameserver 192.168.1.1 from /etc/resolv.conf
2006/06/05 19:24:51| helperOpenServers: Starting 5 'squidGuard' processes
2006/06/05 19:24:51| Unlinkd pipe opened on FD 15
2006/06/05 19:24:51| Swap maxSize 10240000 KB, estimated 787692 objects
2006/06/05 19:24:51| Target number of buckets: 39384
2006/06/05 19:24:51| Using 65536 Store buckets
2006/06/05 19:24:51| Max Mem size: 16384 KB
2006/06/05 19:24:51| Max Swap size: 10240000 KB
2006/06/05 19:24:51| Rebuilding storage in /cache/objects (DIRTY)
2006/06/05 19:24:51| Using Least Load store dir selection
2006/06/05 19:24:51| Set Current Directory to /cache/logs
FATAL: Received Segment Violation...dying.
2006/06/05 19:24:51| Not currently OK to rewrite swap log.
2006/06/05 19:24:51| storeDirWriteCleanLogs: Operation aborted.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 329
Memory usage for squid via mallinfo():
        total space in arena: 1635 KB
        Ordinary blocks: 1628 KB 2 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 460 KB 2 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 7 KB
        Total in use: 2088 KB 128%
        Total free: 7 KB 0%
2006/06/05 19:24:56| Starting Squid Cache version 2.5.STABLE14 for
i686-pc-linux-gnu...
2006/06/05 19:24:56| Process ID 744
2006/06/05 19:24:56| With 1024 file descriptors available
2006/06/05 19:24:56| Performing DNS Tests...
2006/06/05 19:24:56| Successful DNS name lookup tests...
2006/06/05 19:24:56| DNS Socket created at 0.0.0.0, port 32770, FD 5
2006/06/05 19:24:56| Adding nameserver 192.168.1.1 from /etc/resolv.conf
2006/06/05 19:24:56| helperOpenServers: Starting 5 'squidGuard' processes
2006/06/05 19:24:57| Unlinkd pipe opened on FD 15
2006/06/05 19:24:57| Swap maxSize 10240000 KB, estimated 787692 objects
2006/06/05 19:24:57| Target number of buckets: 39384
2006/06/05 19:24:57| Using 65536 Store buckets
2006/06/05 19:24:57| Max Mem size: 16384 KB
2006/06/05 19:24:57| Max Swap size: 10240000 KB
2006/06/05 19:24:57| Rebuilding storage in /cache/objects (DIRTY)
2006/06/05 19:24:57| Using Least Load store dir selection
2006/06/05 19:24:57| Set Current Directory to /cache/logs
FATAL: Received Segment Violation...dying.
2006/06/05 19:24:57| Not currently OK to rewrite swap log.
2006/06/05 19:24:57| storeDirWriteCleanLogs: Operation aborted.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 329
Memory usage for squid via mallinfo():
        total space in arena: 1635 KB
        Ordinary blocks: 1628 KB 2 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 460 KB 2 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 7 KB
        Total in use: 2088 KB 128%
        Total free: 7 KB 0%
2006/06/05 19:25:02| Starting Squid Cache version 2.5.STABLE14 for
i686-pc-linux-gnu...
2006/06/05 19:25:02| Process ID 780
2006/06/05 19:25:02| With 1024 file descriptors available
2006/06/05 19:25:02| Performing DNS Tests...
2006/06/05 19:25:02| Successful DNS name lookup tests...
2006/06/05 19:25:02| DNS Socket created at 0.0.0.0, port 32771, FD 5
2006/06/05 19:25:02| Adding nameserver 192.168.1.1 from /etc/resolv.conf
2006/06/05 19:25:02| helperOpenServers: Starting 5 'squidGuard' processes
2006/06/05 19:25:02| Unlinkd pipe opened on FD 15
2006/06/05 19:25:02| Swap maxSize 10240000 KB, estimated 787692 objects
2006/06/05 19:25:02| Target number of buckets: 39384
2006/06/05 19:25:02| Using 65536 Store buckets
2006/06/05 19:25:02| Max Mem size: 16384 KB
2006/06/05 19:25:02| Max Swap size: 10240000 KB
2006/06/05 19:25:02| Rebuilding storage in /cache/objects (DIRTY)
2006/06/05 19:25:02| Using Least Load store dir selection
2006/06/05 19:25:02| Set Current Directory to /cache/logs
FATAL: Received Segment Violation...dying.
2006/06/05 19:25:02| Not currently OK to rewrite swap log.
2006/06/05 19:25:02| storeDirWriteCleanLogs: Operation aborted.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 329
Memory usage for squid via mallinfo():
        total space in arena: 1635 KB
        Ordinary blocks: 1628 KB 2 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 460 KB 2 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 7 KB
        Total in use: 2088 KB 128%
        Total free: 7 KB 0%
Received on Mon Jun 05 2006 - 20:38:24 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Jul 01 2006 - 12:00:01 MDT