Re: [gentoo-user] Full Squid Cache

2006-01-23 Thread Uwe Thiem
On 23 January 2006 09:20, Norberto Bensa wrote:
 Uwe Thiem wrote:
  You didn't read the rest of my reply. ;-)
 
  Uwe

 I must be missing something. This is all I got:

 Uwe Thiem wrote:
  Squid does that. Do you go with the default configuration of squid? That
  creates a rather small cache. Go to /etc/squid/squid.conf and change the
  last number for cache_dir from 256 to 1024 or 2048. Don't forget to
  uncomment that line. Restart squid. That should do it.
 
  Uwe

 Where do you tell Ryan how to make squid clean its cache? 

Right in the begin. Squid does that. Squid deletes old objects by default. 
His cache is too small, so it fills up faster than squid deletes old objects.

Uwe

-- 
Unix is sexy:
who | grep -i blonde | date
cd ~; unzip; touch; strip; finger
mount; gasp; yes; uptime; umount
sleep
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Full Squid Cache

2006-01-23 Thread Norberto Bensa
Uwe Thiem wrote:
 On 23 January 2006 09:20, Norberto Bensa wrote:
  Where do you tell Ryan how to make squid clean its cache?

 Right in the begin. Squid does that. Squid deletes old objects by
 default. His cache is too small, so it fills up faster than squid deletes
 old objects.

Ohhh... Well, I'll play with those numbers once more then. Thank you.


 Uwe

Best regards,

-- 
Norberto Bensa
Ciudad de Buenos Aires, Argentina
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Full Squid Cache

2006-01-23 Thread Ryan Viljoen
Hey Uwe

It turned out that I had allocated more disk space to squid then what
was actually available :( A silly mistake on my part. I did have the
last number set to 512 but have upped it to 1024 just incase.

I landed up redoing the cache anyway though thank you for the assistance.

Cheers
Rav

--
Ryan Viljoen Bsc(Eng) (Electrical)

Facts are stubborn things, but statistics are more pliable.
  - Mark Twain

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Full Squid Cache

2006-01-22 Thread Norberto Bensa
Uwe Thiem wrote:
 On 19 January 2006 03:01, Ryan Viljoen wrote:
  Hi all
 
  I have a slight problem, my squid cache is full and hence I cant
  browse any websites through the proxy. How does one get squid to clean
  out old items? 

 Go to /etc/squid/squid.conf and change the
 last number for cache_dir from 256 to 1024 or 2048. Don't forget to
 uncomment that line. Restart squid. That should do it.

I don't the answer but yours will only make squid cache bigger. That's not 
what OP was asking.

-- 
Norberto Bensa
Ciudad de Buenos Aires, Argentina
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Full Squid Cache

2006-01-22 Thread Uwe Thiem
On 23 January 2006 05:26, Norberto Bensa wrote:
 Uwe Thiem wrote:
  On 19 January 2006 03:01, Ryan Viljoen wrote:
   Hi all
  
   I have a slight problem, my squid cache is full and hence I cant
   browse any websites through the proxy. How does one get squid to clean
   out old items?
 
  Go to /etc/squid/squid.conf and change the
  last number for cache_dir from 256 to 1024 or 2048. Don't forget to
  uncomment that line. Restart squid. That should do it.

 I don't the answer but yours will only make squid cache bigger. That's not
 what OP was asking.

You didn't read the rest of my reply. ;-)

Uwe

-- 
Unix is sexy:
who | grep -i blonde | date
cd ~; unzip; touch; strip; finger
mount; gasp; yes; uptime; umount
sleep
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Full Squid Cache

2006-01-22 Thread Norberto Bensa
Uwe Thiem wrote:
 You didn't read the rest of my reply. ;-)

 Uwe

I must be missing something. This is all I got:

Uwe Thiem wrote:
 Squid does that. Do you go with the default configuration of squid? That
 creates a rather small cache. Go to /etc/squid/squid.conf and change the
 last number for cache_dir from 256 to 1024 or 2048. Don't forget to
 uncomment that line. Restart squid. That should do it.

 Uwe

Where do you tell Ryan how to make squid clean its cache? I'm asking this 
because I have the very same problem. No matter how big or small I configure 
cache_dir, it always ends up eating all the partition.

Thanks!

-- 
Norberto Bensa
Ciudad de Buenos Aires, Argentina
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Full Squid Cache

2006-01-18 Thread Uwe Thiem
On 19 January 2006 03:01, Ryan Viljoen wrote:
 Hi all

 I have a slight problem, my squid cache is full and hence I cant
 browse any websites through the proxy. How does one get squid to clean
 out old items? I would of thought squid would of removed older items.
 I would prefer not to just delete it and recreate it but rather clean
 it out.

Squid does that. Do you go with the default configuration of squid? That 
creates a rather small cache. Go to /etc/squid/squid.conf and change the last 
number for cache_dir from 256 to 1024 or 2048. Don't forget to uncomment that 
line. Restart squid. That should do it.

Uwe

-- 
Unix is sexy:
who | grep -i blonde | date
cd ~; unzip; touch; strip; finger
mount; gasp; yes; uptime; umount
sleep
-- 
gentoo-user@gentoo.org mailing list