Re: 1.2 Cache Size (again)

From: Duane Wessels <wessels@dont-contact.us>
Date: Fri, 29 May 1998 09:40:13 -0600

Mark Cooke writes:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Fri, 29 May 1998, Duane Wessels wrote:
>
>> Mark Cooke writes:
>>
>> >1998/05/29 11:20:39| store_swap_size = 205609k
>> >1998/05/29 11:20:49| WARNING: Disk space over limit: 199595 KB > 153600 KB
>>
>> It looks to me like swap files are not really getting unlinked.
>>
>> Do you have an unlinkd process running?
>
>It appears not. *sighs* Just a bunch of squid, redirector and
>dnsserver processes.

It sounds like you are using the async-io code (since you have more
than one squid process). In that case, you should not have an unlinkd
process.

Try this patch to src/tools.c. It should enable more debugging
and may shed some light.

Index: tools.c
===================================================================
RCS file: /surf1/CVS/squid/src/tools.c,v
retrieving revision 1.154
diff -w -u -r1.154 tools.c
--- tools.c 1998/05/15 15:16:39 1.154
+++ tools.c 1998/05/29 15:39:35
@@ -496,6 +496,7 @@
 safeunlink(const char *s, int quiet)
 {
 #if USE_ASYNC_IO
+ quiet = 0;
     aioUnlink(s,
        quiet ? NULL : safeunlinkComplete,
        quiet ? NULL : xstrdup(s));

Duane W.
Received on Fri May 29 1998 - 08:42:38 MDT

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