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 duplicated

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

Re: purge.hash in trunk

2008-07-14 Thread Skye Poier Nott
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? This works: purge.url . purge.hash . But none

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; } hash; }

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

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

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 cache sizes (200GB or more

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

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

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

Re: Varnish dumping cache?

2008-04-14 Thread Skye Poier Nott
...? # 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 rid of it) but I'm seeing some strange