Hi Nitin,

On Thu, Sep 15, 2011 at 2:46 PM, Nitin Srivastava <[email protected]>wrote:

> Hi,
>
> I am executing this command -
> */usr/sbin/varnishd -f /etc/varnish/default.vcl -s malloc,3G -T
> 127.0.0.1:2000*
>
> which I believe specifies Varnish to use 3GB of RAM


Not quite. It specifies that Varnish should use 3GB of memory for storing
objects. In addition there are certain data structures that are allocated in
memory. Those are typically 1kB per object.



> only while my Varnish going beyond it and taking some 9GB of RAM
>

Varnish 3.0.0 can leak memory in certain conditions. You failed to specify
what Varnish version you're running, but if you're on 3.0 I would suggest an
upgrade.


Per.

-- 
Per Buer, CEO
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to