Re: [RFC] version 2 state diagram (take 2)

2007-02-12 Thread Poul-Henning Kamp
for an object, so vcl_timeout{} can get a shot at compressing it. But lets concentrate on the traffic part for now, vcl_timeout{} needs a bit more time with the thinking cap. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer

Re: Current Varnish status?

2007-02-13 Thread Poul-Henning Kamp
actually be more stable then? Possibly, if your environment triggers the bugs that have been fixed since the last release. I should warn though, that SVN will go into active development shortly, so you will have to pay attention to when you grab a copy. -- Poul-Henning Kamp | UNIX since Zilog

Re: HTTP Authorization Patch

2007-02-23 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], cripy writes: Hey Poul, Thanks for the prompt response and help. However, I can't seem to get this to work properly I am receiving the following error upon varnishd startup: Easy does it, I said it was a plan I had, not that I had done it yet. -- Poul-Henning

Re: Delay when fetching a page without Content-Length

2007-03-31 Thread Poul-Henning Kamp
, you're running into a bug in the pass implementation which have since been fixed. Try using pipe mode for authenticated requests instead, by putting this in your vcl_recv function: if (req.http.Authenticate || req.http.Cookie) { pipe; } -- Poul-Henning Kamp

Re: Delay when fetching a page without Content-Length

2007-03-31 Thread Poul-Henning Kamp
{ if (req.http.authorization) { Should have been: req.http.authenticate -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained

Re: SNMP support

2007-05-14 Thread Poul-Henning Kamp
in a portable way is unfortunately the same as implementing all of SNMP, there are no agreed on portable API's for implementing SNMP. (Another POSIX failure there). Thirdly, somebody would have to sponsor the work. So I would say the answer to your question is: unlikely. -- Poul-Henning Kamp

Re: Cookie inspection

2007-05-29 Thread Poul-Henning Kamp
in Accept-Language your site supports Does your backend include a proper Vary: header when it selects on language ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice

Re: My Varnish project

2007-05-29 Thread Poul-Henning Kamp
Correct me if I am wrong. Actually, we just added a facility to do this: vcl_hash { req.hash += req.http.cookie; } It will (not yet) do the right thing if there are multiple cookie header lines, but that is in the works. -- Poul-Henning Kamp | UNIX

Re: Varnish the poor mans reverse proxy?

2007-06-05 Thread Poul-Henning Kamp
in vcl_miss{} -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish

Re: please test Varnish Vary: matching

2007-06-10 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= writes: Poul-Henning Kamp [EMAIL PROTECTED] writes: I have implemented a very efficient and simple Vary: processing in varnish(-trunk) now. [...] And report back whether it works for you or not... Works for me for deflate

Re: please test Varnish Vary: matching

2007-06-10 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= writes: Poul-Henning Kamp [EMAIL PROTECTED] writes: Dag-Erling Sm=C3=B8rgrav [EMAIL PROTECTED] writes: Works for me for deflate. Very useful for tinderbox.des.no, as the typical compression ratio for tinderbox logs is 15:1

Re: Varnishstat: bandwith usage

2007-06-11 Thread Poul-Henning Kamp
what I get from varnishstat. So is this a bug in varnishstat? You're probably running out of the 32bit counter, we need to expand some of those to 64 bits... Can I get you to open a ticket in the varnish trac system ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED

Re: Best Practices - Suggestions Request

2007-06-26 Thread Poul-Henning Kamp
that the backend has stopped responding and start servicing again the moment it detects that the backend is up? At some point we will be able to, but not right now. Sorry, if i have asked too many questions at one go. You're welcome :-) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20

Re: Best Practices - Suggestions Request

2007-06-26 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Anup Shukla writes: Poul-Henning Kamp wrote: I have put the cache file (or whatever its called as) under /cache/varnish the parameters are -s file,/cache/varnish/varnish_storage.bin,2G Disk space should not be a problem as there is plenty

Re: missing Content-Lenght header

2007-06-30 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Denis Ahrens writes : I have varnish head running and everything now looks good. How recent is that copy ? I (belive I) fixed that bug this week. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD

Re: Problem with varnish and caching

2007-07-01 Thread Poul-Henning Kamp
attitude, I suggest you stick with Squid. This is of course pretty harsh on the squid project, but you will almost certainly not be able to contribute positively to the Varnish project with that attitude. Killfile, meet Manuel, Manuel, bye! Poul-Henning -- Poul-Henning Kamp | UNIX since

Re: missing Content-Lenght header

2007-07-02 Thread Poul-Henning Kamp
-http2-ws); LOCK(vbemtx); TAILQ_INSERT_HEAD(vbe_head, vc, list); VSL_stats-backend_unused++; -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice

Re: Varnish bypassing cache when if-modified-since header present?

2007-07-02 Thread Poul-Henning Kamp
don't agree what time it is. Could you check that ? If you want to fill in some debugging look for res_do_304 in cache_response.c -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never

Re: Varnish Dirty Caching

2007-07-03 Thread Poul-Henning Kamp
and how fast and efficient we can detect it. Ideas for how to express it in VCL are very welcome. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately

Re: Config change.

2007-07-03 Thread Poul-Henning Kamp
to your active traffic. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: Fetch called after pass

2007-07-04 Thread Poul-Henning Kamp
? That would be a bug. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: Post requests

2007-07-06 Thread Poul-Henning Kamp
Sorry for not looking at this earlier. It was a bug that caused all requests, also piped ones, to be rewritten to GET on the way to the backend. Fixed in -trunk a minute ago. Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956

Re: Varnish shutting down under heavy load

2007-07-06 Thread Poul-Henning Kamp
I've seen the automatic restart of the worker process fail here during my testing, and I suspect you hit the same thing. I have it on my list of things to investigate RSN. Do you have any corefiles from varnishd by any chance ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL

Re: Mac and regular expressions

2007-07-06 Thread Poul-Henning Kamp
) not true. errno = 2 (No such file or directory) Abort trap Can you check the man pages for dlclose() on your mac, and see if they explain what it means when dlclose() fails this way ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD

Re: Varnish shutting down under heavy load

2007-07-06 Thread Poul-Henning Kamp
-d -d [your other options] -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Varnish can edit headers now, pleast test it

2007-07-10 Thread Poul-Henning Kamp
); ___ varnish-commit mailing list [EMAIL PROTECTED] http://projects.linpro.no/mailman/listinfo/varnish-commit --- End of Forwarded Message From:Poul-Henning Kamp [EMAIL PROTECTED] Subject: Varnish can

Re: logoutput from r1667

2007-07-11 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Denis Ahrens writes : Hi here a logoutput from r1667 with default VCL: Can I get you to check your clock relative to the backend ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer

Re: logoutput from r1667

2007-07-13 Thread Poul-Henning Kamp
This should be fixed now. Poul-Henning In message [EMAIL PROTECTED], Denis Ahrens writes : On 12.07.2007, at 00:30, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Denis Ahrens writes : Hi here a logoutput from r1667 with default VCL: Can I get you to check your clock

Re: What to do best performance at varnish?

2007-07-24 Thread Poul-Henning Kamp
We have very little experience with performance tuning yet, as very few people need to do any, Varnish is very frugal with hardware resources. Make sure your cache file is big enough, making it too big won't cost you anything, so don't worry about it. -- Poul-Henning Kamp | UNIX since

Re: Squid and Varnish

2007-07-24 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Kamil Radziszewski writes: Can somebody help me with translation squid config file on varnish config ? There is no simple way to do that. You need to know what your squid does, then you need to implement that in Varnish. -- Poul-Henning Kamp | UNIX since

Re: Conditional GETs

2007-07-26 Thread Poul-Henning Kamp
(anything else would be a configuration error). If you want to respect cache-control, you can implement it in vcl_recv() -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute

Re: varnish cookies multilanguage

2007-08-02 Thread Poul-Henning Kamp
( req.http.cookie, .*LOCALIZER_LANGUAGE=\(..)\.*, $1); } } (If this work, please take a moment to add it to our FAQ!) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED

Re: varnish cookies multilanguage

2007-08-02 Thread Poul-Henning Kamp
of \ .*LOCALIZER_LANGUAGE=%22(..)%22.* -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: varnish cookies multilanguage

2007-08-02 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= writes: Poul-Henning Kamp [EMAIL PROTECTED] writes: shouldn't vcl_hash { req.hash +=3D req.http.cookie[LOCALIZER_LANGUAGE]; } work, or haven't you implemented subscripting yet? Not implemented yet. -- Poul-Henning Kamp

Re: varnish cookies multilanguage

2007-08-02 Thread Poul-Henning Kamp
(..)%22.*, $1); lookup; } [...] } sub vcl_hash { set req.hash += req.http.mylang; } -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe

Re: Custom error message

2007-08-13 Thread Poul-Henning Kamp
the transaction with the new url. Not yet implemented however. We have also talked about being able to have local content on the varnish server, likely in the form of a .tar file, but this is also yet to be implemented. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED

Re: 1.1.1 progress

2007-08-20 Thread Poul-Henning Kamp
: sp-wrk-used = TIM_real(); -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: Varnish appears to hang/requests time out

2007-08-29 Thread Poul-Henning Kamp
Are there anything suspicious in your backends log when this happens ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained

Re: why purge makes child process restart?

2007-09-02 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Monty Ree writes: Thanks for your help.. Can you give us temporary vcl or urgent patch which drop the GET, HEAD or purge request which is not including Host header? This is what you need: http://varnish.projects.linpro.no/changeset/1930 -- Poul-Henning

Re: Caching pages with cookies - feature request

2007-09-03 Thread Poul-Henning Kamp
{ set req.hash += req.http.cookie; } Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: Varnish

2007-09-05 Thread Poul-Henning Kamp
make this stuff more flexible, but right now it is not on the todo list. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained

Re: URL rewriting / ignoring query parameters?

2007-09-11 Thread Poul-Henning Kamp
behind. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-misc

Re: Case Insensitive Regular Expressions

2007-09-19 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Cale b Anthony writes: Hello, It doesn't appear that VCL supports case insensitive regular expressions. Is this true? Yes because I didn't think of that. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956

Re: Case Insensitive Regular Expressions

2007-09-20 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Ricardo N ewbery writes: On Sep 19, 2007, at 10:35 AM, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Cale b Anthony writes: Hello, It doesn't appear that VCL supports case insensitive regular expressions. Is this true? Yes because I didn't think

Re: Varnish memory leak?

2007-09-20 Thread Poul-Henning Kamp
on about 8 different cache servers). As far as I can see, you have just cached more stuff than your RAM will take and now the VM system moves stuff in and out of the paging area. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer

Varnish mini status...

2007-09-21 Thread Poul-Henning Kamp
of ESI:include because the included document can also contain an ESI:include, and so on. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained

Re: Error compiling VCL with trunk (r2043)

2007-09-26 Thread Poul-Henning Kamp
be fixed in 2049 -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: varnishlog and latencies

2007-10-24 Thread Poul-Henning Kamp
-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-misc mailing list

Re: Cache parts of pages?

2007-10-24 Thread Poul-Henning Kamp
page is cached separately from the navbar, and on every request the navbar is merged into the meat of the page just prior to delivery? I'm working on it right now, it's called ESI includes and allow you to do exactly that kind of thing. See: http://www.w3.org/TR/esi-lang -- Poul-Henning

Re: Connections on the varnishbox

2007-10-26 Thread Poul-Henning Kamp
to impove somehow. Under no circumstances should more than a few pools ( 5) be created. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately

Re: Explaining the need for a C compiler - to a security group

2007-10-26 Thread Poul-Henning Kamp
? If the attacker can move a source file onto the box, he could just as well have moved the compiled binary onto the box. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can

ESI:include works in -trunk

2007-10-29 Thread Poul-Henning Kamp
ESI:includes should be ready for some testing in -trunk now, please see: http://varnish.projects.linpro.no/wiki/ESIfeatures for documentation and how to get started. Bug reports comments welcome as always... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED

Re: C Compiler requirement

2007-11-02 Thread Poul-Henning Kamp
the compiled VCL and the varnishd binary. It shouldn't be too much work to implement I think. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately

Re: Debug: On Waiting list?

2007-11-16 Thread Poul-Henning Kamp
, this session will then have to go to the backend. The idea here, is that when an object is not in the cache, we should not send hordes of clients to the backend after it, if the first one can do the job alone. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED

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

2007-11-19 Thread Poul-Henning Kamp
control and he therefore has other means of instruction (notably VCL). -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained

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

2007-11-19 Thread Poul-Henning Kamp
floating around which defines a Surrogate-Control along the lines of Cache-Control but it seems to have little backing and even less use. Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3

Re: Varnish Hash

2007-12-06 Thread Poul-Henning Kamp
identification, but each match can have multiple different objects, depending on the Vary header and ttl. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can

Re: Varnish Hash

