On Sun, 2002-12-15 at 00:41, Ko Tensei@KIT wrote:
>
> Hello, all developers,
>
> I'm only attempting to add a simple function to my Squid
> to fetch an object from web server but with no need
> to send it back to any client. I used the code as below:
>
> fetch_r = urlParse(METHOD_GET, url);
> flags = null_request_flags;
> flags.cachable = 1;
> flags.proxy_keepalive = 1;
> fetch_e = storeCreateEntry(url, url, flags, METHOD_GET);
> fwdStart(-1, fetch_e, fetch_r);
>
> Objects are successfully fetched and saved to local cache.
> But after running for a long time, Squid complains that
> disk space is over limit, in that it seems that the objects
> fetched cannot be purged. Can anyone please give some hint?
Hmm, possibly you have the object still open. You might look at the ESI
clientStreams code in squid-3, which has a similar requirement, but does
not hit the issue you describe.
Cheers,
Rob
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:01 MST