RE: [squid-users] Incomplete error pages

From: Michael Vincent Pozon <michaelp@dont-contact.us>
Date: Fri, 12 Mar 2004 09:36:55 +0800

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:hno@squid-cache.org]
Sent: Thursday, March 11, 2004 11:09 PM
To: Michael Vincent Pozon
Cc: squid-users@squid-cache.org
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

Received on Thu Mar 11 2004 - 18:37:28 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:02 MST