Re: AW: Varnish munin plugin trouble

2009-07-17 Thread Dag-Erling Smørgrav
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: AW: AW: Varnish munin plugin trouble

2009-07-17 Thread Dag-Erling Smørgrav
Norman Leutner n.leut...@all2e.com 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

Re: New munin plugin

2009-07-17 Thread Dag-Erling Smørgrav
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 ___ varnish-misc mailing list varnish

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

2009-07-08 Thread Dag-Erling Smørgrav
). The 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-misc mailing

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

2009-07-08 Thread Dag-Erling Smørgrav
of 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: a question

2009-04-06 Thread Dag-Erling Smørgrav
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

Re: Varnish on FreeBSD

2009-04-02 Thread Dag-Erling Smørgrav
Olivier Nicole o...@cs.ait.ac.th writes: Dag-Erling Smørgrav d...@des.no writes: Olivier Nicole o...@cs.ait.ac.th 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_bavail. Yes. I imagine

Re: Varnish on FreeBSD

2009-04-01 Thread Dag-Erling Smørgrav
of 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/varnishd/stevedore_utils.c

Re: Varnish on FreeBSD

2009-03-31 Thread Dag-Erling Smørgrav
of the 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
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: make varnish don't start a subprocess

2009-03-24 Thread Dag-Erling Smørgrav
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
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 ga...@pht.no 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@projects.linpro.no

Re: varnishadm purge.list broken?

2009-02-25 Thread Dag-Erling Smørgrav
Gaute Amundsen ga...@pht.no writes: Dag-Erling Smørgrav d...@des.no 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 bug. You

Re: Default behaviour with regards to Cache-Control

2009-02-13 Thread Dag-Erling Smørgrav
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 -- Dag-Erling Smørgrav - d...@des.no

Re: Caching details of objects in varnish...

2009-02-06 Thread Dag-Erling Smørgrav
Jeff Anderson j...@funnyordie.com writes: Dag-Erling Smørgrav d...@des.no writes: Jeff Anderson j...@funnyordie.com writes: Is there a way in VCL to cache just the base html of a page without its parameters? For example: /advertproviderformat.html?provider=2342342foo=3434bar=34213142

Re: Disconnection time

2009-02-05 Thread Dag-Erling Smørgrav
Per Andreas Buer per.b...@redpill-linpro.com writes: Justin Finkelstein jus...@redwiredesign.com 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 varnishd DES -- Dag-Erling Smørgrav - d...@des.no

Re: Caching details of objects in varnish...

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

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 ___ varnish-misc mailing

Re: question about configure warning

2009-01-12 Thread Dag-Erling Smørgrav
Michael S. Fischer mich...@dynamine.net 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 Smørgrav - d

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

2008-12-30 Thread Dag-Erling Smørgrav
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-16 Thread Dag-Erling Smørgrav
Alex Davies a...@davz.net 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 -- Dag-Erling Smørgrav - d...@des.no

Re: Varnishncsa

2008-12-12 Thread Dag-Erling Smørgrav
Alecs Henry alecshe...@gmail.com 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ørgrav - d...@des.no

Re: default.vcl insufficient

2008-12-05 Thread Dag-Erling Smørgrav
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
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. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED

Re: Malformed varnishncsa output

2008-11-26 Thread Dag-Erling Smørgrav
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: Logging for multiple sites

2008-11-26 Thread Dag-Erling Smørgrav
/ 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 -- Dag-Erling Smørgrav - [EMAIL PROTECTED

Re: Logging for multiple sites

2008-11-26 Thread Dag-Erling Smørgrav
written with -w, and you can't use -w with -o. Both varnishlog and varnishncsa could use some attention: the former to support combining -w with -o, and the latter to support request filtering. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ varnish-misc

Re: help with purging

2008-04-17 Thread Dag-Erling Smørgrav
vcl_hit { if (req.request == PURGE) { set obj.ttl = 0s; error 200 Purged.; } } So you *didn't* follow the instructions. Try again. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no

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 - www.linpro.no

Re: Unprivileged user?

2008-04-16 Thread Dag-Erling Smørgrav
, for people who muck up the configuration that has been standard on all decent UNIX'es for the last 15 years. It is also for people who have a little bit of sense and understand that different daemons should use different unprivileged users when they drop their root privileges. DES -- Dag-Erling

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 ___ varnish-misc

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 expected that the semantic of both method would

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.purge, you add an entry to a ban list, and every time

Re: recommendation for swap space?

2008-04-07 Thread Dag-Erling Smørgrav
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: Management console

2008-04-07 Thread Dag-Erling Smørgrav
. 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 Senior Software Developer Linpro AS - www.linpro.no

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 should if it contains a public token. Dude, it's

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.linpro.no

Re: Specification out of date?

2008-03-20 Thread Dag-Erling Smørgrav
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, *before* the object enters the cache. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no

Re: Tuning varnish for high load

2008-03-08 Thread Dag-Erling Smørgrav
} 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 Linpro AS - www.linpro.no

