RE: cache_swap size

From: Bill Wichers <billw@dont-contact.us>
Date: Thu, 2 Jul 1998 01:00:28 -0400 (EDT)

Perhaps you have run out of inodes. This happens sometimes with Squid
since squid's cache tends to have lots of tiny files. `df -i` will show
the number of inodes in use and free.

        -Bill

On Wed, 1 Jul 1998, Chris Chu (mail2) wrote:

> df reports around 1.3GB free:
>
> kermit:/usr/local/squid/logs# df
> Filesystem 1024-blocks Used Available Capacity Mounted on
> /dev/hda1 540646 258517 251206 51% /
> /dev/hda3 6486222 4801545 1312371 79% /u2
>
> And I can't see any disk full message in cache.log.
>
> - Chris Chu
>
> > -----Original Message-----
> > From: Bill Wichers [mailto:billw@unix0.waveform.net]
> > Sent: Wednesday, July 01, 1998 12:48 PM
> > To: Chris Chu (mail2)
> > Cc: squid-users@ircache.net
> > Subject: Re: cache_swap size
> >
> >
> > To add to what Duane said, you will want to take cache_mem down to
> > something around 5 MB or so (a SMALL number) or you are likely to run into
> > serious performance problems later on. Squid will still happily munch away
> > at your 128 MB of RAM, but it won't use as much of that RAM to store
> > objects.
> >
> > -Bill
> >
> > On Wed, 1 Jul 1998, Chris Chu (mail2) wrote:
> >
> > > Hi everyone,
> > >
> > > I have a problem with squid-1.1.20, I set it up in a Linux
> > machine 128MB
> > > memory and 8 GB hard disk, I set cache_swap to be 4500 and
> > cache_mem 128,
> > > after a while, squid seemed to have automatically changed the cache_swap
> > > down to about 2900, and cache_swap refuse to grow anymore, is there
> > > something I should do? Thanks.
> > >
> > > - Chris Chu
> > >
> >
>
Received on Wed Jul 01 1998 - 22:02:02 MDT

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