/usr/share/polipo/www/doc/Limiting-chunk-usage.html is in polipo 1.0.4.1-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | <html lang="en">
<head>
<title>Limiting chunk usage - The Polipo Manual</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="The Polipo Manual">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Limiting-memory-usage.html#Limiting-memory-usage" title="Limiting memory usage">
<link rel="prev" href="Limiting-memory-usage.html#Limiting-memory-usage" title="Limiting memory usage">
<link rel="next" href="Limiting-object-usage.html#Limiting-object-usage" title="Limiting object usage">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
Copyright (C) 2003 -- 2006 by Juliusz Chroboczek.-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<div class="node">
<a name="Limiting-chunk-usage"></a>
<p>
Next: <a rel="next" accesskey="n" href="Limiting-object-usage.html#Limiting-object-usage">Limiting object usage</a>,
Previous: <a rel="previous" accesskey="p" href="Limiting-memory-usage.html#Limiting-memory-usage">Limiting memory usage</a>,
Up: <a rel="up" accesskey="u" href="Limiting-memory-usage.html#Limiting-memory-usage">Limiting memory usage</a>
<hr>
</div>
<h4 class="subsection">5.3.1 Limiting chunk usage</h4>
<p><a name="index-chunkHighMark-232"></a><a name="index-chunkCriticalMark-233"></a><a name="index-chunkLowMark-234"></a><a name="index-CHUNK_005fSIZE-235"></a><a name="index-memory-236"></a><a name="index-chunk-237"></a>
You can limit Polipo's usage of chunk memory by setting
<code>chunkHighMark</code> and <code>chunkLowMark</code>.
<p>The value <code>chunkHighMark</code> is the absolute maximum number of bytes
of allocated chunk memory. When this value is reached, Polipo will try
to purge objects from its in-memory cache; if that fails to free memory,
Polipo will start dropping connections. This value defaults to
24<span class="dmn">MB</span> or one quarter of the machine's physical memory, whichever is
less.
<p>When chunk usage falls back below <code>chunkLowMark</code>, Polipo will
stop discarding in-memory objects. The value
<code>chunkCriticalMark</code>, which should be somewhere between
<code>chunkLowMark</code> and <code>chunkHighMark</code>, specifies the value
above which Polipo will make heroic efforts to free memory, including
punching holes in the middle of instances, but without dropping
connections.
<p>Unless set explicitly, both <code>chunkLowMark</code> and
<code>chunkCriticalMark</code> are computed automatically from
<code>chunkHighMark</code>.
</body></html>
|