Re: URL Rewriting

2008-03-08 Thread Dag-Erling Smørgrav
without the rewrite. You need to set up a separate backend for deansleisurecentre.com. 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-08 Thread Dag-Erling Smørgrav
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: vcl-mode for emacs

2008-03-03 Thread Dag-Erling Smørgrav
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: VCL purge

2008-03-03 Thread Dag-Erling Smørgrav
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: error page not delivered

2008-03-03 Thread Dag-Erling Smørgrav
# 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 Software Developer Linpro AS - www.linpro.no

Re: Deliver ReqEnd in http header

2008-03-03 Thread Dag-Erling Smørgrav
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 Developer Linpro AS - www.linpro.no

Re: Blank pages with HTTP/1.0

2008-03-03 Thread Dag-Erling Smørgrav
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-misc@projects.linpro.no http

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. DES -- Dag-Erling

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 Senior Software Developer Linpro

Re: VCL purge

2008-03-03 Thread Dag-Erling Smørgrav
. 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://projects.linpro.no/mailman/listinfo/varnish

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'll get on it right away. Fixed in trunk (r2546-2547). I haven't

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 TTL... Ok, thanks. I guess what I am missing

Re: error page not delivered

2008-02-17 Thread Dag-Erling Smørgrav
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 ___ varnish-misc mailing list varnish-misc@projects.linpro.no http

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

2008-02-17 Thread Dag-Erling Smørgrav
:) 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: Configure varnish to pipe a subdomain

2008-02-14 Thread Dag-Erling Smørgrav
to true, since the first one trumps it. The correct code would be: if (req.http.url ~ ^admin.example.com$) { pass; } DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc

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 request. That's the point, I just needed a quick way

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ørgrav Senior Software Developer

Re: Miscellaneous questions

2008-02-13 Thread Dag-Erling Smørgrav
number-of-backends so each client always gets the same backend (which makes session tracking much easier) DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http

Re: Not caching immediately?

