Re: Welcome back from vacation!

2009-08-04 Thread Dag-Erling Smørgrav
conference in Cambridge this september where phk, myself, and several other Varnish users will be present. DES -- Dag-Erling Smørgrav - d...@des.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Welcome back from vacation!

2009-08-03 Thread Dag-Erling Smørgrav
"Poul-Henning Kamp" writes: > "Dag-Erling Smørgrav" writes: > > Hmm, UK, September... Why not Cambridge? > Because London is where the bloke who stuck his hand up thought he > could do it. How about putting him in touch with rwatson@ and see if something c

Re: Welcome back from vacation!

2009-08-03 Thread Dag-Erling Smørgrav
Poul-Henning Kamp writes: > Fourth: Nice People are trying to arrange a "Varnish User Group" > meeting, in London in September. Hmm, UK, September... Why not Cambridge? DES -- Dag-Erling Smørgrav - d...@des.no ___ varnish-misc mail

Re: New munin plugin

2009-07-17 Thread Dag-Erling Smørgrav
O these days at RL. "To hell with the other developers, we'll just do what we feel like; what do they know, anyway?" You should look up "respect" and "courtesy" in a good dictionary. DES -- Dag-Erling Smørgrav - d...@des.no ___

Re: AW: AW: Varnish munin plugin trouble

2009-07-17 Thread Dag-Erling Smørgrav
Norman Leutner writes: > Kristian has created a more abstract plugin which includes all needed > functions in one plugin. And how is that different from the one I wrote? DES -- Dag-Erling Smørgrav - d...@des.no ___ varnish-misc mailing list v

Re: AW: Varnish munin plugin trouble

2009-07-17 Thread Dag-Erling Smørgrav
ut it that you didn't even bother to discuss the matter with me before you blew it away? DES -- Dag-Erling Smørgrav - d...@des.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Notice: locking SHMFILE in core failed: Resource temporarily, unavailable

2009-07-08 Thread Dag-Erling Smørgrav
these, and per-process limits for the first. Patches are welcome :) DES -- Dag-Erling Smørgrav - d...@des.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Notice: locking SHMFILE in core failed: Resource temporarily, unavailable

2009-07-08 Thread Dag-Erling Smørgrav
cause is the same as for the GPG "insecure memory" warning: http://maycontaintracesofbolts.blogspot.com/2009/06/gpg-insecure-memory.html Somebody[tm] should document this Somewhere[tm]. DES -- Dag-Erling Smørgrav - d...@des.no ___ varnish

Re: cache purging questions

2009-05-28 Thread Dag-Erling Smørgrav
Matthew Hoopes writes: > Is it even possible to clear the cache based on hostname? Yes, but you need to match against the hash string, not the URL. I don't remember how to do that in 1.whateveritwasyouwererunning; you should really upgrade to 2.0.4. DES -- Dag-Erling Smørgrav - d..

Re: cache purging questions

2009-05-26 Thread Dag-Erling Smørgrav
Matthew Hoopes writes: > url.purge *username.domain.com* This is not a valid regular expression. DES -- Dag-Erling Smørgrav - d...@des.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varn

Re: Varnish 2.0.3 consuming excessive memory

2009-04-08 Thread Dag-Erling Smørgrav
j.ttl to 0 and pass). Otherwise, you should simply pass directly from vcl_recv. DES -- Dag-Erling Smørgrav - d...@des.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: a question

2009-04-06 Thread Dag-Erling Smørgrav
date for expiry on the basis of its ttl; vcl_timeout was called and returned "discard"; the object was then destroyed. DES -- Dag-Erling Smørgrav - d...@des.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Varnish on FreeBSD

2009-04-02 Thread Dag-Erling Smørgrav
Olivier Nicole writes: > "Dag-Erling Smørgrav" writes: > > Olivier Nicole writes: > > > $ a.out > > > 16384 2297104 > > I imagine this is the stripe size of your array? > I am not sure what you mean, the values represents f_bsize and > f_ba

Re: Varnish on FreeBSD

