Re: Benchmarks [was: Yahoo! Traffic Server]

2009-11-11 Thread Poul-Henning Kamp
In message 2009093140.ga9...@kjeks.linpro.no, Kristian Lyngstol writes:

I'm reasonably certain that I can get close to breaking 300k req/s on a
dual quad core with ht, but I don't think I can convince anyone to lend me
a small city worth of computers to generate the traffic.

I thought the way to do that kind of benchmark was to send a twitter
message like:

Hehe, looks like Jessica Biels bikini straps snapped (http...)

:-)


-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
p...@freebsd.org | 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
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: Varnish 503 Service unavailable error

2009-11-11 Thread Paras Fadte
Hi Tollef,

After increasing the connect_timeout and first_byte_timeout values the
erros have reduced. I also tried to get transaction for 503 error and
following is part of the transaction for the same

  230 VCL_call c recv lookup
  230 VCL_call c hash hash
  230 VCL_call c miss fetch
  230 VCL_call c error deliver
  230 Length   c 465
  230 VCL_call c deliver deliver
  230 TxProtocol   c HTTP/1.1
  230 TxStatus c 503
  230 TxResponse   c Service Unavailable
  230 TxHeader c Server: Varnish
  230 TxHeader c Retry-After: 0
  230 TxHeader c Content-Type: text/html; charset=utf-8
  230 TxHeader c Content-Length: 465
  230 TxHeader c Date: Wed, 11 Nov 2009 10:23:06 GMT
  230 TxHeader c X-Varnish: 272187330
  230 TxHeader c Age: 1

Thank you.


-Paras


On Thu, Oct 8, 2009 at 1:01 PM, Tollef Fog Heen
tfh...@redpill-linpro.com wrote:
 ]] Paras Fadte

 | Following is the output of varnishstat -1 . Also ,do I have to restart
 | varnish when I change the connect_timeout parameter ?

 No, no need to restart varnish.

 | backend_fail            37154         0.59 Backend connections failures

 As you can see here, you have quite a few backend connection failures.
 Is your backend overloaded?

 --
 Tollef Fog Heen
 Redpill Linpro -- Changing the game!
 t: +47 21 54 41 73

___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


varnishd -C

2009-11-11 Thread I I
In the web of official varnish ,
http://varnish.projects.linpro.no/wiki/VCLExampleSyslog
there is some C variable names used in VCL.but when I type the command
varnishd -C,nothing return .and when I enter the website command to the
VCL,error return like this
Running C-compiler failed, exit 1
VCL compilation failed
what I neet to prepare for  this  ?
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: varnishd -C

2009-11-11 Thread Ken Brownfield
varnishd -f /path/to/your/config.vcl -C

This will compile your VCL into C and emit it to stdout.  It will show 
prototypes for all of the VRT interface accessible from VCL, the structs 
representing your backend(s) and director(s), and the config itself.  The wiki 
is a little misleading (and -C isn't otherwise documented AFAIK): it's not a 
document per se, but it's extremely useful when writing inline C -- hunting 
down VRT definitions in the code is no fun.
-- 
Ken

On Nov 11, 2009, at 7:19 PM, I I wrote:

 In the web of official varnish 
 ,http://varnish.projects.linpro.no/wiki/VCLExampleSyslog
 there is some C variable names used in VCL.but when I type the command 
 varnishd -C,nothing return .and when I enter the website command to the 
 VCL,error return like this
 Running C-compiler failed, exit 1
 VCL compilation failed
 what I neet to prepare for  this  ?

___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc