Storage Size & Virtual Memory?

Adrian Otto aotto at mosso.com
Thu Mar 26 04:55:23 CET 2009


Cloude,

Stop varnish, drop your swap partition with "/sbin/swapoff". Restart  
Varnish, and comment your swap partition out of fstab. You'll be  
golden after that.

Cheers,

Adrian

On Mar 25, 2009, at 8:34 PM, Cloude Porteus wrote:

> I thought I could have a cache size that was larger than the amount  
> of RAM. My config looks like this:
>
> VARNISH_STORAGE_FILE=/var/spool/squid/varnish/varnish_storage.bin
> VARNISH_STORAGE_SIZE=50G
> VARNISH_STORAGE="file,${VARNISH_STORAGE_FILE},${VARNISH_STORAGE_SIZE}"
>
> But I'm seeing my Varnish process with 55.6g of virtual memory and  
> some usage of swap memory. I'm also seeing a system load average of  
> 1.5-3, where my current squids run well under 1.
>
> I'm also trying to figure out how many objects are in the cache,  
> but I can't tell which varnishstat will get me close to that  
> number, is it?
>
> - Objects sent with write
> - SHM records
>
> Thanks for any help!
>
> best,
> cloude
>
>
> -- 
> VP of Product Development
> Instructables.com
>
> http://www.instructables.com/member/lebowski
> _______________________________________________
> varnish-dev mailing list
> varnish-dev at projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/varnish-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20090325/aecc983e/attachment-0001.html>


More information about the varnish-dev mailing list