2007-12-07 Thread Poul-Henning Kamp
need for prefetch to work. Also, how are purges done when variations exist? I'm guessing all variations get purged. Is this correct? Correct. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe

Re: disable sendfile in Varnish, please

2007-12-10 Thread Poul-Henning Kamp
as having sendfile(2) issues today, so I would advice all of you to disable sendfile to avoid the various problems we've seen. The easiest way is to specify -p sendfile_threshold=-1 to varnishd, or by using the CLI: param.set sendfile_threshold -1 -- Poul-Henning Kamp | UNIX

Re: disable sendfile in Varnish, please

2007-12-10 Thread Poul-Henning Kamp
sendfile enabled at all means that you run a pretty old[1] version of varnish, so there are a number of other bugs you may hit, but at least the one where sendfile sends wrong data to the user should be gone. Poul-Henning [1] For such a young project obviously :-) -- Poul-Henning Kamp | UNIX

Re: disable sendfile in Varnish, please

2007-12-11 Thread Poul-Henning Kamp
shortcoming (in addition to lacking the ability to send a header) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: Varnishd 1.1.2 returns 5xx

2007-12-22 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Lin Jui-Nan Eric writes: I am trying to replace squid with varnishd for reverse proxy. But I found varnishd 1.1.2 sometimes responses 5xx, while varnishd 1.2 works correctly. Examine your varnishlog output to see why varnish gives 503. -- Poul-Henning Kamp

Re: varnishtop hangs

2008-01-08 Thread Poul-Henning Kamp
. In that case all the shmlog tailing programs can get confused. How much traffic does your server take ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can

Re: Another Varnish 1.1.2 crash, in cache_backend.c

2008-01-08 Thread Poul-Henning Kamp
() from /usr/lib/libthr.so.2 #12 0xb8489fec in ?? () Got this one during the night. Was there any errno information available ? I belive the assert message would have printed it ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD

Re: varnishtop hangs

2008-01-09 Thread Poul-Henning Kamp
-for: to lightttpd which it should use in the logfile. You need to check the lighttpd config how to enable that. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can

Re: What's the meaning of req.http.Expect?

2008-01-10 Thread Poul-Henning Kamp
-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-misc mailing list

stale delivery and prefetch sanity check...

2008-01-11 Thread Poul-Henning Kamp
tricky, and possibly a restart is a better way ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: How to prevent varnish from deleting its entire cache when full?

2008-01-16 Thread Poul-Henning Kamp
. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-misc mailing

Re: hash with Accept-Encoding

2008-02-03 Thread Poul-Henning Kamp
of this automatically as long as the Vary header was set correctly. Is this not the case? Correct. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately

Re: Miscellaneous questions

2008-02-11 Thread Poul-Henning Kamp
place to pick up something, nothing prevents you from making that a backend of this varnish and doing a pass on the request. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute

Re: Varnish answering multiple incoming ports

2008-02-11 Thread Poul-Henning Kamp
localhost:82 localhost:83 -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: Tuning varnish for high load

2008-03-05 Thread Poul-Henning Kamp
not up to date on the various Linux kernels performance. You can find some benchmarking material from Kris Kennaway, who's keeping an eye on FreeBSD's scalability and often compares to various Linux kernels here: http://people.freebsd.org/~kris/scaling/ -- Poul-Henning Kamp | UNIX

Re: Miscellaneous questions

2008-03-17 Thread Poul-Henning Kamp
we avoid. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish

Re: Miscellaneous questions

2008-03-17 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Mich ael S. Fischer writes: On Mon, Mar 17, 2008 at 8:57 AM, Poul-Henning Kamp [EMAIL PROTECTED] wrote: No, we were talking about how long an idle backend connection is kept open (or at least I was). Yes I know :-) And we don't do anything to close those

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

2008-03-17 Thread Poul-Henning Kamp
nearly cry when they realize that is possible :-) Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: !obj.cacheable passes?

2008-03-22 Thread Poul-Henning Kamp
and hit the backend right away, even if other clients are already hitting the backend for that object. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can

Re: Problem with concatenated response headers with 1.1.2

2008-03-23 Thread Poul-Henning Kamp
is missing. HTTP/1.1 200 Content-type: image/jpeg But I agree, varnish shouldn't do this. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained

Re: A new varnish slide-show

2008-03-26 Thread Poul-Henning Kamp
. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-misc mailing

Re: Cookies in VCL

2008-04-08 Thread Poul-Henning Kamp
___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never

