Malformed varnishncsa output

2008-11-25 Thread Skye Poier Nott
I'm getting a lot of lines line this from varnishncsa: 10.151.1.1 - - [25/Nov/2008:19:11:14 +] "GET http:// vectordevhttp://vectordev/devsite/diagrams/tn-rev1.png HTTP/1.1" 200 60834 "-" "curl/7.16.3 (amd64-portbld-freebsd6.3) libcurl/7.16.3 OpenSSL/0.9.7e zlib/1.2.3" Notice the duplicat

varnishncsa and liblogging

2008-10-07 Thread Skye Poier Nott
Hello again, I'm currently working on adding liblogging (reliable syslog over BEEP) support to varnishncsa. http://www.liblogging.org/ Is this something that the project would be interested in adding to trunk when it's done? I presume it would need to be wrapped in a configure --with-liblo

Re: purge.hash in trunk

2008-07-14 Thread Skye Poier Nott
On 14-Jul-08, at 2:58 PM, Poul-Henning Kamp wrote: > Because the default vcl_hash says: > >sub vcl_hash { >set req.hash += req.url; >if (req.http.host) { >set req.hash += req.http.host; >} else { >set req.hash += server.ip; >} >has

Re: purge.hash in trunk

2008-07-14 Thread Skye Poier Nott
So I'm somewhat confused again. I haven't messed with vcl_hash at all. Thanks, Skye On 14-Jul-08, at 12:33 PM, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Skye Poier > Nott writes > : >> Updated to r2945 today, is purge.hash changed or broken? >

purge.hash in trunk

2008-07-14 Thread Skye Poier Nott
Updated to r2945 today, is purge.hash changed or broken? This works: purge.url . purge.hash . But none of these have any effect: purge.hash .#.# 200 0 purge.hash #.#. 200 0 purge.hash $#$# 200 0 purge.hash #$#$ 200 0 (The last trunk rev I was using had #host#path but now it's host#path# ?

Re: hash.purge

2008-07-07 Thread Skye Poier Nott
w...6.example.com#$ Bug or feature? Skye On 7-Jul-08, at 5:06 PM, Skye Poier Nott wrote: > Does hash.purge take a regex in the host section as well, or just the > url section? > ie is this valid (delete all jpg's for all *.bar.com hosts) > > hash.purge #.+\.bar\.com#

hash.purge

2008-07-07 Thread Skye Poier Nott
Does hash.purge take a regex in the host section as well, or just the url section? ie is this valid (delete all jpg's for all *.bar.com hosts) hash.purge #.+\.bar\.com#\.jpg$ Thanks, Skye ___ varnish-misc mailing list varnish-misc@projects.linpro.no

Object leak?

2008-07-03 Thread Skye Poier Nott
I installed Munin to start keeping track of various Varnish stat and in my test configuration which keeps requesting the same ~4,000 small objects over and over, I notice that the Varnish object count keeps climbing steadily, at a rate of about 5,000 more objects every 10 hours. VM alloc s

Trunk build errors

2008-07-01 Thread Skye Poier Nott
Weird, any thoughts? Or am I just asking for trouble with -trunk :) $ svn update (last night's) $ make clean && configure && make mkdir .libs gcc -DVARNISH_STATE_DIR=\"/usr/local/var/varnish\" -g -O2 -o .libs/ varnishd varnishd-cache_acceptor.o varnishd-cache_acceptor_epoll.o varnishd-cache_a

Re: Strategy for large cache sets

2008-07-01 Thread Skye Poier Nott
Thanks, that was my hunch. I'll let you know how it goes when I have some performance metrics. Skye On 1-Jul-08, at 11:24 AM, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Skye Poier > Nott writes > : >> I want to deploy Varnish with very large

Strategy for large cache sets

2008-07-01 Thread Skye Poier Nott
I want to deploy Varnish with very large cache sizes (200GB or more) for large, long lived file sets. Is it more efficient to use large swap or large mmap in this scenario? According to the FreeBSD lists, even 20GB of swap requires 200MB of kern.maxswzone just to keep track of it, so it doe

Reloading default.vcl

2008-06-30 Thread Skye Poier Nott
Is it possible to reload /usr/local/etc/varnish/default.vcl without restarting? From the docs it looks like one way to do this would be through the telnet interface: vcl.load some-unique-name /usr/local/etc/varnish/default.vcl vcl.use some-unique-name each time the default.vcl is changed, u

Re: A couple of simple questions...

2008-06-30 Thread Skye Poier Nott
(Whoops, meant to send this to the list) > > | 3. When I want to use Varnish in a WAN transparent accelerator mode, > | if I don't specify any "backend default" is the default to fetch the > | document from the hostname in the URL? > > You have to define a default backend. Hmm, OK. Is the scenar

A couple of simple questions...

2008-06-27 Thread Skye Poier Nott
Hello... a few beginner questions: 1. When you restart Varnish the cache is always purged? 2. If I have a section like this in vcl_fetch, is the default_ttl parameter basically ignored? (assuming default_ttl is less than the value below). So in other words, this VCL code enforces a minimum T

Varnish on FreeBSD 6.3 vs 7.0

2008-05-07 Thread Skye Poier Nott
Any advantages (performance, stability, resource usage) from running Varnish on FreeBSD 7.0 instead of 6.3? I know they did some work on the threading for 7.0 but maybe it has no relevance to Varnish. Thanks, Skye ___ varnish-misc mailing list varn

Re: Varnish dumping cache?

2008-04-22 Thread Skye Poier Nott
Thanks, I'll do as you suggest and see what happens. If it's wedged, then I should do what, attach with gdb and get a backtrace? Thanks, Skye On 20-Apr-08, at 11:41 PM, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Skye Poier > Nott writes > : >

Re: Varnish dumping cache?

2008-04-14 Thread Skye Poier Nott
ts on amd64...? # uname -a FreeBSD 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 01:43:02 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP amd64 Skye On 14-Apr-08, at 11:55 AM, Skye Poier Nott wrote: > Hello, > > I'm a new Varnish user (coming from Squid - glad to be ri

Varnish dumping cache?

2008-04-14 Thread Skye Poier Nott
Hello, I'm a new Varnish user (coming from Squid - glad to be rid of it) but I'm seeing some strange behaviour when I test load a Varnish server. I have a configuration of 4 machines with 250 http client test threads each requesting a set of 46 files from 2,000 virtual hosts (92,000 objec