2009-04-01 Thread Dag-Erling Smørgrav
struct statfs.) Yes, we should use f_frsize instead. Please try the attached patch. > $ a.out > 16384 2297104 I imagine this is the stripe size of your array? DES -- Dag-Erling Smørgrav - d...@des.no Index: bin

Re: Varnish on FreeBSD

2009-03-31 Thread Dag-Erling Smørgrav
he calculations. In str2bytes(), p is a pointer to the size specification ("50%" in your case), fval is the numeric value (should be 50), rel is the size of the file system in bytes (should be approximately 407*2^30). DES -- Dag-Erling Smørgrav - d...@des.no __

Re: make varnish don't start a subprocess

2009-03-27 Thread Dag-Erling Smørgrav
ame program. DES -- Dag-Erling Smørgrav - d...@des.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Purge and cache content mist.

2009-03-24 Thread Dag-Erling Smørgrav
us list. That being said, the FAQ is correct in that it would be a very expensive operation - listing the contents of the cache on a large server could very well stall it for seconds or, in the worst case, minutes. DES -- Dag-Erling Smørgrav - d...@des.no _

Re: make varnish don't start a subprocess

2009-03-24 Thread Dag-Erling Smørgrav
storage file, but never to the swap partition. You should probably look at /proc/$pid/map instead of using top, BTW. DES -- Dag-Erling Smørgrav - d...@des.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: make varnish don't start a subprocess

2009-03-20 Thread Dag-Erling Smørgrav
select the storage backend and how to limit the size of the cache. DES -- Dag-Erling Smørgrav - d...@des.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: varnishadm purge.list broken?

2009-02-25 Thread Dag-Erling Smørgrav
Gaute Amundsen writes: > Dag-Erling Smørgrav writes: > > There is no "purge.list" command. > No? Sorry, I was looking at the parent commands; purge.list is a child command. You didn't mention which version you're running, but it looks like a varnishadm or cli b

Re: varnishadm purge.list broken?

2009-02-25 Thread Dag-Erling Smørgrav
Gaute Amundsen writes: > # varnishadm -T localhost:90 purge.list > An error occured in receiving answer. There is no "purge.list" command. DES -- Dag-Erling Smørgrav - d...@des.no ___ varnish-misc mailing list varnish-misc@project

Re: Varnish and virtual hosting

2009-02-13 Thread Dag-Erling Smørgrav
Wrong. Both varnishlog and varnishncsa will, by default, process live data and print it to stdout, where you can pipe it to whatever you like. DES -- Dag-Erling Smørgrav - d...@des.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Varnish and mp3 streaming on demand

2009-02-13 Thread Dag-Erling Smørgrav
ream", which streams the current request, then reverts to normal operation. DES -- Dag-Erling Smørgrav - d...@des.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Default behaviour with regards to Cache-Control

2009-02-13 Thread Dag-Erling Smørgrav
allows an origin server to state that the specified parts of the > response are intended for only one user and are not a valid > response for requests by other users Varnish is not a shared cache, it's a surrogate (not covered by RFC2616) DES

Re: Caching details of objects in varnish...

2009-02-06 Thread Dag-Erling Smørgrav
Jeff Anderson writes: > Dag-Erling Smørgrav writes: > > Jeff Anderson writes: > > > Is there a way in VCL to cache just the base html of a page > > > without its parameters? For example: > > > /advertproviderformat.html?provider=2342342&foo=3434&

Re: Caching details of objects in varnish...

2009-02-05 Thread Dag-Erling Smørgrav
Jeff Anderson writes: > Is there a way in VCL to cache just the base html of a page without > its parameters? For example: > /advertproviderformat.html?provider=2342342&foo=3434&bar=34213142 Yes, hook into vcl_hash and modify the hash string as appropriate. DES -- Dag-Er

Re: Disconnection time

2009-02-05 Thread Dag-Erling Smørgrav
Per Andreas Buer writes: > "Justin Finkelstein" writes: > > Thanks; can you tell me where I'd find a list of all of these > > parameters? > "man vcl". You can also list them in the CLI. No, "man varn

Re: What is Age header in varnish

2009-01-27 Thread Dag-Erling Smørgrav
something. I was born a little over 31 years ago. I have an estimated TTL of ~45 years. Every day, my age increases by 86,400 seconds. That doesn't mean there's anything wrong with me :P DES -- Dag-Erling Smørgrav - d...@des.no ___ varnis

Re: question about configure warning

2009-01-12 Thread Dag-Erling Smørgrav
"Michael S. Fischer" writes: > What are these "non-Linux-specific issues" to which the document refers? The lack of a completion indicator + various implementation bugs. The only OS I know of that has a usable implementation is FreeBSD 8. DES -- Dag-Erling

Re: Any one can help me to run varnish on Linux (Redhat Enterprise)?

2008-12-30 Thread Dag-Erling Smørgrav
rrect and b) you need to specify both a listen address and a backend address. The details are in the man page. DES -- Dag-Erling Smørgrav - d...@des.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: varnishstat build error on RHEL5

2008-12-17 Thread Dag-Erling Smørgrav
"Alex Davies" writes: > Dag-Erling Smørgrav writes: > > You need to install ncurses-devel first. > Package ncurses-devel - 5.5-24.20060715.i386 is already installed. > Package ncurses-devel - 5.5-24.20060715.x86_64 is already installed. Please don't top-post

Re: varnishstat build error on RHEL5

2008-12-16 Thread Dag-Erling Smørgrav
"Alex Davies" writes: > I'm trying to build varnishstat on RHEL5. It was not installed by my > standard ./configure;make;make install but I notice that there is a > folder in "bin" called varnishstat. You need to install ncurses-devel first. DES --

Re: Varnishncsa

2008-12-12 Thread Dag-Erling Smørgrav
"Alecs Henry" writes: > What about cookies? Can varnish log cookie values? Or does it fit in > the same problem as the first message? Varnish can and does log cookies. See the varnishlog(1) man page. DES -- Dag-Erling Smørgr

Re: Varnishncsa

2008-12-11 Thread Dag-Erling Smørgrav
"Alecs Henry" writes: > Is there any way to tweak the varnishncsa log? Not currently. Patches are welcome. DES -- Dag-Erling Smørgrav - d...@des.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linp

Re: Varnish ALWAYS getting index from backend

2008-12-10 Thread Dag-Erling Smørgrav
nish's idea of the object's TTL (which is computed before vcl_fetch is called). The best solution is to set the correct time on the backend; second-best is to set obj.ttl to a non-zero value in vcl_fetch. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED]

Re: Varnishreplay question

2008-12-10 Thread Dag-Erling Smørgrav
front of Apache to log HTTP traffic (just "pass" at the top of vcl_recv). DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: default.vcl insufficient

2008-12-05 Thread Dag-Erling Smørgrav
e varnishd rc script in the FreeBSD port is incorrect in this respect; patches are welcome) DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: sendfile() and Varnish2.0.2

2008-12-02 Thread Dag-Erling Smørgrav
dfile only works with file storage, not malloc, and due to the overhead of setting up the VM mapping for the transfer, the break-even point is very high - you're not likely to see any measurable performance improvement unless you're serving very large objects

Re: Logging for multiple sites

2008-11-26 Thread Dag-Erling Smørgrav
out. It seems like that would do > pretty much what I want. No, -r can only read binary log files that were previously written with -w, and you can't use -w with -o. Both varnishlog and varnishncsa could use some attention: the former to support combini

Re: Logging for multiple sites

2008-11-26 Thread Dag-Erling Smørgrav
be too hard. Other issues with varnishncsa / varnishlog: varnishlog doesn't allow -o and -w to be used at the same time. There is no reason why it shouldn't. If it did, you could play tricks like this: varnishlog -w /dev/stdout -c -o RxURL foo | varnishncsa -r /dev/stdin DES -

Re: Malformed varnishncsa output

2008-11-26 Thread Dag-Erling Smørgrav
part includes a user and / or password, or a port number. (Note that I've argued for URI parsing and validation from the start...) DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: help with purging

2008-04-17 Thread Dag-Erling Smørgrav
n file and restarted Varnish: > > sub vcl_hit { > if (req.request == "PURGE") { > set obj.ttl = 0s; > error 200 "Purged."; > } > } So you *didn't* follow the instructions. Try again. DES -

Re: Unprivileged user?

2008-04-16 Thread Dag-Erling Smørgrav
t daemons should use different unprivileged users when they drop their root privileges. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Unprivileged user?

2008-04-16 Thread Dag-Erling Smørgrav
uid-matching firewall) > No, it accepts them only. wrong, it initiates new connections to the backend servers. > Please figure out how varnish really works before you acuse us of > being incompetent. That was completely uncalled for. DES -- Dag-Erling Sm

Re: Current stable version?

2008-04-16 Thread Dag-Erling Smørgrav
Gaute Amundsen <[EMAIL PROTECTED]> writes: > we are currently running varnish-1.0.4-3el4.i386.rpm > ( with a small patch ) 1.1.2 has been out for, eh, four months now... DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - w

Re: Error compiling last revision from trunk

2008-04-15 Thread Dag-Erling Smørgrav
<[EMAIL PROTECTED]> writes: > storage_malloc.c:46: error: ‘SIZE_T_MAX’ undeclared here (not in a function)" this should be SIZE_MAX. Bad phk, no cookie! DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no __

Re: mass purge causes high load?

2008-04-14 Thread Dag-Erling Smørgrav
Sascha Ottolski <[EMAIL PROTECTED]> writes: > Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > > No, the semantics are completely different. With HTTP PURGE, you do > > a direct cache lookup, and set the object's TTL to 0 if it exists. > > With url.purg

Re: mass purge causes high load?

2008-04-14 Thread Dag-Erling Smørgrav
[resent to varnish-misc] Sascha Ottolski <[EMAIL PROTECTED]> writes: > Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > > If you know the exact URL to purge, use an HTTP PURGE (see VCL code > > examples in the vcl man page) > I'm aware of this, but had expect

Re: mass purge causes high load?

2008-04-13 Thread Dag-Erling Smørgrav
e VCL code examples in the vcl man page) DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Varnish config/performance with Domino Webmail

2008-04-09 Thread Dag-Erling Smørgrav
rs, nothing. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Management console

2008-04-07 Thread Dag-Erling Smørgrav
orm the required LF -> CR LF translation. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: recommendation for swap space?

2008-04-07 Thread Dag-Erling Smørgrav
have no swap at all? My cache file is 517 GB in size. Varnish does not use swap. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Child dies every 90 seconds

2008-04-05 Thread Dag-Erling Smørgrav
Simon Lyall <[EMAIL PROTECTED]> writes: > sub vcl_timeout { >if ( obj.lastuse < 60s) { > fetch; >} else { > discard; >} > } This is not expected to work. Prefetching is only available in trunk. DES -- Dag-Erling Smørgrav Senio

Re: Specification out of date?

2008-03-21 Thread Dag-Erling Smørgrav
Ricardo Newbery <[EMAIL PROTECTED]> writes: > Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > > I still don't understand why you want to go from hit to fetch. Just > > pass it. > Because a pass will not store the response in cache when it otherwise >

Re: Specification out of date?

2008-03-20 Thread Dag-Erling Smørgrav
ic token before insertion as the previous request may have > been a regular non-authenticated request which should be cached > regardless. So I need to test for the public token before both > insertion and delivery from cache. I still don't understand why you want to go from hit to

Re: Specification out of date?

2008-03-20 Thread Dag-Erling Smørgrav
eliver; > } > if (req.http.Authenticate) { > fetch; > } Uh, no. Why do you want to "fetch" here? Why do you even want to do anything in vcl_hit? The correct place to check Cache-Control is in vcl_fetch, *be

Re: Specification out of date?

2008-03-20 Thread Dag-Erling Smørgrav
Ricardo Newbery <[EMAIL PROTECTED]> writes: > [...] Yes, the spec is two years out of date. If you want Varnish to obey Cache-Control, it is trivial to implement in VCL. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.

Re: Miscellaneous questions

2008-03-19 Thread Dag-Erling Smørgrav
"Poul-Henning Kamp" <[EMAIL PROTECTED]> writes: > "Dag-Erling Smørgrav" <[EMAIL PROTECTED]> writes: > > While we're all gathered around the wishing well, I wish "remove" > > was named "unset" (see attached patch) and "

Re: Miscellaneous questions

2008-03-19 Thread Dag-Erling Smørgrav
nge timeouts or other parameters. While we're all gathered around the wishing well, I wish "remove" was named "unset" (see attached patch) and "unset" on a run-time parameter should reset it to its default v

Re: Miscellaneous questions

2008-03-17 Thread Dag-Erling Smørgrav
"Poul-Henning Kamp" <[EMAIL PROTECTED]> writes: > "Michael S. Fischer" <[EMAIL PROTECTED]> writes: > > "Dag-Erling Smørgrav" <[EMAIL PROTECTED]> writes: > > > "Michael S. Fischer" <[EMAIL PROTECTED]> writes: >

Re: Miscellaneous questions

2008-03-17 Thread Dag-Erling Smørgrav
"Michael S. Fischer" <[EMAIL PROTECTED]> writes: > Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > > I think the default timeout on backends connection may be a little > > short, though. > I assume this is the thread_pool_timeout parameter? No, that&

Re: how to...accelarate randon access to millions of images?

2008-03-16 Thread Dag-Erling Smørgrav
ray turns out to be the fastest option, you may have to compromise and split your disks into two arrays, unless you find a RAID controller that can handle the number of disks you need. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___

Re: VCL purge

2008-03-08 Thread Dag-Erling Smørgrav
27;"#"' Please submit a ticket. It would appear string concatenation only works in assignments... DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: URL Rewriting

2008-03-08 Thread Dag-Erling Smørgrav
rade to a newer version. > I've edited my local PCs hosts file to point deansleisurecentre.com to > the box running Varnish, however when I access deansleisurecentre.com, I > get http://example.com instead without the rewrite. You need to set up a separate backend for deansleisurecentre.com. DES -

Re: Tuning varnish for high load

2008-03-08 Thread Dag-Erling Smørgrav
med; thread_pool_{min,max} are the minimum and maximum *total* number of threads, while thread_pools is the number of pools. The actual minimum and maximum number of threads *per pool* is thread_pool_{min,max} / thread_pools. DES -- Dag-Erling Smørgrav Senior Software Developer

Re: Child dying with "Too many open files"

2008-03-05 Thread Dag-Erling Smørgrav
pt failed errno=24" > > Which is the same as the "Too many open files" error I believe. add 'ulimit -a' to your init script, right before the line that actually starts varnishd, and send us the output. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS

Re: VCL purge

2008-03-05 Thread Dag-Erling Smørgrav
Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > André Øien Langvand <[EMAIL PROTECTED]> writes: > > purge_hash(req.url + "#" + req.http.host); > > ---#-- > > Error: Expected ')' got

Re: VCL purge

2008-03-04 Thread Dag-Erling Smørgrav
#x27;+' > > purge_hash(req.url + '#' + req.http.host); > -# > Error: Syntax error at I'm going to have to pass this on to Poul-Henning. I thought we supported string concatenation, but perhaps not in function cal

Re: VCL purge

2008-03-04 Thread Dag-Erling Smørgrav
) to see what it really looks like. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: obj.tll as string

2008-03-03 Thread Dag-Erling Smørgrav
Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > "Anders Vännman" <[EMAIL PROTECTED]> writes: > > String representation of 'obj.ttl' not implemented yet > Yes, obj.ttl is a double, and Varnish lacks code to convert a double > to a string. I'

Re: VCL purge

2008-03-03 Thread Dag-Erling Smørgrav
req.url + '#' + req.host. If you only have one virtual host, just use purge_url() instead. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://

Re: VCL purge

2008-03-03 Thread Dag-Erling Smørgrav
André Øien Langvand <[EMAIL PROTECTED]> writes: > Yes, that was my thought. Besides an if (req.http.Pragma ~ "no-cache") > in vcl_recv how can i purge the requested URL (and host)?. purge_hash() and purge_url(), as documented in vcl(7). DES -- Dag-Erling Smørgrav Sen

Re: varnish-misc Digest, Vol 23, Issue 25

2008-03-03 Thread Dag-Erling Smørgrav
Fredrik Nygren <[EMAIL PROTECTED]> writes: > I guess its the same problem that ive had, and there is a patch > regarding it; > > http://varnish.projects.linpro.no/ticket/197 The patch in the ticket is incorrect. The revision numbers for the correct fix are in the audit trail.

Re: Blank pages with HTTP/1.0

2008-03-03 Thread Dag-Erling Smørgrav
ests with HTTP/1.0 gets a blank page but > HTTP/1.1 not. Our Apache logs shows this: #197, see my earlier email to Ramon A Hermon. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-mi

Re: Deliver ReqEnd in http header

2008-03-03 Thread Dag-Erling Smørgrav
hat's why it says the following right at the top: /* * $Id: vcc_fixed_token.c 2461 2008-02-13 17:25:57Z des $ * * NB: This file is machine generated, DO NOT EDIT! * * Edit vcc_gen_fixed_token.tcl instead */ DES -- Dag-Erling Smørgrav Senior Software

Re: Varnishlogging

2008-03-03 Thread Dag-Erling Smørgrav
Erik <[EMAIL PROTECTED]> writes: > Ah ok, I see :( Unfortunately i'm not a c++ guru so I can just cross > my fingers and hope that some handy guy writes a patch. Actually, there isn't a single line of C++ code in Varnish. You must be thinking of Squid... DES -- Dag-

Re: still trying to purge

2008-03-03 Thread Dag-Erling Smørgrav
Charlie Farinella <[EMAIL PROTECTED]> writes: > For the moment I have given up trying to do the http purge thing and > am trying to find a workaround. I have the following shell script: > [...] What's wrong with varnishadm(1)? DES -- Dag-Erling Smørgrav Senior Software

Re: obj.tll as string

2008-03-03 Thread Dag-Erling Smørgrav
Varnish lacks code to convert a double to a string. I'll get on it right away. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: VCL purge

2008-03-03 Thread Dag-Erling Smørgrav
hich version are you running? DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: vcl-mode for emacs

2008-03-03 Thread Dag-Erling Smørgrav
your own subs as well, not just override the predefined ones) DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: error page not delivered

2008-03-03 Thread Dag-Erling Smørgrav
rectly from sources as follows: # mkdir /tmp/varnish # cd /tmp/varnish # svn co http://varnish.projects.linpro.no/svn/branches/1.1 varnish-1.1.2 # tar zcf varnish-1.1.2.tar.gz varnish-1.1.2 # rpmbuild -tb varnish-1.1.2.tar.gz # rpm -U *.rpm DES -- Dag-Erling Smørgrav Senior

Re: Help debugging cacheability / ttl information?

2008-02-18 Thread Dag-Erling Smørgrav
Denis Brækhus <[EMAIL PROTECTED]> writes: > Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > > You should get a varnishlog entry for the TTL computation when an > > object is retrieved from the backend, but there won't be a log entry > > for VCL changing the

Re: Getting the most out of varnish with large files / slow connections

2008-02-17 Thread Dag-Erling Smørgrav
't seem much to me :) DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Help debugging cacheability / ttl information?

2008-02-17 Thread Dag-Erling Smørgrav
27;^age:' ; sleep 5 ; done > For the record we are still at varnish 1.0.4 [...] 1.0.4 is almost a year old... why not 1.1.2? It has *much* better support for examining and modifying HTTP headers. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no _

Re: error page not delivered

2008-02-17 Thread Dag-Erling Smørgrav
in the url". Apparently, you have two caches: one that works correctly and one that doesn't. Do they both run the same version and configuration? DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___

Re: A few users see a blank page

2008-02-14 Thread Dag-Erling Smørgrav
"Marco Molinari" <[EMAIL PROTECTED]> writes: > Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > > If the point of this is to allow the client to Shift-Reload, you > > should purge the URL to force a reload from the backend, instead of > > piping the r

Re: Configure varnish to pipe a subdomain

2008-02-14 Thread Dag-Erling Smørgrav
han pipe, unless pipe is required for other reasons, in which case "Connection: close" should be added to the request headers. - the second if will never evalutate to true, since the first one trumps it. The correct code would be:

Re: A few users see a blank page

2008-02-14 Thread Dag-Erling Smørgrav
but did you > try this?) > > To sum this up, I get a blank page if all of these happen: > - I use a Squid 2.5 or 2.6 proxy > - and the content is generated by php > - and the content is more than 8000 bytes > - and the cookie header is quite long (about 500 chars) > - an

Re: Not caching immediately?

2008-02-13 Thread Dag-Erling Smørgrav
gt; (1) Upgrade to trunk (I was using 1.1.2) > (2) Add "set req.http.connection = "close";" immediately before the pipe for > a POST No, trunk will handle POST correctly in "pass" mode which makes this unnecessary. DES -- Dag-

Re: Miscellaneous questions

2008-02-13 Thread Dag-Erling Smørgrav
hing, nothing prevents > you from making that a backend of this varnish and doing > a pass on the request. No, I think what he means is selecting the backend based on client-ip modulo number-of-backends so each client always gets the same backend (which makes session tracking much easier) DES --

Re: error page not delivered

2008-02-13 Thread Dag-Erling Smørgrav
Ramon A Hermon <[EMAIL PROTECTED]> writes: > I am unable to get varnish to deliver the customized error page when > requesting a non-existent url. We can't figure out what's happening from the Apache logs, you have to show us the Varnish logs. DES -- Dag-Erling Sm

Re: hash with Accept-Encoding

2008-02-13 Thread Dag-Erling Smørgrav
Ricardo Newbery <[EMAIL PROTECTED]> writes: > I came across this line in an example vcl which confused me... > > sub vcl_hash { > set req.hash += req.http.Accept-Encoding; > } This is probably from an old email from before phk implemented Vary. DES -- Dag-Erling Smø

Re: A few users see a blank page

2008-02-13 Thread Dag-Erling Smørgrav
t was actually what the backend sent. There is no way to debug this further without seeing your vcl script. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http:/

Network outage

2008-01-17 Thread Dag-Erling Smørgrav
ffice network. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Varnish1.1.2 returns 200OK,but no content

2008-01-08 Thread Dag-Erling Smørgrav
is a combination of a backend bug and pilot error. What you are seeing is a backend bug which 1.2 apparently manages to recover from but 1.1.2 doesn't. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ var

Re: hash.url missing in varnish 1.1.2

2008-01-08 Thread Dag-Erling Smørgrav
uch thing as "hash.url" in Varnish (that I am aware of). Assuming you mean the hash.purge management command, it has never been in 1.1 - only in trunk and the as-yet unreleased 1.2. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no

Re: Another Varnish 1.1.2 crash, in cache_backend.c

2008-01-08 Thread Dag-Erling Smørgrav
ai != NULL. There may or may not be a race condition at the bottom of this (between vbe_conn_try() and something else modifying the backend struct that bp points to) DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varn

Re: Two New HTTP Caching Extensions

2008-01-08 Thread Dag-Erling Smørgrav
approximately 18 months after we put it on our roadmap? It was actually planned for Varnish 1.0, but was left out as it turned out not to be necessary for vg.no (which was our target at the time) DES -- Dag-Erling Smørgrav Senior Software Developer Li

Re: problems with varnish 1.1.2

2008-01-08 Thread Dag-Erling Smørgrav
econd request but grew tired and hanged up on you. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: varnishd 1.1.2 not useing epoll in kernel 2.6

2008-01-08 Thread Dag-Erling Smørgrav
"[illegible]" <[EMAIL PROTECTED]> writes: > I install varnishd 1.1.2 in Red Hat AS4.4 (kernel: 2.6.9-42.ELsmp). > I'm very strange, it doesn't useing epoll. Yes it does, just not for the management interface. DES -- Dag-Erling Smørgrav Senior Software Dev

  1   2   3   4   >