Re: Memory usage

2010-01-26 Thread Darryl Dixon - Winterhouse Consulting
, Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

RE: Varnish virtual memory usage

2009-10-21 Thread Darryl Dixon - Winterhouse Consulting
Can you paste your VCL please? Do you use the purge_url function in it? regards, Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com I don't remember how long it took exactly, but it filled up rather quickly. Probably a couple of hours. I also noticed the LRU-moved

Re: Varnish, long lived cache and purge on change

2009-08-18 Thread Darryl Dixon - Winterhouse Consulting
response times low and page freshness high. regards, Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Memory spreading, then stop responding

2009-07-28 Thread Darryl Dixon - Winterhouse Consulting
Darryl Dixon - Winterhouse Consulting wrote: snip Can anyone suggest why varnish is using more memory than it's allocated, and why varnishlog would stop returning any output? Varnishlog was writing to disk, so I can probably extract the end of that, if it's of use. Hi Rob, There have

Re: hit for pass problems (was: Problems getting Varnish to cache certain things)

2009-06-24 Thread Darryl Dixon - Winterhouse Consulting
the item. Instead, restart the request with 'restart'. Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Problems getting Varnish to cache certain things

2009-06-16 Thread Darryl Dixon - Winterhouse Consulting
In message 41184.118.93.77.92.1244834146.squir...@services.directender.co.nz, Darryl Dixon - Winterhouse Consulting writes: Hi Anders, If you perform certain actions in vcl_hit, Varnish will mark the object as a 'hit for pass' which means that from then on it will always simply pass every

Re: Problems getting Varnish to cache certain things

2009-06-12 Thread Darryl Dixon - Winterhouse Consulting
or vcl_fetch. regards, Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com Hi, I had a situation where some cache servers would cache a URL, and others would not. The strange thing is, if I restarted Varnish on the servers that did not cache it, then it would cache

Re: varnish storage tuning

2009-06-11 Thread Darryl Dixon - Winterhouse Consulting
, in vcl_hit, if the object should be purged, set obj.ttl to 0 and then restart the request. This solved the problem for me. regards, Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com We're using Varnish and finding that Linux runs the OOM killer on the large varnish child

Re: varnish storage tuning

2009-06-11 Thread Darryl Dixon - Winterhouse Consulting
the item, then definitely you don't need to restart. regards, Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com Does restart cause the backend to be queried for the page again? I'd prefer if a purge did not re-fetch the URL from the backend as this can caused unwanted

Re: Varnish 2.0.3 consuming excessive memory

2009-04-15 Thread Darryl Dixon - Winterhouse Consulting
what conditions it actually removes things from this heap - it looks like that function is mainly concerned with items expiring from the Expires http header or similar... regards, Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com

Re: Varnish 2.0.3 consuming excessive memory

2009-04-14 Thread Darryl Dixon - Winterhouse Consulting
be | cached by varnish) so I swapped it for purge_url... You can try setting obj.ttl = 0s and then restart in vcl_hit. I believe that should work. Thanks Tollef - I will try this today and report back. regards, Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com

Re: Varnish 2.0.3 consuming excessive memory

2009-04-08 Thread Darryl Dixon - Winterhouse Consulting
Hi DES, Darryl Dixon - Winterhouse Consulting darryl.di...@winterhouseconsulting.com writes: +if (req.http.Pragma ~ .*no-cache.* || req.http.Cache-Control ~ .*no-cache.*) { +purge_url(regsub(req.url, [?].*$, .*$)); +} + It would be interesting to see how often

Re: Varnish 2.0.3 consuming excessive memory

2009-04-08 Thread Darryl Dixon - Winterhouse Consulting
) and happily coexist with zope ;-) maybe this helps you too. Hi Harald, That is a very interesting observation - I will give it a try. regards, Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com ___ varnish-misc mailing list

Varnish 2.0.3 consuming excessive memory

2009-04-07 Thread Darryl Dixon - Winterhouse Consulting
vcl.syntax changes, and the introduction of request restarts under certain limited scenarios. Can anyone shed some light? regards, Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com ___ varnish-misc mailing list varnish-misc

Re: Varnish 2.0.3 consuming excessive memory

2009-04-07 Thread Darryl Dixon - Winterhouse Consulting
, continuous upwards trend in terms of memory usage... regards, Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com Not that I have an answer, but I'd be curious to see the differences in 'pmap -x pid' output for the different children. --Michael That's a good

Re: Articles regarding Varnish, VCL and ESI

2008-12-17 Thread Darryl Dixon - Winterhouse Consulting
I am working on. Currently my strategy for low-overhead dynamic pages revolves around just-in-time ajax. I am definitely inspired now to give it a crack in ESI instead. Thank you very much for this indeed. regards, Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com

Re: Logged-in users

2008-11-26 Thread Darryl Dixon - Winterhouse Consulting
on the use-case. Miles: FWIW, the CacheFu product for Plone may assist you to maximise the caching potential of your site without too many custom tweaks to your Varnish rules. regards, Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com Another approach is to simply use

Re: Strategy for large cache sets

2008-07-06 Thread Darryl Dixon - Winterhouse Consulting
Our cache files reside on a SAN where we can get around 500MB/s over iSCSI. We went that route because we could not get Linux to swap efficiently enough to make malloc feasible. I know this is off-topic, but, I'm interested in the 500MB/s figure... Are you on 10gbit ethernet? Darryl Dixon

Re: Varnish and hot linking

2008-07-02 Thread Darryl Dixon - Winterhouse Consulting
to perform a check in vcl_fetch very similar to the one in vcl_recv to prevent the 'pass'-ed response from being cached. Hope this helps, regards, Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com ___ varnish-misc mailing list

Re: Reloading default.vcl

2008-06-30 Thread Darryl Dixon - Winterhouse Consulting
is required :) regards, Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: cache files pass php

2008-06-27 Thread Darryl Dixon - Winterhouse Consulting
that probably omits several important considerations like cookies, etc. Including, depending on what headers, etc the backend emits, you may want some more code in vcl_fetch to decide whether something is insert-ed into the cache or pass-ed onwards) Hope this helps, regards, Darryl Dixon

Re: honoring browser reload request

2008-06-24 Thread Darryl Dixon - Winterhouse Consulting
configuration above. Hope this helps, regards, Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: honoring browser reload request

2008-06-24 Thread Darryl Dixon - Winterhouse Consulting
meant: ..and then in *vcl_hit* we do similar to you... :) /* Honour Cache-Control: and Pragma: ... */ if (req.http.Pragma ~ .*no-cache.* || req.http.Cache-Control ~ .*no-cache.*) { set obj.ttl = 0s; pass; } regards, Darryl Dixon Winterhouse Consulting Ltd http

Re: Varnish Questions

2008-06-24 Thread Darryl Dixon - Winterhouse Consulting
can give. You're welcome ;) regards, Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc