Re: cbdata

From: Duane Wessels <wessels@dont-contact.us>
Date: Thu, 30 Nov 2000 13:12:00 -0700 (MST)

On Tue, 28 Nov 2000, Andres Kroonmaa wrote:

>
> Does anyone else besides me have a feeling that we leak memory
> (cbdata structs) inside squid 2.4?
>
> (modified cbdata_debug: age in secs, lastref in secs or 0 if never)
>
> 845f3b8 VALID 0 locks age: 157, lastref: 0, store_repl_heap.c:237
> 845f398 VALID 0 locks age: 184, lastref: 0, store_repl_heap.c:237
> 845f348 VALID 0 locks age: 213, lastref: 0, store_repl_heap.c:237

are you using aufs?

Index: store_dir_aufs.c
===================================================================
RCS file: /server/cvs-server/squid/squid/src/fs/aufs/store_dir_aufs.c,v
retrieving revision 1.18
diff -u -r1.18 store_dir_aufs.c
--- store_dir_aufs.c 2000/11/30 20:08:47 1.18
+++ store_dir_aufs.c 2000/11/30 20:11:42
@@ -1348,6 +1348,7 @@
        removed++;
        storeRelease(e);
     }
+ walker->Done(walker);
     debug(20, (removed ? 2 : 3)) ("storeUfsDirMaintain: %s removed %d/%d f=%.03f max_scan=%d\n",
        SD->path, removed, max_remove, f, max_scan);
 }
Received on Thu Nov 30 2000 - 13:12:01 MST

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