<br><br><div class="gmail_quote">On 4 May 2012 10:32, Tollef Fog Heen <span dir="ltr"><<a href="mailto:tfheen@varnish-software.com" target="_blank">tfheen@varnish-software.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
]] shahab bakhtiyari<br>
<div class="im"><br>
> here you can see outputs from top, and varnishstat -1<br>
><br>
> top:<br>
> 12792 nobody 20 0 5639m 3.6g 3.4g S 13 94.3 2:01.63 varnishd<br>
<br>
</div><div class="im">> sm_balloc 3777261568 . bytes allocated<br>
> sm_bfree 743198720 . bytes free<br>
<br>
</div>These numbers look consistent. What -s argument are you giving<br>
varnishd, </blockquote><div><br></div><div> -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G"</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
and does the storage file already exist on disk with a<br>
different size?</blockquote><div><br></div><div>no it does not exist. I upgraded to version 3.0.2 yesterday. now I notice that when I start varnish, it creates a <a href="http://vcl.somechars.so">vcl.somechars.so</a> file instead of varnish_storage.bin . Does it have something to say?</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> If so, removing it and letting Varnish recreate it<br>
might be helpful.<br>
<br></blockquote><div><br></div><div>generally, isn't there any way to tell varnish how much ram it should use? something like malloc option, but malloc is well, ment to be used when varnish is supposed to use ONLY ram, right?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Cheers,<br>
<div class="HOEnZb"><div class="h5">--<br>
Tollef Fog Heen<br>
Technical lead, Varnish Software<br>
t: <a href="tel:%2B47%2021%2098%2092%2064" value="+4721989264">+47 21 98 92 64</a><br>
</div></div></blockquote></div><br><div><br></div><div>thanks in advance</div><div>Shahab</div>