Re: "ExpBan: nnn was banned"

2009-07-06 Thread Martin Goldman
Yes - Eventually I kind of figured out/assumed that's what was going on. Initially I couldn't figure out what "banned" meant. Thanks, Martin On Tue, Jun 30, 2009 at 8:14 PM, Tollef Fog Heen wrote: > ]] Martin Goldman > > | I got a complaint from a user that some percentage of his page views seem

Re: Thread memory allocation question

2009-07-06 Thread Ken Brownfield
Overcommit defaults off; sane use cases for overcommit are few and far between, IMHO. With overcommit on, the performance implications might be more of a wash... but then you have two problems. Even though the stack remains mostly unused, it would still have to be swapped out under memory p

Re: Inline C and memory allocation

2009-07-06 Thread Ken Brownfield
Isn't VRT_SetHdr() what you're looking for? Mind its semantics, though. -- Ken. On Jul 6, 2009, at 7:26 AM, Laurence Rowe wrote: > Hi, > > Thought my C is rather rusty by now, I'd like to make the mod_auth_tkt > [1] signed cookie authentication / authorisation system work with > Varnish. The id

Segfault in libvarnishcompat.so.1.0.0, after upgrading to build 4131

2009-07-06 Thread Ross Brown
After upgrading to trunk (build 4131) last week, we are seeing an issue when the object cache (using malloc) becomes full. We are running a server with 16GB of RAM with the following startup options: -s malloc,12G -a 0.0.0.0:80 -T 0.0.0.0:8021 -f /usr/local/etc

Re: tcp reset problem with varnish 2.0.4 o n Solaris 10 (SPARC)

2009-07-06 Thread Alex Hooper
Rob S uttered: > Alex Hooper wrote: > >> 5 VCL_call c recv >> 5 VCL_return c pass >> 5 VCL_call c pass >> 5 VCL_return c pass >> 5 VCL_call c error >> 5 VCL_return c deliver > > > It looks like you're using "pass", rather than "fetch", which probably > isn't desirable when you'

Re: tcp reset problem with varnish 2.0.4 o n Solaris 10 (SPARC)

2009-07-06 Thread Alex Hooper
Rob S uttered: > Alex Hooper wrote: >> I wonder does anyone have an idea of what might be happening? >> > Alex, > > I've not seen this before, but I've found that 'varnishlog' typically > provides very helpful information. Can you post a log of the request? Hi Rob, Log follows. # /local/bi

Re: "ExpBan: nnn was banned"

2009-07-06 Thread Tollef Fog Heen
]] Martin Goldman | I got a complaint from a user that some percentage of his page views seem | too slow to be coming from the cache. I brought up our home page and started | refreshing it over and over. Sure enough, while most of the page views are | in fact getting cached, once every 5 or 6 ti

Re: Thread memory allocation question

2009-07-06 Thread Tollef Fog Heen
]] "Poul-Henning Kamp" | In message <5c056ae2-7207-42f8-9e4b-0f541dc4b...@slide.com>, Ken Brownfield wri | tes: | | >Would a stack overflow take out the whole child, or just that thread? | | The kernel would try to extend the stack and provided you are not on | a 32 bit system, it shouldn't e

Re: tcp reset problem with varnish 2.0.4 o n Solaris 10 (SPARC)

2009-07-06 Thread Rob S
Alex Hooper wrote: > I wonder does anyone have an idea of what might be happening? > Alex, I've not seen this before, but I've found that 'varnishlog' typically provides very helpful information. Can you post a log of the request? Rob ___ varnish-m

Re: tcp reset problem with varnish 2.0.4 o n Solaris 10 (SPARC)

2009-07-06 Thread Rob S
Alex Hooper wrote: > 5 VCL_call c recv > 5 VCL_return c pass > 5 VCL_call c pass > 5 VCL_return c pass > 5 VCL_call c error > 5 VCL_return c deliver It looks like you're using "pass", rather than "fetch", which probably isn't desirable when you're just doing a simple GET

bereq.connect_timeout sub second value

2009-07-06 Thread Václav Bílek
helo is it posible to set subsecond valu in bereq.connect_timeout example: set bereq.connect_timeout = 0.3 and how to find out that the timeout was exceded? ... the idea is that varnish is in ffront of LVS cluster and vhen one LVS backend is too slow i want to restart te reques on another LVS

Inline C and memory allocation

2009-07-06 Thread Laurence Rowe
Hi, Thought my C is rather rusty by now, I'd like to make the mod_auth_tkt [1] signed cookie authentication / authorisation system work with Varnish. The idea would be to encode the acceptable authorisation tokens for a page into it's response header then check the tokens in the user's auth_tkt co

tcp reset problem with varnish 2.0.4 o n Solaris 10 (SPARC)

2009-07-06 Thread Alex Hooper
Hi, Having a requirement to ease the load on a high-traffic site of ours, I was recently diverted from reaching for Squid by a colleague who recommended Varnish. I grabbed the source for 2.0.4 (having looked for a package but not found one, despite a suggestion that it was available as part of Su