<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EstiloCorreo17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=ES-TRAD link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>When handling a request for a large file (~300mb) varnish
just closes the http connection and as a side effect, load average on the
Server pikes.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hitting on that file just a few times a minute is enough to
get 200LA on a Sun x2250 with 4GB RAM.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Varnish is configured with a relatively small file cache of
2.7GB, but anyhow it should not fail this way.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>On a similar 64bit Server but with 7GB file cache
configured, the file gets Server without problem.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Tried on varnish 2.0.3 with different file sizes (above
300mb) and extensiones (.tar, .mp3. .htm)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The log reports:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>varnishd[28124]: Child (7003) Panic message: Assert error in
STV_alloc(), stevedore.c line 71: Condition((st) != NULL) not
true. errno = 107 (Transport endpoint is not connected) thread =
(cache-worker)sp = 0x7f87a7ff2008 { fd = 1134, id = 1134, xid =
1972308839, client = xxx.xxx.xxx.xxx:1433, step =
STP_FETCH, handling = discard, ws = 0x7f87a7ff2078
{ id = "sess",
{s,f,r,e} = {0x7f87a7ff2808,,+308,(nil),+16384},
}, worker = 0x7724ebd0 {
}, vcl = { srcname
= { "input", "Default",
}, }, obj = 0x7f87ec179000
{ refcnt = 1, xid = 1972308839,
ws = 0x7f87ec179028 { id =
"obj", {s,f,r,e} =
{0x7f87ec179358,,+251,(nil),+7336},
}, http = { ws =
0x7f87ec179028 { id =
"obj", {s,f,r,e} =
{0x7f87ec179358,,+251,(nil),+7336},
}, hd =
{ "Date: Thu, 26 Mar 2009
23:30:15 GMT",
"Server: Apache",
"Last-Modified: Thu, 26 Mar 2009 06:57:11 GMT",<o:p></o:p></span></font></p>
</div>
</body>
</html>