Re: Bug in squid-1.1.4 -> squid-1.1.6?

From: Duane Wessels <wessels@dont-contact.us>
Date: Thu, 13 Feb 97 13:04:51 -0800

james@iafrica.com writes:

>Squid 1.1.6 has become totally useless to us now. It fills up my
>/var/log/squid/cache.log and then core dumps because it can't append to
>the log files, hence down goes our proxy service and our users see us as
>"down".
>
>Has anybody got a solution to this problem?
>
>On Wed, 12 Feb 1997, Christian Grimm wrote:
>
>> similar messages here with Squid 1.1.5 on two Sun Ultra II (sic), filling
>> up cache.log up to some 100 MB within minutes.
>>
>> Example:
>> > 97/02/03 16:23:20 WARNING: storeClientCopy: requested offset < lowest off
set
>> > 97/02/03 16:23:20| --> 0 < 4096
>> > 97/02/03 16:23:20| --> 'http://wraith.sizzle.com/picstop/mpegs/pj_0041-h.m

I can't reproduce this problem, but I think this patch might fix
it:

Index: src/client_side.c
===================================================================
RCS file: /surf1/CVS/squid/src/client_side.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -w -u -r1.88 -r1.89
--- client_side.c 1997/02/07 04:57:10 1.88
+++ client_side.c 1997/02/13 18:38:28 1.89
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side.c,v 1.88 1997/02/07 04:57:10 wessels Exp $
+ * $Id: client_side.c,v 1.89 1997/02/13 18:38:28 wessels Exp $
  *
  * DEBUG: section 33 Client-side Routines
  * AUTHOR: Duane Wessels
@@ -430,6 +430,7 @@
        icpState->method);
     /* NOTE, don't call storeLockObject(), storeCreateEntry() does it */
     storeClientListAdd(entry, fd, 0);
+ storeClientListAdd(icpState->old_entry, fd, 0);
 
     entry->lastmod = icpState->old_entry->lastmod;
     debug(33, 5, "icpProcessExpired: setting lmt = %d\n",

Duane W.
Received on Thu Feb 13 1997 - 13:20:56 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:26 MST