Re: limiting disk usage

Juliusz Chroboczek <[email protected]>
Newsgroups gmane.comp.web.polipo.user
Message-ID <[email protected]>
>From what I read in the Polipo Manual it seems that I can't set the
>maximum disk space occupied by Polipo cache. Do I read that correct?

Polipo doesn't maintain an index to the cache.  This is by design, since
Polipo uses constant space even when the cache grows.  (At the time
I wrote Polipo, I had a laptop with 32MB RAM.  That's *mega*bytes, not
gigabytes, for you youngsters and RedHat employees ;-)

>What's the best way to achieve it?

  http://www.pps.jussieu.fr/~jch/software/polipo/polipo.html#Purging

> I would be very satisfied if Polipo could limit its disk usage and
> replace the oldest files with the new files if the that threshold is
> reached.

Sorry, but if that's what you want, you probably want a very different
proxy from Polipo.

> Moreover, what will happen if Polipo runs out of available disk space?

It's supposed to react gracefully, but Kamil's mail seems to imply
that's broken.

-- Juliusz

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.