2008-02-13 Thread Dag-Erling Smørgrav
) (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-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish

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 Developer Linpro AS - www.linpro.no

Re: problems with varnish 1.1.2

2008-01-08 Thread Dag-Erling Smørgrav
-Varnish: 1220401610 Age: 0 Via: 1.1 varnish Connection: keep-alive Connection closed by foreign host. You got your response. No Content-Length and no Content-Encoding means no body. Varnish waited for a second request but grew tired and hanged up on you. DES -- Dag-Erling Smørgrav Senior

Re: Two New HTTP Caching Extensions

2008-01-08 Thread Dag-Erling Smørgrav
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 Linpro AS - www.linpro.no

Re: purge_url

2008-01-08 Thread Dag-Erling Smørgrav
kicked in, and you tried to purge a different document from the one you later requested. 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

Re: hash.url missing in varnish 1.1.2

2008-01-08 Thread Dag-Erling Smørgrav
(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 ___ varnish-misc mailing

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

2008-01-08 Thread Dag-Erling Smørgrav
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 ___ varnish-misc mailing list varnish-misc@projects.linpro.no

Re: The revenge of the return of 1.1.2

2007-12-19 Thread Dag-Erling Smørgrav
) case, however. 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

The revenge of the return of 1.1.2

2007-12-18 Thread Dag-Erling Smørgrav
Believe it or not, I have merged a few additional fixes and finished the change log for 1.1.2, and once Stig merges his changes to the Debian package metadata, we will be all set for a December 20th release. Please test... DES -- Dag-Erling Smørgrav Senior Software Developer Linpro

Re: Support Cache-Control no-cache/private as per RFC2616 ?

2007-11-20 Thread Dag-Erling Smørgrav
-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: Support Cache-Control no-cache/private as per RFC2616 ?

2007-11-20 Thread Dag-Erling Smørgrav
to fill that hole, but it is not widely known, so I'm not sure it would help much to write that Varnish is an HTTP surrogate rather than an HTTP accelerator (I try to avoid the term reverse proxy). DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no

Re: Support Cache-Control no-cache/private as per RFC2616 ?

2007-11-20 Thread Dag-Erling Smørgrav
-Henning and I have far too much to do (both with Varnish and other projects) to be able to spend much time on it. BTW, could I suggest that you subscribe to varnish-misc or varnish-dev (or both) so I don't have to manually approve everything you send to the list? DES -- Dag-Erling Smørgrav Senior

Re: Support Cache-Control no-cache/private as per RFC2616 ?

2007-11-20 Thread Dag-Erling Smørgrav
BUSTARRET, Jean-francois [EMAIL PROTECTED] writes: Dag-Erling Smørgrav [EMAIL PROTECTED] writes: BTW, could I suggest that you subscribe to varnish-misc or varnish-dev (or both) so I don't have to manually approve everything you send to the list? Sorry for that. I'll never get used to what

Re: Support Cache-Control no-cache/private as per RFC2616 ?

2007-11-19 Thread Dag-Erling Smørgrav
Already answered on varnish-dev. 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 crash (SIGABRT) about every 10 mins

2007-11-08 Thread Dag-Erling Smørgrav
Gea-Suan Lin [EMAIL PROTECTED] writes: Child said (2, 9802): Assert error in SES_Delete(), cache_session.c line 339: Condition((sp-obj) == 0) not true. errno = 0 (Unknown error: 0) See ticket #162, we're working on it. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro

Re: Varnish crash (SIGABRT) about every 10 mins

2007-11-08 Thread Dag-Erling Smørgrav
run out of memory. Here's a patch I think should help with the SES_Delete() issue, BTW. I will commit it (or something similar) once I've confirmed that it actually fixes the bug. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no Index: bin/varnishd

Re: Varnish crash (SIGABRT) about every 10 mins

2007-11-08 Thread Dag-Erling Smørgrav
, you need to run 'ulimit -c unlimited' before starting Varnish. 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

Re: Varnish crash (SIGABRT) about every 10 mins

2007-11-08 Thread Dag-Erling Smørgrav
, this will be a lot easier if you modify mgt_child.c to send SIGQUIT instead of SIGKILL so you get a core dump. BTW, I assume this is all on FreeBSD? Which version? DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no

Re: Varnish 1.1.1 FreeBSD 6.2

2007-11-08 Thread Dag-Erling Smørgrav
-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 crash (SIGABRT) about every 10 mins

2007-11-08 Thread Dag-Erling Smørgrav
no core file? Try SIGABRT instead. If that doesn't work, I'm out of ideas... though you can still attach directly to the child with gdb. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list

Re: Varnish crash (SIGABRT) about every 10 mins

2007-11-08 Thread Dag-Erling Smørgrav
to: AZ(kevent(kq, ki, nki, NULL, 0, NULL) = 0); I'll try it again. The correct way to apply a patch is with /usr/bin/patch. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc

Re: Varnish crash (SIGABRT) about every 10 mins

2007-11-08 Thread Dag-Erling Smørgrav
Gea-Suan Lin [EMAIL PROTECTED] writes: I checkout the latest version in trunk (r2231), apply the patch, and find no object being cached. (telnet to management port and use stats to check) I'm not psychic, you'll have to actually *show me* the stats. DES -- Dag-Erling Smørgrav Senior Software

Re: Varnish crash (SIGABRT) about every 10 mins

2007-11-08 Thread Dag-Erling Smørgrav
', or at least drop the -N. 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 crash (SIGABRT) about every 10 mins

2007-11-08 Thread Dag-Erling Smørgrav
Gea-Suan Lin [EMAIL PROTECTED] writes: I've tried 4 times, but varnishd still not to generate dump file. Are you sure? It should be in the run-time state directory, most likely $PREFIX/var/varnish/$HOSTNAME. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no

Re: Varnish to webserver or varnish to proxy to webserver?

2007-10-29 Thread Dag-Erling Smørgrav
amount of modules at hand. Why use Apache if Varnish can do what you need? 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

Re: Setting default_ttl in vcl file

2007-10-24 Thread Dag-Erling Smørgrav
introduce a varnishd_extra_flags knob that just gets appended to varnishd_flags... not very elegant, though. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no

Re: Setting default_ttl in vcl file

2007-10-22 Thread Dag-Erling Smørgrav
code to varnishd to read initial values from a file. I prefer the former, but we need to add similar code to the Debian and RedHat init scripts as well. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc

Re: Support for lighttpd:s mod_secdownload.

2007-10-18 Thread Dag-Erling Smørgrav
Fredrik Neij [EMAIL PROTECTED] writes: Is there any plans to have support for caching content protected by lighttpd:s mod_secdownload ? No. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list

Re: how to leave logging real ip address?

2007-10-18 Thread Dag-Erling Smørgrav
backend will only log cache misses, so backend logs are useless for traffic stats. 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

Re: URL rewriting / ignoring query parameters?

2007-09-11 Thread Dag-Erling Smørgrav
Poul-Henning Kamp [EMAIL PROTECTED] writes: sub vcl_recv { set req.url = regsub(req.url, ?.*, ); } You need to quote the ?... DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish

Re: Varnishd startup error in mgt_vcc.c

2007-09-11 Thread Dag-Erling Smørgrav
, can you strace it (making sure to trace child processes as well)? 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

Re: child process restarts frequently

2007-09-11 Thread Dag-Erling Smørgrav
Håvard Futsæter [EMAIL PROTECTED] writes: Dag-Erling Smørgrav [EMAIL PROTECTED] writes: We know what causes it, but it isn't trivial to fix without degrading performance too much. Does this mean it is difficult to figure out a satisfactory solution at all? Or that you have a solution

Re: slightly offline...

2007-09-11 Thread Dag-Erling Smørgrav
-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 / ignoring query parameters?

2007-09-11 Thread Dag-Erling Smørgrav
and paste that into your config? It is not an example, but a listing of the built-in configuration. Copying it into your config is the best way to ensure that you will be royally screwed every time you upgrade to a new version. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro

Re: why purge makes child process restart?

2007-09-03 Thread Dag-Erling Smørgrav
Monty Ree [EMAIL PROTECTED] writes: Can you give us temporary vcl or urgent patch which drop the GET, HEAD or purge request which is not including Host header? vcl_recv() { if (!req.http.host) { error 400 No Host: header; } } DES -- Dag-Erling Smørgrav Senior Software

Re: why purge makes child process restart?

2007-09-03 Thread Dag-Erling Smørgrav
james [EMAIL PROTECTED] writes: I imagine that you're best bet would be to run varnish from trunk (http://varnish.projects.linpro.no/wiki/Installation). That might not be a good idea, considering the pace of development on trunk. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro

Re: Varnish on Solaris

2007-09-03 Thread Dag-Erling Smørgrav
Kamil Radziszewski [EMAIL PROTECTED] writes: Can I run Varnish on Solaris 10 ? Currently, no. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http

Re: why purge makes child process restart?

2007-08-30 Thread Dag-Erling Smørgrav
Monty Ree [EMAIL PROTECTED] writes: Aug 30 17:56:50 www kernel: varnishd[6039]: segfault at rip 003111a6ff70 rsp 4d817c48 error 4 A stack trace would be nice... DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no

Re: Varnish appears to hang/requests time out

2007-08-29 Thread Dag-Erling Smørgrav
Martin Aspeli [EMAIL PROTECTED] writes: I'm having some trouble with Varnish 1.1.1 tarball and 1.1 branch in svn (r1922), and trunk as of today. [...] ENOLOGS DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no

Re: again cookies problem...

2007-08-29 Thread Dag-Erling Smørgrav
caching it. There isn't really anything you can do about it unless you redesign your site to not use cookies. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no

Re: how to set file parameter if file is not just one.

2007-08-29 Thread Dag-Erling Smørgrav
Monty Ree [EMAIL PROTECTED] writes: I have set like below for the storage type. [...] But, if I have several files at different partiioons like below, how to set?? This is supported in trunk (with multiple -s) but not in 1.0 or 1.1. DES -- Dag-Erling Smørgrav Senior Software Developer

  1   2   >