Hi Henrick,

I've dig through the access.log of both of my squid servers:

Attached are the access.logs for Squid1 and Squid2 servers (clipped).

Sniffed from Squid1's cache.log:
..
2004/03/11 13:10:34| assertion failed: errorpage.c:292: "mem->inmem_hi
== 0"
..

>From Squid2's cache.log:
..
2004/03/11 13:12:06| assertion failed: errorpage.c:292: "mem->inmem_hi
== 0"
..
2004/03/11 14:32:27| assertion failed: errorpage.c:292: "mem->inmem_hi
== 0"
..
2004/03/11 14:32:44| assertion failed: errorpage.c:292: "mem->inmem_hi
== 0"
..
2004/03/11 14:34:36| assertion failed: errorpage.c:292: "mem->inmem_hi
== 0"
..

In both access.log, I've included the entries a second before and the
actual time the assertion appeared in the cache.log.

Also, both Squid servers has 4GB of RAM each and have the following:
cache_mem 2000 MB
maximum_object_size 1024000 KB
maximum_object_size_in_memory 128 KB
ipcache_size 16384
fqdncache_size 16384
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
cache_dir diskd /cache 80000 32 256
ftp_list_width 64


Hope this helps. Let me know if you need the entire squid.conf.


Regards,



-----Original Message-----
From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 11, 2004 11:09 PM
To: Michael Vincent Pozon
Cc: [EMAIL PROTECTED]
Subject: RE: [squid-users] Incomplete error pages

On Thu, 11 Mar 2004, Michael Vincent Pozon wrote:

> I think it has something to do with the entry in my cache.log:
> 
> assertion failed: errorpage.c:292: "mem->inmem_hi == 0"
> 
> then Squid dies but restarts itself with DIRTY storage upon
rebuilding.

This is a bug. Any traffic that was ongoing when this happened was 
terminated immediately as Squid restarted.

> then these:
> 
> 2004/03/11 13:10:48| WARNING: newer swaplog entry for dirno 0, fileno
> 00025F38

These are expected on dirty rebuilds.

> 2004/03/11 13:11:40| WARNING: 10 swapin MD5 mismatches

These as well, until the rebuild has finished.

Once the cache has been rebuild only very few of these are expected.

Regards
Henrik

Attachment: access-squid2.log.gz
Description: access-squid2.log.gz

Attachment: access-squid1.log.gz
Description: access-squid1.log.gz

Reply via email to