[no subject]

2008-04-08 Thread Poul-Henning Kamp
that header from req.foobar to obj.foobar and you should be all set. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: caching directories

2008-04-08 Thread Poul-Henning Kamp
~ ^/test/) { pass; } ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: No subject

2008-04-09 Thread Poul-Henning Kamp
the created the cached object. What I want know is which backend was used in the director. Is that possible? Hmm, not presently I'm afraid. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never

Re: Unprivileged user?

2008-04-15 Thread Poul-Henning Kamp
have read/write access to the storage file owned by root. The file is opened before the cache process drops to nobody, and in UNIX the access check is performed at open time and not at read/write time. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP

Re: Unprivileged user?

2008-04-15 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Ricardo N ewbery writes: Assuming that nobody is an available user on your system, then is the -u user option for varnishd superfluous? Yes. You can confirm the uid nobody is used with the ps(1) command. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20

Re: Unprivileged user?

2008-04-15 Thread Poul-Henning Kamp
prospose above, under the general assumption that if he were, varnish would be the least of his troubles. Can we be a bit serious here ? Thanks. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe

Re: Unprivileged user?

2008-04-16 Thread Poul-Henning Kamp
years. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-misc

Re: Error compiling last revision from trunk

2008-04-16 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], [EMAIL PROTECTED] writes: this should be SIZE_MAX. Could you fix this please? Sorry, I forgot to submit this change, done now. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD

Re: Unprivileged user?

2008-04-16 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Per Andreas Buer writes: Poul-Henning Kamp skrev: * Open new network connections (no problem unless you use MAC or a uid-matching firewall) No, it accepts them only. Does the privilegded prosess talk to the origin servers? No. -- Poul-Henning Kamp

Re: Varnish crashing when system starts to swap

2008-04-21 Thread Poul-Henning Kamp
didn't say which varnish version you are using, but we have fixed a number of memory leaks in -trunk recently. You should probably reduce the varnish storage file size to the amount of RAM you are willing to spend on Varnish when you run on the same machine as your backend. -- Poul-Henning Kamp

Re: url.purge

2008-04-21 Thread Poul-Henning Kamp
you need to use hash.purge CLI command and the hash string, by default is built from URL first and host last, so the command to purge http://foo.bar.com/index.html would be: hash.purge index.html#foo.bar.com# -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED

Re: url.purge

2008-04-21 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED] m, Pavel Pragin writes: Hello, Can you please help me put it the right order. I will be very great full. Put the purge stuff first. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer

Re: url.purge

2008-04-21 Thread Poul-Henning Kamp
the / document. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-misc

Re: how to flush all cache

2008-04-21 Thread Poul-Henning Kamp
any immediate effect, the objects are only thrown out as we encounter them during our normal business. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can

Re: how to flush all cache

2008-04-21 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED] m, Pavel Pragin writes: Will this have same effect: varnishadm -T 127.0.0.1:6082 url.purge . yes -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never

Re: Dirty Caching

2008-04-24 Thread Poul-Henning Kamp
operations with variables. Sounds cool :-) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: Dependance (or better non-dependance) on the Origin

2008-04-25 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Max Clark writes: How does Varnish handle the connections to the Origin? Is it possible to have Varnish serve requests if the Origin is down? Varnish does not contact the backend if the object it has in the cache is good to be served. -- Poul-Henning Kamp

Re: Wiki editing

2008-04-25 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Paul Nasrat writes: Would it be possible to have a wiki editing bit set on my trac account - pnasrat so I can update some of the information (eg Degraded-Grace mode) and add some docs. Done -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL

Re: PURGE http method and compression.

2008-04-28 Thread Poul-Henning Kamp
Accept-encoding ? Depends how you do the purge. If you use the url.purge or hash.purge VCL primitives all matching objects will be purged. If you use the set obj.ttl = 0s way of purging, only the single object you found in the cache will get purged. -- Poul-Henning Kamp | UNIX since Zilog

Re: multiple domains - varnish - one backend

2008-05-01 Thread Poul-Henning Kamp
the incoming domain name and just using the path as the cache key. Example: Which version of varnish ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can

Re: Conditional Requests (revisited)

2008-05-05 Thread Poul-Henning Kamp
in VCL, but doing the revalidation with the backend is not possible until it gets implemented. If this is not possible, would you accept a patch to make this possible? As above. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer

  1   2   3   4   >