#cache_swap_low 90
#cache_swap_high 95
Make sure that the above line are uncommented. They should be default
but its safer to cover all the bases. When you killed your cache
directorys did you remove the directorys and rebuild? Or just rebuild?
TJ
On Mon, 9 Aug 1999, Ubaldo Lescano wrote:
> Hi all !
>
> This morning, my squid was down, the problem: cache's filesystem full:
>
> /dev/sdb1 4048136 3838690 0 100% /cache
>
> the error in cache.log:
>
> 1999/08/09 01:15:27| diskHandleWrite: FD 296: disk write error: (28) No
> space left on device
> 1999/08/09 01:15:27| storeDirWriteCleanLogs: Starting...
> 1999/08/09 01:15:27| WARNING: Closing open FD 2
> 1999/08/09 01:15:29| 65536 entries written so far.
> 1999/08/09 01:15:30| 131072 entries written so far.
> 1999/08/09 01:15:33| 196608 entries written so far.
> 1999/08/09 01:15:35| 262144 entries written so far.
> 1999/08/09 01:15:37| 327680 entries written so far.
> 1999/08/09 01:15:37| Finished. Wrote 335485 entries.
> 1999/08/09 01:15:37| Took 10 seconds (33548.5 entries/sec).
> 1999/08/09 01:15:37| WARNING: Closing open FD 192
> FATAL: Write failure -- check your disk space and cache.log
> Squid Cache (Version 2.2.STABLE1): Terminated abnormally.
>
> Well, the squid.conf configuration:
>
> cache_dir /cache 3500 16 256
>
> as you see, my filesystem has 4 GB and my only cache_dir 3.5GB, the
> configuration it worked very well by almost a month, is something rare
> that it passes this problem now. In order to create space in filesystem,
> I erased swap.state and I created it again, cache_dir was modified
> 3.00Gb. I am restarting squid but the problem persists, the disc space
> of filesystem (/cache) is increased, This information appears in
> cachemgr.cgi moments before squid falls
>
> Memory usage for squid via mallinfo():
> Total space in arena: 46759 KB
> Ordinary blocks: 46707 KB 2621 blks
> Small blocks: 0 KB 0 blks
> Holding blocks: 176 KB 1 blks
> Free Small blocks: 0 KB
> Free Ordinary blocks: 52 KB
> Total in use: 46883 KB 100%
> Total free: 52 KB 0%
> Memory accounted for:
> Total accounted: 39932 KB
> File descriptor usage for squid:
> Maximum number of file descriptors: 1024
> Largest file desc currently in use: 355
> Number of file desc currently in use: 142
> Files queued for open: 0
> Available number of file descriptors: 882
> Reserved number of file descriptors: 100
> Store Disk files open: -132136
>
> what's incorrect? what this happening in my squid? (squid 2.2 Stable1)
> if you need more information, only tell me.
>
> Thanks in advance.
> Ubaldo
>
>
>
>
TJ Morgan
Network Operations
301-598-0500 x2424
"The only man who makes no mistakes is the man who
never does anything."
-Eleanor Roosevelt
Received on Mon Aug 09 1999 - 12:05:18 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:53 MST