[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-misc
Subject:    Re: malloc and caching misses
From:       Lasse Karstensen <lkarsten () varnish-software ! com>
Date:       2015-07-29 11:48:58
Message-ID: 20150729114857.GE21270 () immer ! varnish-software ! com
[Download RAW message or body]

On Wed, Jul 29, 2015 at 10:37:11AM +0200, Tobias Honacker wrote:
> first of all we are using malloc 16G and varnish currently using > 25G of
> our memory so the vm begin to swap. n_lru_nuked value raise up quickly.

For reducing the resident memory size, try reducing fetch_chunksize to 8KB.

If that doesn't bring the memory consumption down, reduce the malloc
size.

Since you're doing a lot of return(pass), there will be a lot of
transient memory usage for buffering the objects as they are passed
through Varnish.

Note that there is a concurrency related panic in 4.0.2 when running
with a bit of load. You should upgrade to 4.0.3.

-- 
Lasse Karstensen
Varnish Software AS

_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic