Dear Raymond
unfortunately as i was reading your mail my squid as
died with same error :( . i was also running
Squid-2.5-StABLE5
i downgrade to old tar source on system which was
squid-2.5-Stable2 it is running ok after that .
what was your cpu usage for squid ?
Regards
> I have a Dual PIII/866MHz Fedora Core 1 box with
> 1x9GB and 1x18GB SCSI disks
> for squid and 2.5GB memory.
>
> Only 50% of the disks is being used for the spool
> (formatted in ReiserFS
> 3.6). The other 50% of the disks is formatted in
> Ext3 (for performance
> testing), but not mounted at the moment.
>
> I've downloaded the sources for SQUID2.5.STABLE5 and
> compiled them with
> gcc-3.3.2-6 and glibc-2.3.2-101.4 and the following
> configure options:
>
> --prefix=/opt/squid-2.5.STABLE5
> --enable-linux-netfilter --enable-async-io=24
> --enable-dlmalloc --enable-underscores
> '--enable-removal-policies=lru heap'
>
> CFLAGS was "-O6 -s -DNUMTHREADS=24" at compile time.
>
> The ip_wccp version being used is:
>
> ip_wccp.c,v 1.5 2004/02/17 01:55:05
>
> Squid worked fine for about 1.5 hours, but suddenly
> it died with a Segment
> Violation.
>
> See the cache.log:
>
> 2004/04/23 11:51:29| Starting Squid Cache version
> 2.5.STABLE5 for i686-pc-linux-gnu...
> 2004/04/23 11:51:29| Process ID 4115
> 2004/04/23 11:51:29| With 4096 file descriptors
> available
> 2004/04/23 11:51:29| Performing DNS Tests...
> 2004/04/23 11:51:29| Successful DNS name lookup
> tests...
> 2004/04/23 11:51:29| DNS Socket created at 0.0.0.0,
> port 32776, FD 4
> 2004/04/23 11:51:29| Adding nameserver 62.1.1.92
> from /etc/resolv.conf
> 2004/04/23 11:51:29| Adding nameserver 62.1.1.62
> from /etc/resolv.conf
> 2004/04/23 11:51:29| Unlinkd pipe opened on FD 9
> 2004/04/23 11:51:29| Swap maxSize 20480000 KB,
> estimated 1575384 objects
> 2004/04/23 11:51:29| Target number of buckets: 78769
> 2004/04/23 11:51:29| Using 131072 Store buckets
> 2004/04/23 11:51:29| Max Mem size: 8192 KB
> 2004/04/23 11:51:29| Max Swap size: 20480000 KB
> 2004/04/23 11:51:29| Rebuilding storage in
> /opt/squid/var/cache/disk1 (CLEAN)
> 2004/04/23 11:51:29| Rebuilding storage in
> /opt/squid/var/cache/disk2 (CLEAN)
> 2004/04/23 11:51:29| Using Least Load store dir
> selection
> 2004/04/23 11:51:29| Set Current Directory to
> /opt/squid/var/cache
> 2004/04/23 11:51:29| Loaded Icons.
> 2004/04/23 11:51:29| Accepting HTTP connections at
> 0.0.0.0, port 3128, FD 12.
> 2004/04/23 11:51:29| Accepting WCCP messages on port
> 2048, FD 13.
> 2004/04/23 11:51:29| Ready to serve requests.
> 2004/04/23 11:51:30| Store rebuilding is 19.9%
> complete
> 2004/04/23 11:51:30| Done scanning
> /opt/squid/var/cache/disk2 swaplog (0 entries)
> 2004/04/23 11:51:30| Done reading
> /opt/squid/var/cache/disk1 swaplog (20571 entries)
> 2004/04/23 11:51:30| Finished rebuilding storage
> from disk.
> 2004/04/23 11:51:30| 20571 Entries scanned
> 2004/04/23 11:51:30| 0 Invalid entries.
> 2004/04/23 11:51:30| 0 With invalid flags.
> 2004/04/23 11:51:30| 20571 Objects loaded.
> 2004/04/23 11:51:30| 0 Objects expired.
> 2004/04/23 11:51:30| 0 Objects cancelled.
> 2004/04/23 11:51:30| 0 Duplicate URLs
> purged.
> 2004/04/23 11:51:30| 0 Swapfile clashes
> avoided.
> 2004/04/23 11:51:30| Took 1.0 seconds (20430.0
> objects/sec).
> 2004/04/23 11:51:30| Beginning Validation Procedure
> 2004/04/23 11:51:30| Completed Validation
> Procedure
> 2004/04/23 11:51:30| Validated 20571 Entries
> 2004/04/23 11:51:30| store_swap_size = 279824k
> 2004/04/23 11:51:31| storeLateRelease: released 0
> objects
> 2004/04/23 12:02:30| squidaio_queue_request: WARNING
> - Queue congestion
> 2004/04/23 12:54:13| squidaio_queue_request: WARNING
> - Queue congestion
> 2004/04/23 13:23:16| squidaio_queue_request: WARNING
> - Queue congestion
> 2004/04/23 13:27:55| CACHEMGR: root@127.0.0.1
> requesting 'info'
> FATAL: Received Segment Violation...dying.
> 2004/04/23 13:29:55| storeDirWriteCleanLogs:
> Starting...
> 2004/04/23 13:29:55| WARNING: Closing open FD 12
> 2004/04/23 13:29:56| 65536 entries written so
> far.
> 2004/04/23 13:29:56| Finished. Wrote 69628
> entries.
> 2004/04/23 13:29:56| Took 0.1 seconds (649696.7
> entries/sec).
> CPU Usage: 4228.510 seconds = 1153.910 user +
> 3074.600 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 418
> Memory usage for squid via mallinfo():
> total space in arena: 27308 KB
> Ordinary blocks: 23302 KB 7935 blks
> Small blocks: 0 KB 0 blks
> Holding blocks: 1592 KB 3 blks
> Free Small blocks: 0 KB
> Free Ordinary blocks: 4005 KB
> Total in use: 24894 KB 91%
> Total free: 4005 KB 15%
> 2004/04/23 13:29:59| Starting Squid Cache version
> 2.5.STABLE5 for i686-pc-linux-gnu...
> 2004/04/23 13:29:59| Process ID 6560
> 2004/04/23 13:29:59| With 4096 file descriptors
> available
> 2004/04/23 13:29:59| Performing DNS Tests...
> 2004/04/23 13:29:59| Successful DNS name lookup
> tests...
> 2004/04/23 13:29:59| DNS Socket created at 0.0.0.0,
> port 32777, FD 4
> 2004/04/23 13:29:59| Adding nameserver 62.1.1.92
> from /etc/resolv.conf
> 2004/04/23 13:29:59| Adding nameserver 62.1.1.62
> from /etc/resolv.conf
> 2004/04/23 13:29:59| Unlinkd pipe opened on FD 9
> 2004/04/23 13:29:59| Swap maxSize 20480000 KB,
> estimated 1575384 objects
> 2004/04/23 13:29:59| Target number of buckets: 78769
> 2004/04/23 13:29:59| Using 131072 Store buckets
> 2004/04/23 13:29:59| Max Mem size: 8192 KB
> 2004/04/23 13:29:59| Max Swap size: 20480000 KB
> 2004/04/23 13:29:59| Rebuilding storage in
> /opt/squid/var/cache/disk1 (CLEAN)
> 2004/04/23 13:29:59| Rebuilding storage in
> /opt/squid/var/cache/disk2 (CLEAN)
> 2004/04/23 13:29:59| Using Least Load store dir
> selection
> 2004/04/23 13:29:59| Set Current Directory to
> /opt/squid/var/cache
> 2004/04/23 13:29:59| Loaded Icons.
> 2004/04/23 13:29:59| Accepting HTTP connections at
> 0.0.0.0, port 3128, FD 12.
> 2004/04/23 13:29:59| Accepting WCCP messages on port
> 2048, FD 13.
> 2004/04/23 13:29:59| Ready to serve requests.
> 2004/04/23 13:29:59| Store rebuilding is 5.9%
> complete
> 2004/04/23 13:29:59| Done scanning
> /opt/squid/var/cache/disk2 swaplog (0 entries)
> 2004/04/23 13:30:01| Done reading
> /opt/squid/var/cache/disk1 swaplog (69628 entries)
> 2004/04/23 13:30:01| Finished rebuilding storage
> from disk.
> 2004/04/23 13:30:01| 69628 Entries scanned
> 2004/04/23 13:30:01| 0 Invalid entries.
> 2004/04/23 13:30:01| 0 With invalid flags.
> 2004/04/23 13:30:01| 69609 Objects loaded.
> 2004/04/23 13:30:01| 0 Objects expired.
> 2004/04/23 13:30:01| 0 Objects cancelled.
> 2004/04/23 13:30:01| 3 Duplicate URLs
> purged.
> 2004/04/23 13:30:01| 16 Swapfile clashes
> avoided.
> 2004/04/23 13:30:01| Took 2.2 seconds (31729.9
> objects/sec).
> 2004/04/23 13:30:01| Beginning Validation Procedure
> 2004/04/23 13:30:01| Completed Validation
> Procedure
> 2004/04/23 13:30:01| Validated 69609 Entries
> 2004/04/23 13:30:01| store_swap_size = 1003412k
> 2004/04/23 13:30:02| storeLateRelease: released 0
> objects
>
> I had 'vmstat 5' running in another window at that
> time, but I don't think it
> show anything useful:
>
> procs memory swap
> io system cpu
> r b swpd free buff cache si so bi
> bo in cs us sy wa id
> 1 0 0 1509492 87876 838552 0 0 3
> 278 941 239 9 25 0 66
> 1 0 0 1508732 87904 839212 0 0 0
> 260
=== message truncated ===
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash
Received on Fri Apr 23 2004 - 05:42:21 MDT
This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:02 MDT