Re: [squid-users] COSS cache_dir size exceeds largest offset at maximum file size

2009-12-07 Thread Jason Healy
On Dec 7, 2009, at 5:05 PM, Amos Jeffries wrote: > Yes, not sure what I was thinking yesterday. (multiplying by block size > twice, sheesh) The constant is inside Squid. Maximum of 2^25-1 files per > cache == "largest file offset". > cache size < largest file offset * block size. > > Plus the d

Re: [squid-users] COSS cache_dir size exceeds largest offset at maximum file size

2009-12-07 Thread Amos Jeffries
On Mon, 7 Dec 2009 10:58:18 -0500, Jason Healy wrote: > On Dec 7, 2009, at 1:37 AM, Amos Jeffries wrote: > >> For some reason the safety check that is catching you uses > instead of >> >= >> I'm not sure why. If you want to experiment you could change it manually >> and rebuild. Around line 864 o

Re: [squid-users] COSS cache_dir size exceeds largest offset at maximum file size

2009-12-07 Thread Jason Healy
On Dec 7, 2009, at 1:37 AM, Amos Jeffries wrote: > For some reason the safety check that is catching you uses > instead of >= > I'm not sure why. If you want to experiment you could change it manually and > rebuild. Around line 864 of src/fs/coss/store_dir_coss.c. It looks like I'm off by more t

Re: [squid-users] COSS cache_dir size exceeds largest offset at maximum file size

2009-12-06 Thread Amos Jeffries
Jason Healy wrote: Hello, I'm trying to set up a large COSS cache_dir. I've used COSS in the past, but I've never tried to max out on the size of the file (I'm not even sure if this is a good idea...) When I try to start, squid fails with the following log messages: 2009/12/05 12:16:00| parse

[squid-users] COSS cache_dir size exceeds largest offset at maximum file size

2009-12-06 Thread Jason Healy
Hello, I'm trying to set up a large COSS cache_dir. I've used COSS in the past, but I've never tried to max out on the size of the file (I'm not even sure if this is a good idea...) When I try to start, squid fails with the following log messages: 2009/12/05 12:16:00| parse_line: cache_dir coss