polipo constantly clears out the cache
Bug #1055418 reported by
Rolf Leggewie
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
polipo (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
polipo keeps forgetting about the stuff it has cached, essentially rendering it useless as a caching proxy. I get "Discarded all objects, 10 + 2 objects left (1 chunks and 180 atoms used)." in the logs every few hours.
Related branches
To post a comment you must log in.
Sorry for the bump, but I think this behavior is intentional.
Polipo tries to write out entries from memory to disk every now and then until it hits the chunkLowMark in memory usage. Idle.
You can tune how aggressively it does so by playing with the optoins maxObjectsWhenIdle and maxWriteoutWhen
And of course, you can also make it flush less by rasing the chunkLowMark, so it is willing to hold more in RAM for long periods of time.
I highly reccomend checking polipo's info pages (use the command "info polipo" without the quotes) for a much better explaination, as well as much more information on many other options.
However, I do find it strange that is says "Discarded all objects". Either that is just a bad log message, or it is indeed flushing out the whole RAM cache too often. (I'm pretty certain that these discarded entries go to the disk cache when this happens)