Squid падает FATAL: Received Segment Violation...dying
Добавлено: 2008-08-25 7:46:30
С примерно 19 августа внезапно, безо всяких на то (видимых) причин стало появлятся вышеуказанное сообщение в логах. После некоторого кол-ва таких сообщений сквид упал с образованием squid.core по указанному в конфиге пути без сообщений в лог и т.д.
Пробовал пересоздавать кэш,делал fsck, не помогло. Поиском на эту проблему ничего не накопал.
Пробовал перейти на 3.0.8 stable, но чего-то он у меня собираться не хочет.
Информация о системе
Вот кусок лога, тут сквид не падал, но сообщения те же.
Пробовал пересоздавать кэш,делал fsck, не помогло. Поиском на эту проблему ничего не накопал.
Пробовал перейти на 3.0.8 stable, но чего-то он у меня собираться не хочет.
Информация о системе
Код: Выделить всё
FreeBSD 6.2
Squid Cache: Version 3.0.STABLE1
configure options: '--with-default-user=squid' '--bindir=/usr/local/sbin' '--sbindir=/usr/local/sbin' '--datadir=/usr/local/etc/squid' '--libexecdir=/usr/local/libexec/squid' '--localstatedir=/usr/local/squid' '--sysconfdir=/usr/local/etc/squid' '--enable-removal-policies=lru heap' '--disable-linux-netfilter' '--disable-linux-tproxy' '--disable-epoll' '--enable-auth=basic ntlm digest' '--enable-basic-auth-helpers=DB NCSA PAM MSNT SMB squid_radius_auth YP' '--enable-digest-auth-helpers=password' '--enable-external-acl-helpers=ip_user session unix_group wbinfo_group' '--enable-ntlm-auth-helpers=SMB' '--enable-storeio=ufs diskd null' '--enable-delay-pools' '--disable-snmp' '--disable-carp' '--disable-wccp' '--disable-ident-lookups' '--enable-arp-acl' '--enable-icap-client' '--disable-kqueue' '--with-large-files' '--enable-err-languages=Armenian Azerbaijani Bulgarian Catalan Czech Danish Dutch English Estonian Finnish French German Greek Hebrew Hungarian Italian Japanese Korean Lithuanian Polish Portuguese Romanian Russian-1251 Russian-koi8-r Serbian Simplify_Chinese Slovak Spanish Swedish Traditional_Chinese Turkish' '--enable-default-err-language=English' '--prefix=/usr/local' 'i386-portbld-freebsd6.2' 'build_alias=i386-portbld-freebsd6.2' 'host_alias=i386-portbld-freebsd6.2' 'target_alias=i386-portbld-freebsd6.2' 'CC=cc' 'CFLAGS=-O2 -fno-strict-aliasing -pipe ' 'LDFLAGS=' 'CPPFLAGS=' 'CXX=c++' 'CXXFLAGS=-O2 -fno-strict-aliasing -pipe'
Код: Выделить всё
2008/08/22 12:57:05| Configuring Parent 127.0.0.1/8888/0
2008/08/22 12:57:05| Ready to serve requests.
FATAL: Received Segment Violation...dying.
2008/08/22 12:57:06| Not currently OK to rewrite swap log.
2008/08/22 12:57:06| storeDirWriteCleanLogs: Operation aborted.
CPU Usage: 0.051 seconds = 0.036 user + 0.014 sys
Maximum Resident Size: 12864 KB
Page faults with physical i/o: 0
2008/08/22 12:57:09| Starting Squid Cache version 3.0.STABLE1 for i386-portbld-freebsd6.2...
2008/08/22 12:57:09| Process ID 3507
2008/08/22 12:57:09| With 11072 file descriptors available
2008/08/22 12:57:09| DNS Socket created at 0.0.0.0, port 53216, FD 6
2008/08/22 12:57:09| Adding nameserver 212.57.102.178 from /etc/resolv.conf
2008/08/22 12:57:09| helperOpenServers: Starting 10 'squidGuard' processes
2008/08/22 12:57:09| helperOpenServers: Starting 5 'ncsa_auth' processes
2008/08/22 12:57:09| Unlinkd pipe opened on FD 26
2008/08/22 12:57:09| Swap maxSize 10240000 KB, estimated 787692 objects
2008/08/22 12:57:09| Target number of buckets: 39384
2008/08/22 12:57:09| Using 65536 Store buckets
2008/08/22 12:57:09| Max Mem size: 32768 KB
2008/08/22 12:57:09| Max Swap size: 10240000 KB
2008/08/22 12:57:09| Version 1 of swap file with LFS support detected...
2008/08/22 12:57:09| Rebuilding storage in /share/squid/cache (DIRTY)
2008/08/22 12:57:09| Using Least Load store dir selection
2008/08/22 12:57:09| Set Current Directory to /share/squid/cache
2008/08/22 12:57:09| Loaded Icons.
2008/08/22 12:57:09| Accepting HTTP connections at 0.0.0.0, port 3128, FD 28.
2008/08/22 12:57:09| HTCP Disabled.
2008/08/22 12:57:09| Configuring Parent 127.0.0.1/8888/0
2008/08/22 12:57:09| Ready to serve requests.
FATAL: Received Segment Violation...dying.
2008/08/22 12:57:09| Not currently OK to rewrite swap log.
2008/08/22 12:57:09| storeDirWriteCleanLogs: Operation aborted.
CPU Usage: 0.051 seconds = 0.011 user + 0.040 sys
Maximum Resident Size: 12800 KB
Page faults with physical i/o: 0
2008/08/22 12:57:12| Starting Squid Cache version 3.0.STABLE1 for i386-portbld-freebsd6.2...
2008/08/22 12:57:12| Process ID 3525
2008/08/22 12:57:12| With 11072 file descriptors available
2008/08/22 12:57:12| DNS Socket created at 0.0.0.0, port 58114, FD 6
2008/08/22 12:57:12| Adding nameserver 212.57.102.178 from /etc/resolv.conf
2008/08/22 12:57:12| helperOpenServers: Starting 10 'squidGuard' processes
2008/08/22 12:57:12| helperOpenServers: Starting 5 'ncsa_auth' processes
2008/08/22 12:57:13| Unlinkd pipe opened on FD 26
2008/08/22 12:57:13| Swap maxSize 10240000 KB, estimated 787692 objects
2008/08/22 12:57:13| Target number of buckets: 39384
2008/08/22 12:57:13| Using 65536 Store buckets
2008/08/22 12:57:13| Max Mem size: 32768 KB
2008/08/22 12:57:13| Max Swap size: 10240000 KB
2008/08/22 12:57:13| Version 1 of swap file with LFS support detected...
2008/08/22 12:57:13| Rebuilding storage in /share/squid/cache (DIRTY)
2008/08/22 12:57:13| Using Least Load store dir selection
2008/08/22 12:57:13| Set Current Directory to /share/squid/cache
2008/08/22 12:57:13| Loaded Icons.
2008/08/22 12:57:13| Accepting HTTP connections at 0.0.0.0, port 3128, FD 28.
2008/08/22 12:57:13| HTCP Disabled.
2008/08/22 12:57:13| Configuring Parent 127.0.0.1/8888/0
2008/08/22 12:57:13| Ready to serve requests.
2008/08/22 12:57:13| Store rebuilding is 48.76% complete
2008/08/22 12:57:14| Done reading /share/squid/cache swaplog (8399 entries)
2008/08/22 12:57:14| Finished rebuilding storage from disk.
2008/08/22 12:57:14| 8399 Entries scanned
2008/08/22 12:57:14| 0 Invalid entries.
2008/08/22 12:57:14| 0 With invalid flags.
2008/08/22 12:57:14| 8396 Objects loaded.
2008/08/22 12:57:14| 0 Objects expired.
2008/08/22 12:57:14| 0 Objects cancelled.
2008/08/22 12:57:14| 0 Duplicate URLs purged.
2008/08/22 12:57:14| 3 Swapfile clashes avoided.
2008/08/22 12:57:14| Took 1.01 seconds (8342.22 objects/sec).
2008/08/22 12:57:14| Beginning Validation Procedure
2008/08/22 12:57:14| Completed Validation Procedure
2008/08/22 12:57:14| Validated 16824 Entries
2008/08/22 12:57:14| store_swap_size = 79690
2008/08/22 12:57:14| storeLateRelease: released 0 objects
2008/08/22 13:27:46| WARNING: HTTP header contains NULL characters {Accept: */*
Content-Type: application/x-www-form-urlencoded}
2008/08/22 13:27:46| WARNING: HTTP header contains NULL characters {Accept: */*
Content-Type: application/x-www-form-urlencoded}
2008/08/22 13:49:42| Reconfiguring Squid Cache (version 3.0.STABLE1)...
2008/08/22 13:49:42| FD 28 Closing HTTP connection
2008/08/22 13:49:42| DNS Socket created at 0.0.0.0, port 62409, FD 8
2008/08/22 13:49:42| Adding nameserver 212.57.102.178 from /etc/resolv.conf
2008/08/22 13:49:42| helperOpenServers: Starting 10 'squidGuard' processes
2008/08/22 13:49:42| helperOpenServers: Starting 5 'ncsa_auth' processes
2008/08/22 13:49:42| Accepting HTTP connections at 0.0.0.0, port 3128, FD 25.
2008/08/22 13:49:42| HTCP Disabled.
2008/08/22 13:49:42| Configuring Parent 127.0.0.1/8888/0
2008/08/22 13:49:42| Loaded Icons.
2008/08/22 13:49:42| Ready to serve requests.
2008/08/22 14:03:49| tunnelReadServer: FD 32: read failure: (60) Operation timed out
2008/08/22 14:03:49| clientParseRequestMethod: Unsupported method in request 'CONNECT http://www.google.com:443 HTTP/1.0
User-Agent: Google Talk
Host: http://www.google.com
Content-Length: 0
Proxy-Connection: Keep-Alive
'
2008/08/22 14:03:49| clientProcessRequest: Invalid Request
2008/08/22 14:49:12| tunnelReadServer: FD 38: read failure: (60) Operation timed out
2008/08/22 14:49:12| clientParseRequestMethod: Unsupported method in request 'CONNECT http://www.google.com:443 HTTP/1.0
User-Agent: Google Talk
Host: http://www.google.com
Content-Length: 0
Proxy-Connection: Keep-Alive
'
2008/08/22 14:49:12| clientProcessRequest: Invalid Request
2008/08/22 15:09:09| WARNING: All redirector processes are busy.
2008/08/22 15:09:09| WARNING: 10 pending requests queued
2008/08/22 15:09:09| Consider increasing the number of redirector processes in your config file.
2008/08/22 16:35:48| WARNING: HTTP header contains NULL characters {Accept: */*
Content-Type: application/x-www-form-urlencoded}
2008/08/22 16:35:48| WARNING: HTTP header contains NULL characters {Accept: */*
Content-Type: application/x-www-form-urlencoded}
2008/08/22 16:36:59| client_side_request.cc(825) redirecting body_pipe 0x8de206c*1 from request 0x8b691d8 to 0x8b6f100
2008/08/22 16:37:08| client_side_request.cc(825) redirecting body_pipe 0x8de206c*1 from request 0x8b691d8 to 0x8b6b190
FATAL: Received Segment Violation...dying.
2008/08/22 16:37:52| storeDirWriteCleanLogs: Starting...
2008/08/22 16:37:52| WARNING: Closing open FD 25
2008/08/22 16:37:52| Finished. Wrote 14842 entries.
2008/08/22 16:37:52| Took 0.02 seconds (817245.75 entries/sec).
CPU Usage: 49.915 seconds = 25.528 user + 24.387 sys
Maximum Resident Size: 47508 KB
Page faults with physical i/o: 2
2008/08/22 16:37:56| Starting Squid Cache version 3.0.STABLE1 for i386-portbld-freebsd6.2...
2008/08/22 16:37:56| Process ID 9311
2008/08/22 16:37:56| With 11072 file descriptors available
2008/08/22 16:37:56| DNS Socket created at 0.0.0.0, port 62346, FD 6
2008/08/22 16:37:56| Adding nameserver 212.57.102.178 from /etc/resolv.conf
2008/08/22 16:37:56| helperOpenServers: Starting 10 'squidGuard' processes
2008/08/22 16:37:56| helperOpenServers: Starting 5 'ncsa_auth' processes
2008/08/22 16:37:57| Unlinkd pipe opened on FD 26
2008/08/22 16:37:57| Swap maxSize 10240000 KB, estimated 787692 objects
2008/08/22 16:37:57| Target number of buckets: 39384
2008/08/22 16:37:57| Using 65536 Store buckets
2008/08/22 16:37:57| Max Mem size: 32768 KB
2008/08/22 16:37:57| Max Swap size: 10240000 KB
2008/08/22 16:37:57| Version 1 of swap file with LFS support detected...
2008/08/22 16:37:57| Rebuilding storage in /share/squid/cache (CLEAN)
2008/08/22 16:37:57| Using Least Load store dir selection
2008/08/22 16:37:57| Set Current Directory to /share/squid/cache
2008/08/22 16:37:57| Loaded Icons.
2008/08/22 16:37:57| Accepting HTTP connections at 0.0.0.0, port 3128, FD 28.
2008/08/22 16:37:57| HTCP Disabled.
2008/08/22 16:37:57| Configuring Parent 127.0.0.1/8888/0
2008/08/22 16:37:57| Ready to serve requests.
FATAL: Received Segment Violation...dying.
2008/08/22 16:37:57| Not currently OK to rewrite swap log.
2008/08/22 16:37:57| storeDirWriteCleanLogs: Operation aborted.
CPU Usage: 0.059 seconds = 0.018 user + 0.041 sys
Maximum Resident Size: 12836 KB
Page faults with physical i/o: 2
2008/08/22 16:38:00| Starting Squid Cache version 3.0.STABLE1 for i386-portbld-freebsd6.2...
2008/08/22 16:38:00| Process ID 9329
2008/08/22 16:38:00| With 11072 file descriptors available
2008/08/22 16:38:00| DNS Socket created at 0.0.0.0, port 62970, FD 6
2008/08/22 16:38:00| Adding nameserver 212.57.102.178 from /etc/resolv.conf
2008/08/22 16:38:00| helperOpenServers: Starting 10 'squidGuard' processes
2008/08/22 16:38:00| helperOpenServers: Starting 5 'ncsa_auth' processes
2008/08/22 16:38:01| Unlinkd pipe opened on FD 26
2008/08/22 16:38:01| Swap maxSize 10240000 KB, estimated 787692 objects
2008/08/22 16:38:01| Target number of buckets: 39384
2008/08/22 16:38:01| Using 65536 Store buckets
2008/08/22 16:38:01| Max Mem size: 32768 KB
2008/08/22 16:38:01| Max Swap size: 10240000 KB
2008/08/22 16:38:01| Version 1 of swap file with LFS support detected...
2008/08/22 16:38:01| Rebuilding storage in /share/squid/cache (DIRTY)
2008/08/22 16:38:01| Using Least Load store dir selection
2008/08/22 16:38:01| Set Current Directory to /share/squid/cache
2008/08/22 16:38:01| Loaded Icons.
2008/08/22 16:38:01| Accepting HTTP connections at 0.0.0.0, port 3128, FD 28.
2008/08/22 16:38:01| HTCP Disabled.
2008/08/22 16:38:01| Configuring Parent 127.0.0.1/8888/0
2008/08/22 16:38:01| Ready to serve requests.
2008/08/22 16:38:01| Store rebuilding is 27.60% complete
FATAL: Received Segment Violation...dying.
2008/08/22 16:38:01| Not currently OK to rewrite swap log.
2008/08/22 16:38:01| storeDirWriteCleanLogs: Operation aborted.
CPU Usage: 0.076 seconds = 0.019 user + 0.057 sys
Maximum Resident Size: 14052 KB
Page faults with physical i/o: 0
2008/08/22 16:38:04| Starting Squid Cache version 3.0.STABLE1 for i386-portbld-freebsd6.2...
2008/08/22 16:38:04| Process ID 9347
2008/08/22 16:38:04| With 11072 file descriptors available
2008/08/22 16:38:04| DNS Socket created at 0.0.0.0, port 53254, FD 6
2008/08/22 16:38:04| Adding nameserver 212.57.102.178 from /etc/resolv.conf
2008/08/22 16:38:04| helperOpenServers: Starting 10 'squidGuard' processes
2008/08/22 16:38:04| helperOpenServers: Starting 5 'ncsa_auth' processes
2008/08/22 16:38:05| Unlinkd pipe opened on FD 26
2008/08/22 16:38:05| Swap maxSize 10240000 KB, estimated 787692 objects
2008/08/22 16:38:05| Target number of buckets: 39384
2008/08/22 16:38:05| Using 65536 Store buckets
2008/08/22 16:38:05| Max Mem size: 32768 KB
2008/08/22 16:38:05| Max Swap size: 10240000 KB
2008/08/22 16:38:05| Version 1 of swap file with LFS support detected...
2008/08/22 16:38:05| Rebuilding storage in /share/squid/cache (DIRTY)
2008/08/22 16:38:05| Using Least Load store dir selection
2008/08/22 16:38:05| Set Current Directory to /share/squid/cache
2008/08/22 16:38:05| Loaded Icons.
2008/08/22 16:38:05| Accepting HTTP connections at 0.0.0.0, port 3128, FD 28.
2008/08/22 16:38:05| HTCP Disabled.
2008/08/22 16:38:05| Configuring Parent 127.0.0.1/8888/0
2008/08/22 16:38:05| Ready to serve requests.
2008/08/22 16:38:05| Store rebuilding is 27.60% complete
2008/08/22 16:38:06| Done reading /share/squid/cache swaplog (14842 entries)
2008/08/22 16:38:06| Finished rebuilding storage from disk.
2008/08/22 16:38:06| 14842 Entries scanned
2008/08/22 16:38:06| 0 Invalid entries.
2008/08/22 16:38:06| 0 With invalid flags.
2008/08/22 16:38:06| 14830 Objects loaded.
2008/08/22 16:38:06| 0 Objects expired.
2008/08/22 16:38:06| 0 Objects cancelled.
2008/08/22 16:38:06| 0 Duplicate URLs purged.
2008/08/22 16:38:06| 12 Swapfile clashes avoided.
2008/08/22 16:38:06| Took 1.03 seconds (14353.02 objects/sec).
2008/08/22 16:38:06| Beginning Validation Procedure
2008/08/22 16:38:06| Completed Validation Procedure
2008/08/22 16:38:06| Validated 29701 Entries
2008/08/22 16:38:06| store_swap_size = 159418
2008/08/22 16:38:06| storeLateRelease: released 16 objects