My polipo doesn't write anything to disk any more!
Stefan Monnier <[email protected]> Thu, 25 Feb 2016 10:34:45 -0500
| Newsgroups | gmane.comp.web.polipo.user |
|---|---|
| Message-ID | <[email protected]> |
I've been using polipo for many years, but recently noticed that its
cache was empty (as in literally so: the /var/cache/polipo directory is
clean as a whistle).
# grep '^[^#]' /etc/polipo/config
localDocumentRoot=""
proxyAddress=0.0.0.0
proxyName=myproxy
censorReferer=maybe
relaxTransparency=maybe
diskCacheRoot=/var/cache/polipo
maxDiskCacheEntrySize=-1
diskCacheUnlinkTime=10000000
diskCacheTruncateTime=10000000
dnsUseGethostbyname = yes
#
When I start polipo by hand it just tells me:
Established listening socket on port 8123.
There's nothing unusual in the log file either. I tried to change
diskCacheRoot to a dummy location that doesn't exist, and it did give me
an error, so it seems it does pay attention to diskCacheRoot.
I temporarily set disableIndex and disableDirectoryList to false but
proxy:8123/polipo/index shows me an empty page (save for the title),
while proxy:8123/polipo/index does correctly how me the servers
I've contacted.
This is on a Debian testing machine. dpkg tells me:
ii polipo 1.1.1-5 armhf lightweight, caching web proxy
I suspect that this has been going on for a few months now (probably
ever since I moved my proxy to this new machine, since I'd otherwise
expect the disk cache to still hold some left over).
Stefan
PS: Here's a sample output, while running as root that time (usually it
runs as user "proxy")
# /usr/bin/polipo daemonise=false logSyslog=false logFile= logLevel=0xff disableIndexing=false disableServersList=false
Established listening socket on port 8123.
tunnel us08.zopim.com:443 allowed
Vary header present (Accept-Encoding).
Vary header present (Accept-Encoding).
Superseding object http://server:8123/polipo/servers (200 688 -1 (none) -> 200 -1 -1 (none))
Superseding object http://server:8123/polipo/index (200 216 -1 (none) -> 200 -1 -1 (none))
Superseding object http://server:8123/polipo/servers (200 1182 -1 (none) -> 200 -1 -1 (none))
Superseding object http://server:8123/polipo/index (200 216 -1 (none) -> 200 -1 -1 (none))
Superseding object http://server:8123/polipo/index (200 216 -1 (none) -> 200 -1 -1 (none))
Vary header present (Accept-Encoding).
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140