[squid-users] Need advice for "FATAL: Received Segment Violation...dying"

From: Vesselin Denkov <V.Denkov@dont-contact.us>
Date: Mon, 20 Sep 2004 18:29:09 +0300

Here is my problem:
I'm running SuSe 9.1 with all updates kept in sync from 6 weeks on this box.
It is internal proxy and it have parent for Internet connections, which
is the same machine, same OS and same config.
Only difference is that this box have delay pools for client subnets.
Parent doesn't have this problem - it has uptime 6 weeks without any
problems with squid.
Hardware: IBM ThinkCentre P4/2,6G 1GB RAM, 2x40GB HDD
This box has about 500 clients, about 35-40 req/sec maximum, about 2
Mbit throughput in worktime.
I haven't any complains for filedescriptors, memory or anything else in
my cache.log - just sometimes bad URLs ...
I think I read all posts relevant to this problem for last 1 year :-( ...
Cache dirs are equal on both HDDs, on ext2 partitions, system is on
software mirror partitions.
Sometimes it crashes once per day, sometimes - 10 times ...
I looked in all system logs to find something, but there is no errors
and warnings for anything at times when squid goes down :-(

Any suggestions ?!

---
2004/09/20 15:21:14| Starting Squid Cache version 2.5.STABLE5 for 
i686-pc-linux-gnu...
2004/09/20 15:21:14| Process ID 3187
2004/09/20 15:21:14| With 1024 file descriptors available
2004/09/20 15:21:14| DNS Socket created at 0.0.0.0, port 32768, FD 5
2004/09/20 15:21:14| Adding nameserver 172.20.0.92 from squid.conf
2004/09/20 15:21:14| User-Agent logging is disabled.
2004/09/20 15:21:14| Referer logging is disabled.
2004/09/20 15:21:14| Unlinkd pipe opened on FD 10
2004/09/20 15:21:14| Swap maxSize 20971520 KB, estimated 2097152 objects
2004/09/20 15:21:14| Target number of buckets: 104857
2004/09/20 15:21:14| Using 131072 Store buckets
2004/09/20 15:21:14| Max Mem  size: 655360 KB
2004/09/20 15:21:14| Max Swap size: 20971520 KB
2004/09/20 15:21:14| Store logging disabled
2004/09/20 15:21:14| Local cache digest enabled; rebuild/rewrite every 
3600/3600 sec
2004/09/20 15:21:14| Rebuilding storage in /cache/11 (CLEAN)
2004/09/20 15:21:14| Rebuilding storage in /cache/12 (CLEAN)
2004/09/20 15:21:14| Using Least Load store dir selection
2004/09/20 15:21:14| Current Directory is /
2004/09/20 15:21:14| Loaded Icons.
2004/09/20 15:21:18| Accepting HTTP connections at 0.0.0.0, port 3128, 
FD 14.
2004/09/20 15:21:18| Accepting ICP messages at 0.0.0.0, port 3130, FD 15.
2004/09/20 15:21:18| HTCP Disabled.
2004/09/20 15:21:18| Accepting SNMP messages on port 3401, FD 16.
2004/09/20 15:21:18| WCCP Disabled.
2004/09/20 15:21:18| Configuring Parent polaris.dz2.bulbank.bg/3128/3130
2004/09/20 15:21:18| Ready to serve requests.
2004/09/20 15:21:18| WARNING: Reply from unknown nameserver [172.20.142.193]
2004/09/20 15:21:18| Store rebuilding is  3.6% complete
2004/09/20 15:21:20| Done reading /cache/11 swaplog (112340 entries)
2004/09/20 15:21:20| Done reading /cache/12 swaplog (115119 entries)
2004/09/20 15:21:20| Finished rebuilding storage from disk.
2004/09/20 15:21:20|    227459 Entries scanned
2004/09/20 15:21:20|         0 Invalid entries.
2004/09/20 15:21:20|         0 With invalid flags.
2004/09/20 15:21:20|    227453 Objects loaded.
2004/09/20 15:21:20|         0 Objects expired.
2004/09/20 15:21:20|         0 Objects cancelled.
2004/09/20 15:21:20|         2 Duplicate URLs purged.
2004/09/20 15:21:20|         4 Swapfile clashes avoided.
2004/09/20 15:21:20|   Took 5.6 seconds (40768.1 objects/sec).
2004/09/20 15:21:20| Beginning Validation Procedure
2004/09/20 15:21:20|   Completed Validation Procedure
2004/09/20 15:21:20|   Validated 227453 Entries
2004/09/20 15:21:20|   store_swap_size = 5916904k
2004/09/20 15:21:20| storeLateRelease: released 0 objects
2004/09/20 16:02:07| urlParse: Illegal character in hostname 
'%d1%83%d1%83%d1%83%d0%bb%d0%b5%d1%81,%d1%85%d0%b5%d1%88%d1%83%d0%b4%d0%b8%d0%bd%d1%8f%d0%bb%d1%8a%d0%b4%d0%bf'
2004/09/20 16:24:45| urlParse: Illegal character in hostname 
'todos.zonebg,com'
(squid)[0x80acf81]
[0xffffe420]
(squid)[0x8068a8a]
(squid)[0x808cd04]
/lib/tls/libc.so.6(__libc_start_main+0xe0)[0x401cf500]
(squid)[0x804b1a1]
FATAL: Received Segment Violation...dying.
2004/09/20 16:53:53| storeDirWriteCleanLogs: Starting...
2004/09/20 16:53:53| WARNING: Closing open FD    8
2004/09/20 16:53:53| WARNING: Closing open FD    9
2004/09/20 16:53:53|     65536 entries written so far.
2004/09/20 16:53:53|    131072 entries written so far.
2004/09/20 16:53:53|    196608 entries written so far.
2004/09/20 16:53:53|   Finished.  Wrote 244515 entries.
2004/09/20 16:53:53|   Took 0.1 seconds (3157762.2 entries/sec).
CPU Usage: 2159.732 seconds = 747.477 user + 1412.254 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 1
Memory usage for squid via mallinfo():
        total space in arena:  113348 KB
        Ordinary blocks:       112379 KB     49 blks
        Small blocks:               0 KB      0 blks
        Holding blocks:          2360 KB      6 blks
        Free Small blocks:          0 KB
        Free Ordinary blocks:     968 KB
        Total in use:          114739 KB 101%
        Total free:               968 KB 1%
2004/09/20 16:53:56| Starting Squid Cache version 2.5.STABLE5 for 
i686-pc-linux-gnu...
2004/09/20 16:53:56| Process ID 4128
2004/09/20 16:53:56| With 1024 file descriptors available
2004/09/20 16:53:56| DNS Socket created at 0.0.0.0, port 32770, FD 5
2004/09/20 16:53:56| Adding nameserver 172.20.0.92 from squid.conf
2004/09/20 16:53:56| User-Agent logging is disabled.
2004/09/20 16:53:56| Referer logging is disabled.
2004/09/20 16:53:56| Unlinkd pipe opened on FD 10
2004/09/20 16:53:56| Swap maxSize 20971520 KB, estimated 2097152 objects
2004/09/20 16:53:56| Target number of buckets: 104857
2004/09/20 16:53:56| Using 131072 Store buckets
2004/09/20 16:53:56| Max Mem  size: 655360 KB
2004/09/20 16:53:56| Max Swap size: 20971520 KB
2004/09/20 16:53:56| Local cache digest enabled; rebuild/rewrite every 
3600/3600 sec
2004/09/20 16:53:56| Store logging disabled
2004/09/20 16:53:56| Rebuilding storage in /cache/11 (CLEAN)
2004/09/20 16:53:56| Rebuilding storage in /cache/12 (CLEAN)
2004/09/20 16:53:56| Using Least Load store dir selection
2004/09/20 16:53:56| Current Directory is /
2004/09/20 16:53:56| Loaded Icons.
2004/09/20 16:53:56| Accepting HTTP connections at 0.0.0.0, port 3128, 
FD 13.
2004/09/20 16:53:56| Accepting ICP messages at 0.0.0.0, port 3130, FD 14.
2004/09/20 16:53:56| HTCP Disabled.
2004/09/20 16:53:56| Accepting SNMP messages on port 3401, FD 15.
2004/09/20 16:53:56| WCCP Disabled.
2004/09/20 16:53:56| Configuring Parent polaris.dz2.bulbank.bg/3128/3130
2004/09/20 16:53:56| Ready to serve requests.
2004/09/20 16:53:56| Store rebuilding is  3.4% complete
2004/09/20 16:53:57| Done reading /cache/11 swaplog (120244 entries)
2004/09/20 16:53:57| Done reading /cache/12 swaplog (124271 entries)
2004/09/20 16:53:57| Finished rebuilding storage from disk.
2004/09/20 16:53:57|    244515 Entries scanned
2004/09/20 16:53:57|         0 Invalid entries.
2004/09/20 16:53:57|         0 With invalid flags.
2004/09/20 16:53:57|    244504 Objects loaded.
2004/09/20 16:53:57|         0 Objects expired.
2004/09/20 16:53:57|         0 Objects cancelled.
2004/09/20 16:53:57|         6 Duplicate URLs purged.
2004/09/20 16:53:57|         5 Swapfile clashes avoided.
2004/09/20 16:53:57|   Took 1.2 seconds (200446.3 objects/sec).
2004/09/20 16:53:57| Beginning Validation Procedure
2004/09/20 16:53:57|   Completed Validation Procedure
2004/09/20 16:53:57|   Validated 244504 Entries
2004/09/20 16:53:57|   store_swap_size = 6124306k
2004/09/20 16:53:58| storeLateRelease: released 0 objects
---

Received on Mon Sep 20 2004 - 09:29:47 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:02 MDT