-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Luigi,

Much much appreciated.  See requested information below.

It ran for around 5 hours this time.  Also see below the changes I've
made to the Squid config file.  My setup is like this:  I am running
Dansguardian as a transparent proxy (using some iptables rules), with
Dansguardian using Squid "for all the fetching".  So, Dansguardian is
always the client for requests to Squid.  Note also my +1200 time zone,
in case that's relevant.


Steve

/var/log/squid/cache.log:
- -------------------------------------------------------------------
2005/05/30 09:14:44| WCCP Disabled.
2005/05/30 09:14:44| Ready to serve requests.
2005/05/30 09:14:45| Done reading /var/spool/squid swaplog (2970 entries)
2005/05/30 09:14:45| Finished rebuilding storage from disk.
2005/05/30 09:14:45|      2970 Entries scanned
2005/05/30 09:14:45|         0 Invalid entries.
2005/05/30 09:14:45|         0 With invalid flags.
2005/05/30 09:14:45|      2970 Objects loaded.
2005/05/30 09:14:45|         0 Objects expired.
2005/05/30 09:14:45|         0 Objects cancelled.
2005/05/30 09:14:45|         0 Duplicate URLs purged.
2005/05/30 09:14:45|         0 Swapfile clashes avoided.
2005/05/30 09:14:45|   Took 2.2 seconds (1330.4 objects/sec).
2005/05/30 09:14:45| Beginning Validation Procedure
2005/05/30 09:14:45|   Completed Validation Procedure
2005/05/30 09:14:45|   Validated 2970 Entries
2005/05/30 09:14:45|   store_swap_size = 92124k
2005/05/30 09:14:46| storeLateRelease: released 0 objects
2005/05/30 10:41:06| WARNING: 1 swapin MD5 mismatches
2005/05/30 16:06:09| assertion failed: StatHist.c:93: "((int)
floor(0.99L + statHistVal(H, 0) - min)) == 0"


Tail of STRACE output corresponding to the above log:
- -------------------------------------------------------------------
gettimeofday({1117425948, 265175}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 1000) = 0
gettimeofday({1117425949, 265991}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 1000) = 0
gettimeofday({1117425950, 266756}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 1000) = 0
gettimeofday({1117425951, 267484}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 1000) = 0
gettimeofday({1117425952, 268241}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 1000) = 0
gettimeofday({1117425953, 269054}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 661) = 0
open("/var/spool/squid/07/94",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 10
fstat64(10, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
getdents64(10, /* 2 entries */, 4096)   = 48
getdents64(10, /* 0 entries */, 4096)   = 0
close(10)                               = 0
gettimeofday({1117425953, 942792}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 0) = 0
gettimeofday({1117425953, 942989}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 0) = 0
gettimeofday({1117425953, 943157}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 0) = 0
gettimeofday({1117425953, 943335}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 1000) = 0
gettimeofday({1117425954, 943631}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 1000) = 0
gettimeofday({1117425955, 944466}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 1000) = 0
gettimeofday({1117425956, 945205}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 1000) = 0
gettimeofday({1117425957, 945930}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 1000) = 0
gettimeofday({1117425958, 946727}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 1000) = 0
gettimeofday({1117425959, 947463}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 1000) = 0
gettimeofday({1117425960, 948276}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 1000) = 0
gettimeofday({1117425961, 949025}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 1000) = 0
gettimeofday({1117425962, 949766}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 1000) = 0
gettimeofday({1117425963, 950563}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 993) = 0
gettimeofday({1117425964, 944329}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 0) = 0
gettimeofday({1117425964, 944514}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 0) = 0
gettimeofday({1117425964, 944699}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 1000) = 0
gettimeofday({1117425965, 945039}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 1000) = 0
gettimeofday({1117425966, 945871}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 1000) = 0
gettimeofday({1117425967, 946633}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 1000) = 0
gettimeofday({1117425968, 947432}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 322) = 0
open("/var/spool/squid/08/94",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 10
fstat64(10, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
getdents64(10, /* 2 entries */, 4096)   = 48
getdents64(10, /* 0 entries */, 4096)   = 0
close(10)                               = 0
gettimeofday({1117425969, 277725}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 0) = 0
gettimeofday({1117425969, 277939}, NULL) = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 640) = 0
gettimeofday({1117425969, 919112}, NULL) = 0
gettimeofday({1117425969, 919198}, NULL) = 0
poll([{fd=11, events=POLLIN}], 1, 0)    = 0
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 2, 640) = 0
getrusage(RUSAGE_SELF, {ru_utime={10, 59470}, ru_stime={16, 255528},
...}) = 0
write(3, "2005/05/30 16:06:09| assertion f"..., 108) = 108
time([1117425970])                      = 1117425970
getpid()                                = 29112
rt_sigaction(SIGPIPE, {0xb7ef4a70, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<28>May 30 16:06:10 squid[29112]"..., 121, 0) = 121
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(29112, 29112, SIGABRT)           = 0
- --- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++


Changes I have made to /etc/squid/squid.conf, relative to Debian
default:
- -------------------------------------------------------------------
- --- squid.conf.orig     2005-05-30 09:18:08.000000000 +1200
+++ squid.conf  2005-05-22 13:26:34.000000000 +1200
@@ -703,6 +703,7 @@
 #
 #Default:
 # cache_access_log /var/log/squid/access.log
+cache_access_log none

 #  TAG: cache_log
 #      Cache logging file. This is where general information about
@@ -2183,6 +2184,8 @@
 #
 #Default:
 # httpd_accel_port 80
+httpd_accel_host virtual
+httpd_accel_port 80

 #  TAG: httpd_accel_single_host        on|off
 #      If you are running Squid as an accelerator and have a single backend
@@ -2201,6 +2204,7 @@
 #
 #Default:
 # httpd_accel_single_host off
+httpd_accel_single_host off

 #  TAG: httpd_accel_with_proxy on|off
 #      If you want to use Squid as both a local httpd accelerator
@@ -2212,6 +2216,7 @@
 #
 #Default:
 # httpd_accel_with_proxy off
+httpd_accel_with_proxy on

 #  TAG: httpd_accel_uses_host_header   on|off
 #      HTTP/1.1 requests include a Host: header which is basically the
@@ -2232,6 +2237,7 @@
 #
 #Default:
 # httpd_accel_uses_host_header off
+httpd_accel_uses_host_header on

 #  TAG: httpd_accel_no_pmtu_disc       on|off
 #      In many setups of transparently intercepting proxies Path-MTU
@@ -2503,6 +2509,8 @@
 #
 #Default:
 # client_db on
+# Attempt to stop it falling over by not doing statistics -SB
+client_db off

 #  TAG: netdb_low
 #  TAG: netdb_high
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCmpOA4nWub/+PLZsRAo0YAJwOITOXc4iC6m7yDu3UAE7sGqrFzwCfXc09
Fgy3+aUhLV5h9iuZwxzVsP0=
=3wqh
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to