Re: Squid crashing (cache_swap_log and storeDirOpenTmpSwapLog)

From: Jonathan Benson <sysadmin@dont-contact.us>
Date: Mon, 07 Feb 2000 16:35:40 +1100

The disk was a LONG way from being full.

I have had to start the cache afresh so it now shows:
/dev/sda1 39428976 2086496 37334288 5% /var/spool/squid

Jon

Wayne Bastow wrote:

> What do you get when you run df?
>
> Wayne
>
> Jonathan Benson wrote:
> >
> > Hi all
> >
> > Twice now my proxy (RedHat 6.1 with squid-2.2.STABLE4-5) has crashed
> > and I get this error when trying to run it:
> > storeDirOpenTmpSwapLog: Failed to open swap log.
> >
> > I have not specified a cache_swap_log directory so presume this magic
> > file should be present in my cahce directory but there are only two
> > files present (apart from the cache directories):
> > -rw-r--r-- 1 squid squid 9580512 Feb 7 15:11 swap.state
> > -rw-r--r-- 1 squid squid 0 Feb 7 04:15
> > swap.state.last-clean
> >
> > It would seem that both crashes occured when the cache reached the size
> > that I had specified as maximum. I've tried reducing this to the point
> > that it's now set to 25GB on a 39GB drive (last crash it was set at
> > 30GB) but that doesn't seem to help.
> >
> > Any ideas, suggestions, further information would be MOST appreciated.
> >
> > Thanks
> >
> > Jon
> >
> > --
> > Jonathan Benson
> > Systems Administrator
> > Ocean Internet
> > http://www.ocean.com.au/
>
> --
> Wayne Bastow - DBA - Central Coast Health Phone: 61 2 43203231
> Email: wbastowATccahsDOThealthDOTnswDOTgovDOTau
>
> Linux, the choice of a GNU generation Kernel 2.2.5-15 on a i686
>
> %DCL-MEM-BAD, bad memory VMS-F-PDGERS, pudding between the ears

--
Jonathan Benson
Systems Administrator
Ocean Internet
http://www.ocean.com.au/
Received on Sun Feb 06 2000 - 22:44:20 MST

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