varnish purge cache all the time

Events happening in the community are now at Drupal community events on www.drupal.org.
alexus's picture

I'm constantly seeing following line in my syslog'

varnishd[2826]: CLI telnet 192.168.XX.XX:60069 172.16.XX.XX:6082 Rd purge req.http.host ~ XXX.XXX.XXX && req.url ~ "/"

and it doesn't seems like someone does it manually all the time either...

I'm able to confirmed that cache is actually is purging at every request and i'm on clean slate (in terms of cache) after purge is done.

how would one troubleshoot something like that?

Comments

It's not quite clear what you

dalin's picture

It's not quite clear what you mean by "constantly". But if you have the Varnish Drupal module:
http://drupal.org/project/varnish
setup to purge varnish according to Drupal's normal rules, then Varnish will get purged after any node or comment is created/updated/deleted.

--


Dave Hansen-Lange
Director of Technical Strategy, Advomatic.com
Pronouns: he/him/his

Varnish purge cache

DudleyDooRight's picture

By "constantly" he's referring to the varnish cache being cleared on every request.

Our website has commenting disabled and our content contributors only create new content once or twice an hour (thereabouts), so we were wondering why our Varnish server is seeing the purge request.

So, aside from new nodes and nodes being updated are there any other reasons why Drupal would be sending the purge request to Varnish? Should we be checking updates to the node table?

Thanks.

half a today alone:grep -cE

alexus's picture

this is what i mean by constantly:

half of today alone:

# grep -cE 'May..7.varnish.purge' /var/log/messages
2460
#

"varnish" module is installed and it is set to "Drupal default"

If it were me, on my local

dalin's picture

If it were me, on my local copy of the site I would add a backtrace in varnish_purge().

--


Dave Hansen-Lange
Director of Technical Strategy, Advomatic.com
Pronouns: he/him/his

High performance

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week