Below is all information for kid3
config for kid3
if ${process_number} = 3
cache_dir diskd /cache1/cache3 60000 32 256
cache_dir diskd /cache2/cache3 60000 32 256
cache_dir diskd /cache3/cache3 60000 32 256
redirect_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf
redirect_children 8
redirector_bypass on
endif
to disable the "Host header forgery detected" I have add this
$ diff -Nu client_side_request.cc.orig client_side_request.cc
--- client_side_request.cc.orig 2011-12-14 17:38:13.353186945 +0200
+++ client_side_request.cc 2011-12-14 17:38:28.686981012 +0200
@@ -538,7 +538,8 @@
if (ia != NULL && ia->count > 0) {
// Is the NAT destination IP in DNS?
for (int i = 0; i < ia->count; i++) {
- if (clientConn->local.matchIPAddr(ia->in_addrs[i]) == 0) {
+ // saleh
+ if ((clientConn->local.matchIPAddr(ia->in_addrs[i]) == 0) ||
(clientConn->local.matchIPAddr(ia->in_addrs[i]) != 0)){
debugs(85, 3, HERE << "validate IP " << clientConn->local
<< " possible from Host:");
http->doCallouts();
return;
cache log for crash
$ grep "12:10:" cache.log |grep kid3 |more
2011/12/15 12:10:00 kid3| WARNING: Closing client connection due to
lifetime timeout
2011/12/15 12:10:00 kid3|
http://s274.hotfile.com/get/41235068c1de02d7522f5cf7f30cedc58163cb21/4ee3d08d/1/8ea2a7ea296c6ef7/
7ed6092/4969616/Al3eshq.Al.Mamno3.ArabSeeD.CoM.DarKMan.part44.rar
2011/12/15 12:10:00 kid3| WARNING: Closing client connection due to
lifetime timeout
2011/12/15 12:10:00 kid3|
http://s274.hotfile.com/get/41235068c1de02d7522f5cf7f30cedc58163cb21/4ee3d08d/1/8ea2a7ea296c6ef7/
7ed6092/4969616/Al3eshq.Al.Mamno3.ArabSeeD.CoM.DarKMan.part44.rar
2011/12/15 12:10:07 kid3| Starting Squid Cache version 3.2.0.14 for
x86_64-pc-linux-gnu...
2011/12/15 12:10:07 kid3| Process ID 4936
2011/12/15 12:10:07 kid3| Process Roles: worker
2011/12/15 12:10:07 kid3| With 65535 file descriptors available
2011/12/15 12:10:07 kid3| Initializing IP Cache...
2011/12/15 12:10:07 kid3| DNS Socket created at [::], FD 8
2011/12/15 12:10:07 kid3| DNS Socket created at 0.0.0.0, FD 9
2011/12/15 12:10:07 kid3| Adding nameserver [snip] from
/etc/resolv.conf
2011/12/15 12:10:07 kid3| Adding nameserver [snip] from
/etc/resolv.conf
2011/12/15 12:10:07 kid3| helperOpenServers: Starting 0/8 'squidGuard'
processes
2011/12/15 12:10:07 kid3| helperOpenServers: No 'squidGuard' processes
needed.
2011/12/15 12:10:08 kid3| Unlinkd pipe opened on FD 13
2011/12/15 12:10:08 kid3| Local cache digest enabled; rebuild/rewrite
every 3600/3600 sec
2011/12/15 12:10:08 kid3| Store logging disabled
2011/12/15 12:10:08 kid3| WARNING: disk-cache maximum object size is
unlimited but mem-cache maximum object size is 32.00 KB
2011/12/15 12:10:08 kid3| Swap maxSize 184320000 + 16384 KB, estimated
14179721 objects
2011/12/15 12:10:08 kid3| Target number of buckets: 708986
2011/12/15 12:10:08 kid3| Using 1048576 Store buckets
2011/12/15 12:10:08 kid3| Max Mem size: 16384 KB [shared]
2011/12/15 12:10:08 kid3| Max Swap size: 184320000 KB
2011/12/15 12:10:08 kid3| Version 1 of swap file with LFS support detected...
2011/12/15 12:10:08 kid3| Rebuilding storage in /cache1/cache3 (DIRTY)
2011/12/15 12:10:08 kid3| Version 1 of swap file with LFS support detected...
2011/12/15 12:10:08 kid3| Rebuilding storage in /cache2/cache3 (DIRTY)
2011/12/15 12:10:08 kid3| Version 1 of swap file with LFS support detected...
2011/12/15 12:10:08 kid3| Rebuilding storage in /cache3/cache3 (DIRTY)
2011/12/15 12:10:08 kid3| Using Least Load store dir selection
2011/12/15 12:10:08 kid3| Current Directory is /
2011/12/15 12:10:08 kid3| Loaded Icons.
2011/12/15 12:10:08 kid3| HTCP Disabled.
2011/12/15 12:10:08 kid3| Squid plugin modules loaded: 0
2011/12/15 12:10:08 kid3| Adaptation support is off.
2011/12/15 12:10:08 kid3| Ready to serve requests.
2011/12/15 12:10:08 kid3| WARNING: 1 invalid swap log entries found
2011/12/15 12:10:08 kid3| WARNING: 1 invalid swap log entries found
2011/12/15 12:10:08 kid3| WARNING: 1 invalid swap log entries found
2011/12/15 12:10:08 kid3| WARNING: 10 invalid swap log entries found
2011/12/15 12:10:08 kid3| WARNING: 10 invalid swap log entries found
2011/12/15 12:10:08 kid3| WARNING: 10 invalid swap log entries found
2011/12/15 12:10:08 kid3| WARNING: 100 invalid swap log entries found
2011/12/15 12:10:08 kid3| WARNING: 100 invalid swap log entries found
2011/12/15 12:10:08 kid3| WARNING: 100 invalid swap log entries found
2011/12/15 12:10:08 kid3| WARNING: newer swaplog entry for dirno 0, fileno
00B3EEB9
2011/12/15 12:10:08 kid3| WARNING: newer swaplog entry for dirno 2, fileno
00302D99
2011/12/15 12:10:08 kid3| WARNING: newer swaplog entry for dirno 1, fileno
004822DF
2011/12/15 12:10:09 kid3| WARNING: newer swaplog entry for dirno 0, fileno
0023E9E0
2011/12/15 12:10:09 kid3| WARNING: newer swaplog entry for dirno 2, fileno
009EF82F
2011/12/15 12:10:09 kid3| WARNING: newer swaplog entry for dirno 2, fileno
00A23F0E
2011/12/15 12:10:09 kid3| WARNING: newer swaplog entry for dirno 0, fileno
00C3EF52
2011/12/15 12:10:09 kid3| WARNING: newer swaplog entry for dirno 1, fileno
0027F9FB
2011/12/15 12:10:10 kid3| WARNING: newer swaplog entry for dirno 2, fileno
00C3EF52
2011/12/15 12:10:10 kid3| WARNING: newer swaplog entry for dirno 1, fileno
0027F9FB
2011/12/15 12:10:10 kid3| WARNING: newer swaplog entry for dirno 2, fileno
009EF82F
2011/12/15 12:10:10 kid3| WARNING: newer swaplog entry for dirno 0, fileno
00302D99
2011/12/15 12:10:10 kid3| WARNING: newer swaplog entry for dirno 1, fileno
00249CDA
2011/12/15 12:10:10 kid3| WARNING: newer swaplog entry for dirno 2, fileno
00C3EF52
2011/12/15 12:10:10 kid3| WARNING: newer swaplog entry for dirno 1, fileno
00233607
2011/12/15 12:10:10 kid3| WARNING: newer swaplog entry for dirno 0, fileno
00C32DBB
2011/12/15 12:10:10 kid3| WARNING: newer swaplog entry for dirno 0, fileno
0027F9FB
2011/12/15 12:10:10 kid3| WARNING: newer swaplog entry for dirno 0, fileno
009EF82F
2011/12/15 12:10:10 kid3| Done reading /cache1/cache3 swaplog (241072
entries)
2011/12/15 12:10:10 kid3| WARNING: newer swaplog entry for dirno 1, fileno
009EF82F
2011/12/15 12:10:10 kid3| Done reading /cache2/cache3 swaplog (254819
entries)
2011/12/15 12:10:10 kid3| Done reading /cache3/cache3 swaplog (268211
entries)
2011/12/15 12:10:10 kid3| Finished rebuilding storage from disk.
2011/12/15 12:10:10 kid3| 3197 Entries scanned
2011/12/15 12:10:10 kid3| 2706 Invalid entries.
2011/12/15 12:10:10 kid3| 600 With invalid flags.
2011/12/15 12:10:10 kid3| 1977 Objects loaded.
2011/12/15 12:10:10 kid3| 0 Objects expired.
2011/12/15 12:10:10 kid3| 54 Objects cancelled.
2011/12/15 12:10:10 kid3| 34 Duplicate URLs purged.
2011/12/15 12:10:10 kid3| 563 Swapfile clashes avoided.
2011/12/15 12:10:10 kid3| Took 2.46 seconds (803.35 objects/sec).
2011/12/15 12:10:10 kid3| Beginning Validation Procedure
2011/12/15 12:10:10 kid3| Completed Validation Procedure
2011/12/15 12:10:10 kid3| Validated 1946 Entries
2011/12/15 12:10:10 kid3| store_swap_size = 3607695328280576.00 KB
2011/12/15 12:10:10 kid3| storeLateRelease: released 0 objects
2011/12/15 12:10:10 kid3| WARNING: Disk space over limit:
5455217617272832.00 KB > 184320000 KB
2011/12/15 12:10:10 kid3| Accepting HTTP Socket connections at
local=127.0.0.1:3128 remote=[::] FD 11 flags=1
2011/12/15 12:10:10 kid3| Accepting NAT intercepted HTTP Socket
connections at local=192.168.68.10:3129 remote=[::] FD 12 flags=3
3
2011/12/15 12:10:10 kid3| Accepting HTTP Socket connections at
local=83.244.51.38:3130 remote=[::] FD 16 flags=1
2011/12/15 12:10:11 kid3| Starting new redirector helpers...
2011/12/15 12:10:11 kid3| helperOpenServers: Starting 1/8 'squidGuard'
processes
2011/12/15 12:10:11 kid3| Starting new redirector helpers...
2011/12/15 12:10:11 kid3| helperOpenServers: Starting 1/8 'squidGuard'
processes
2011/12/15 12:10:11 kid3| Starting new redirector helpers...
2011/12/15 12:10:11 kid3| helperOpenServers: Starting 1/8 'squidGuard'
processes
2011/12/15 12:10:11 kid3| Starting new redirector helpers...
2011/12/15 12:10:11 kid3| helperOpenServers: Starting 1/8 'squidGuard'
processes
2011/12/15 12:10:11 kid3| Starting new redirector helpers...
2011/12/15 12:10:11 kid3| helperOpenServers: Starting 1/8 'squidGuard'
processes
2011/12/15 12:10:11 kid3| Starting new redirector helpers...
2011/12/15 12:10:11 kid3| helperOpenServers: Starting 1/8 'squidGuard'
processes
2011/12/15 12:10:11 kid3| Starting new redirector helpers...
2011/12/15 12:10:11 kid3| helperOpenServers: Starting 1/8 'squidGuard'
processes
2011/12/15 12:10:11 kid3| Starting new redirector helpers...
2011/12/15 12:10:11 kid3| helperOpenServers: Starting 1/8 'squidGuard'
processes
2011/12/15 12:10:21 kid3| WARNING: Disk space over limit:
17294927025143808.00 KB > 184320000 KB
2011/12/15 12:10:32 kid3| WARNING: Disk space over limit:
17294927025143808.00 KB > 184320000 KB
2011/12/15 12:10:43 kid3| WARNING: Disk space over limit:
17294927025143808.00 KB > 184320000 KB
2011/12/15 12:10:54 kid3| WARNING: Disk space over limit:
17294927025143808.00 KB > 184320000 KB
> On 15/12/2011 11:42 p.m., Saleh Madi wrote:
>> why squid 3.2.0.14 exited/restarted every 2 or 3 or 4 ... hours and
>> why squid crashing with segfault.
>
> Question: "why squid 3.2.0.14 exited/restarted" ?
> Answer: because of "crashing with segfault".
>
> Squid auto-restarts after any unexpected crash from assertion, segfault,
> and exceptions.
>
>
> Better question: "why squid crashing with segfault" ?
> Answer: unknown. insufficient details given.
>
> What does cache.log have to say about it?
> Can you find the core dump the system should have created?
> (see
> http://wiki.squid-cache.org/SquidFaq/BugReporting#crashes_and_core_dumps)
>
>
> PS. when you find out please check bugs.squid-cache.org for any bug
> matching the crash details. Report a new bug if you can meet the
> criteria in that wiki page. or contact squid-dev mailing list about the
> problem (3.2 being a beta release the dev need to know what is wrong,
> this is an admin users list).
>
> Amos
>
>
Received on Thu Dec 15 2011 - 12:02:10 MST
This archive was generated by hypermail 2.2.0 : Thu Dec 15 2011 - 12:00:03 MST