No space left on device when there is space

From: List Server Account <lists@dont-contact.us>
Date: Mon, 15 Mar 1999 23:16:33 +1300 (NZDT)

I am running squid 2.1 patch 2 + mem leak patch. (Although the same
happens with 2.2 pre 3). I have looked at the FAQ, and can't find any
information about this.

I also adjusted "store_avg_object_size from 13 KB down to 11 KB, as per
an article I read (but did not understand), but it seems to have made no
difference. I have 4 cache partitions, all 2050 Megs. Once one shrinks,
the
others follow. If I restart the cache, the caches will start off back at
a max of 2050 megs, and decrease again.

My Squid cache automatically shrinks. Initially 1 directory will
shrink, then all of them seem to follow. I recently turned debugging on
and it tells me :

At 21:28:03
diskHandleWrite: FD56: disk write error: (28) No space left on device
storeSwapOutHandle: SwapOut failure (err code = -6).
WARNING: Shrinking cache_dir #2 to 1490620 KB

I just did discovered the problem, and did a df (at 23:08:07)
/dev/sda2 2136576 1578058 558518 /cache2 (which is cache dir #2)

I did reformat the partition (and there is only the squid cache on the
partition), to allow 0% for root only space.

My Config Includes :

cache_swap_low 97
cache_swap_high 98
maximum_object_size 12000 KB

cache_dir /cache2 2050 16 256

Any ideas, this is driving me nuts !!!

Thanks,
David
Received on Mon Mar 15 1999 - 03:20:05 MST

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