Re: Varnish Prefetch

2010-02-01 Thread Paras Fadte
Hi Poul, Any work around possible in varnish to make varnish check objects at backend some time before they actually reach their expires time? Or is it just not possible to do so in varnish? Thank you. -Paras On Fri, Jan 29, 2010 at 10:07 AM, Paras Fadte plf...@gmail.com wrote: Thanks

Re: Varnish Prefetch

2010-01-28 Thread Paras Fadte
Thanks for the response Poul. On Fri, Jan 29, 2010 at 3:49 AM, Poul-Henning Kamp p...@phk.freebsd.dkwrote: In message 75cf5801001270025s722f114ax9335dba334a84...@mail.gmail.com, Paras Fadte writes: Thanks for the response . So with grace mode is it possible to fetch an object from backend

Re: Varnish Prefetch

2010-01-27 Thread Paras Fadte
75cf5801001241820w3e4afd34v64ad2031b8b7...@mail.gmail.com, Paras Fadte writes: Is prefetch by default enabled in varnish ? Prefetch never got implemented, we found other ideas to solve the problem, such as grace mode. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956

Re: Varnish Prefetch

2010-01-24 Thread Paras Fadte
Can anybody please respond to this query ? Thank you. On Fri, Jan 22, 2010 at 11:02 AM, Paras Fadte plf...@gmail.com wrote: Hi, Is prefetch by default enabled in varnish ? I have following in VCL . A value of -30 seconds would mean that the object would be checked 30 seconds before its

Varnish Prefetch

2010-01-21 Thread Paras Fadte
Hi, Is prefetch by default enabled in varnish ? I have following in VCL . A value of -30 seconds would mean that the object would be checked 30 seconds before its expiry time is reached to see if its modified on backend ? sub vcl_fetch { set obj.grace = 30s; if (!obj.cacheable) {

Re: Purging multiple requests

2010-01-11 Thread Paras Fadte
Is the following usage correct then ? *purge.url (/a/1.html|/b/2.html|/c/3.html)* On Mon, Jan 11, 2010 at 2:12 PM, Poul-Henning Kamp p...@phk.freebsd.dkwrote: In message 75cf5801001110036r5f3b2347g832e399cbe16f...@mail.gmail.com, Paras Fadte writes: Is it possible to purge a list of urls

Re: Varnish 503 Service unavailable error

2009-12-23 Thread Paras Fadte
Can anybody respond to this ? On Thu, Dec 17, 2009 at 5:47 PM, Paras Fadte plf...@gmail.com wrote: Hi, Sometimes I see following when using varnishlog *Interrupted b BackendOpen* What does it mean and under what condition(s) does it occur ? Thank you. -Paras On Fri, Nov 27, 2009

Re: Varnish 503 Service unavailable error

2009-11-26 Thread Paras Fadte
...@redpill-linpro.com wrote: ]] Paras Fadte | 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

Re: Varnish 503 Service unavailable error

2009-11-11 Thread Paras Fadte
: ]] 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

Re: Varnish 503 Service unavailable error

2009-08-18 Thread Paras Fadte
, Aug 13, 2009 at 2:50 PM, Tollef Fog Heentfh...@redpill-linpro.com wrote: ]] Paras Fadte | I have tried setting the first_byte_timeout value to 300 but still | sometimes receive the 503 error . Should I increase the | connect_timeout value ? would that help ? Its default value is 0.4 | seconds

Re: Varnish 503 Service unavailable error

2009-08-13 Thread Paras Fadte
(unlock) esi_errors 0 0.00 ESI parse errors (unlock) On Thu, Aug 13, 2009 at 2:50 PM, Tollef Fog Heentfh...@redpill-linpro.com wrote: ]] Paras Fadte | I have tried setting the first_byte_timeout value to 300 but still | sometimes receive the 503 error . Should I increase

Syntax change

2009-04-01 Thread Paras Fadte
Hi, I downloaded varnish from trunk and installed it but when tried to restart it using the previous version .vcl file it gave following error. Message from VCC-compiler: Variable 'obj.cacheable' not accessible in method 'vcl_fetch'. Where can I get syntax change . Is it listed on varnish site

Syntax change : obj.grace

2009-04-01 Thread Paras Fadte
Hi, Is obj.grace now changed to beresp.grace for the code in varnish trunk ? Also is it necessary to have return in the .vcl confg file ? Example return(pass) or just pass would be sufficient ? Thank you. -Paras ___ varnish-misc mailing list

Re: Fwd: Panic message : Varnish restart

2009-03-16 Thread Paras Fadte
,,0x2aaab6398358,(nil),+7336}, }, }, len = 0, store = { }, }, }, Thank you. -Paras On Sun, Jan 11, 2009 at 4:55 PM, Poul-Henning Kamp p...@phk.freebsd.dk wrote: In message 75cf5800901090422g7c28e7car4583ad1abdeeb...@mail.gmail.com, Paras  Fadte writes: Can anybody please

Re: Varnish hangs / requests time out

2009-03-05 Thread Paras Fadte
I too have encountered varnish hanging many times . On Wed, Mar 4, 2009 at 10:46 AM, Ross Brown r...@trademe.co.nz wrote: Hi all We are hoping to use Varnish for serving image content on our reasonably busy auction site here in New Zealand, but are having an interesting problem during

Unknown variable 'obj.prefetch'

2009-02-27 Thread Paras Fadte
Hi, I downloaded varnish from trunk(Revision3832) and after installation when trying to start it , it gives error saying Unknown variable 'obj.prefetch' which is defined in varnish.vcl file . It worked fine for 2.0.2 Has obj.prefetch been removed ? Thank you. -Paras

Re: Unknown variable 'obj.prefetch'

2009-02-27 Thread Paras Fadte
So its no longer supported but it never did any function also ? -Paras On Fri, Feb 27, 2009 at 4:44 PM, Tollef Fog Heen tfh...@redpill-linpro.com wrote: ]] Paras Fadte | I downloaded varnish from trunk(Revision3832) and after installation | when trying to start it , it gives error  saying

Re: Unknown variable 'obj.prefetch'

2009-02-27 Thread Paras Fadte
Whats functionality was it supposed to provide ? On Fri, Feb 27, 2009 at 4:46 PM, Paras Fadte plf...@gmail.com wrote: So its no longer supported but it never did any function also ? -Paras On Fri, Feb 27, 2009 at 4:44 PM, Tollef Fog Heen tfh...@redpill-linpro.com wrote: ]] Paras Fadte

Re: Caching details of objects in varnish...

2009-02-11 Thread Paras Fadte
http://varnish.projects.linpro.no/wiki/FAQ On Tue, Feb 10, 2009 at 11:22 PM, Jeff Anderson j...@funnyordie.com wrote: Actually yes query stripping is what I want to do on the inbound request not on the fetch. My mistake for not being clear. On Feb 10, 2009, at 1:39 AM, Paras Fadte wrote

Re: Caching details of objects in varnish...

2009-02-10 Thread Paras Fadte
query stripping ? On Thu, Feb 5, 2009 at 10:05 PM, Jeff Anderson j...@funnyordie.com wrote: Is there a way in VCL to cache just the base html of a page without its parameters? For example: /advertproviderformat.html?provider=2342342foo=3434bar=34213142 Is the entire url cached or just the

Re: [varnish] renaming varnish concepts...

2009-01-28 Thread Paras Fadte
Why is it not possible to purge a URL from CLI for a particular host ? -Paras On Wed, Jan 28, 2009 at 6:40 PM, Ricardo Newbery r...@digitalmarbles.com wrote: On Jan 28, 2009, at 4:30 AM, Poul-Henning Kamp wrote: In message, Ricardo Newbery writes: On Jan 28, 2009, at 4:19 AM, Poul-Henning

Purging contents

2009-01-21 Thread Paras Fadte
Hi, When purging object from varnish cache from command line it always tends to show 200 0 as the status code even if the object was not there in cache ? What could be the reason ? Thank you. -Paras ___ varnish-misc mailing list

Re: Purging contents

2009-01-21 Thread Paras Fadte
75cf5800901210302m5fc06acbh2334b0d90df7a...@mail.gmail.com, Paras Fadte writes: Hi, When purging object from varnish cache from command line it always tends to show 200 0 as the status code even if the object was not there in cache ? What could be the reason ? 200 means the purge went well, and 0

Re: Purging contents

2009-01-21 Thread Paras Fadte
, Poul-Henning Kamp p...@phk.freebsd.dk wrote: In message 75cf5800901210319j1a2741bdp171bdffad920b...@mail.gmail.com, Paras Fadte writes: Does that mean that vcl_miss in this part of the documentation never would be run? http://varnish.projects.linpro.no/wiki/VCLExamplePurging Well

Re: Purging contents

2009-01-21 Thread Paras Fadte
telnet to varnish listen port (not the management port) it seems to close the connection after about 4-5 seconds automatically. what could be the issue ? Telnetting to management port works fines. Thanks. -Paras On Wed, Jan 21, 2009 at 8:22 PM, Paras Fadte plf...@gmail.com wrote: Hi Poul, Can

Re: Purging contents

2009-01-21 Thread Paras Fadte
Thanks Poul. On Thu, Jan 22, 2009 at 1:05 PM, Poul-Henning Kamp p...@phk.freebsd.dk wrote: In message 75cf5800901212121k6647747bg31877e8b1d512...@mail.gmail.com, Paras Fadte writes: should it have else so that it becomes sub vcl_recv { if (req.request == PURGE

Re: Fwd: Panic message : Varnish restart

2009-01-15 Thread Paras Fadte
Thanks Poul. On Sun, Jan 11, 2009 at 4:55 PM, Poul-Henning Kamp p...@phk.freebsd.dk wrote: In message 75cf5800901090422g7c28e7car4583ad1abdeeb...@mail.gmail.com, Paras Fadte writes: Can anybody please respond to the following query of mine ? I belive I fixed that yesterday in r3500

Fwd: Panic message : Varnish restart

2009-01-09 Thread Paras Fadte
Hi, Can anybody please respond to the following query of mine ? Thank you. -Paras -- Forwarded message -- From: Paras Fadte plf...@gmail.com Date: Fri, Jan 2, 2009 at 10:07 AM Subject: Panic message : Varnish restart To: varnish-misc@projects.linpro.no varnish-misc

Panic message : Varnish restart

2009-01-01 Thread Paras Fadte
Hi, I got a message like following in /var/log/messages and child restarted. what could be the issue ? varnishd[28876]: Child (31253) Panic message: Missing errorhandling code in fetch_chunked(), cache_fetch.c line 113: Condition(be bp) not true. thread = (cache-worker)sp = 0x2aabd2970008 {

Varnish hangs .

2008-12-29 Thread Paras Fadte
Hi, I have encountered a strange problem with varnish wherein it just hangs and stops responding to http requests even though it is in running state . The backends run without issue , one can telnet to varnish console also . What could be the issue ? I had downloaded varnish from trunk also to

Re: Strange varnish behavior - not answering requests

2008-12-24 Thread Paras Fadte
Hi all, I have also encountered similar issue 3-4 times but don't know the exact reason. Could this be useful http://varnish.projects.linpro.no/ticket/55 ? Thank you. -Paras On Wed, Dec 3, 2008 at 6:02 PM, Grasmo, Johan johan.gra...@allerinternett.no wrote: Hi, We're tired of squid and

Re: varnish2.0.2 on Suse 10.3

2008-12-24 Thread Paras Fadte
Downloaded it from trunk and it seems to start without any issues now. On Mon, Dec 1, 2008 at 6:03 PM, Per Buer pe...@linpro.no wrote: Tollef Fog Heen skrev: ]] Paras Fadte | child (28673) Started | Pushing vcls failed: Internal error: No VCL_conf symbol It seems to fail to load

Origin server aborts

2008-12-23 Thread Paras Fadte
Hi, How do we minimize origin server aborts ? if a request is legitimate and if varnish refers the request back to a backend and if the backend or the origin server doesn't reply would that result in origin abort ? What could be the reason for such origin abort ? thank you. -Paras

Re: sendfile() and Varnish2.0.2

2008-12-03 Thread Paras Fadte
: In message [EMAIL PROTECTED], Paras Fadte writes: Thanks for the response , I would like to know how can one minimize the overflowed work requests ? overflowed work requests are not bad per se, they are the signal we need to increase the worker thread pool. it's the dropped requests you want

Re: sendfile() and Varnish2.0.2

2008-12-03 Thread Paras Fadte
[EMAIL PROTECTED], Paras Fadte writes: Hi Poul, Thanks for the response. So thread_pools parameter should be increased or the thread_pool_max or both should be increased ? Currently I have thread_pools as 4 and thread_pool_max as 750 You should only increase thread_pools if you have

Re: Varnish Performance Issue

2008-12-03 Thread Paras Fadte
, 2008 at 3:43 PM, Poul-Henning Kamp [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], Paras Fadte writes: I am faced with following performace issue with respect to Varnish. Load on Varnish increases suddenly at times. When this happens , varnishhist shows a high number of misses

Re: Varnish Performance Issue

2008-12-03 Thread Paras Fadte
Hi Poul, What I wanted to know was whether the sudden spikes would be caused due to cache management by varnish which it could be doing periodically? Thank you. -Paras On Wed, Dec 3, 2008 at 4:07 PM, Poul-Henning Kamp [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], Paras Fadte

small free smf

2008-12-03 Thread Paras Fadte
Hi, What does small free smf shown by varnishstat represent ? I see substantial increase at times and the CPU usage increases. Thank you. -Paras ___ varnish-misc mailing list varnish-misc@projects.linpro.no

sendfile() and Varnish2.0.2

2008-12-02 Thread Paras Fadte
Hi , Are there issues associated with using sendfile() in varnish2.0.2 ? Does varnish 2.0.2 use sendfile() by default ? I have read that currently it supports sendfile() only on FreeBSD or does it support OS like SUSE LINUX 10.1 (X86-64) and Kernel 2.6.16.13-4-smp ? I also tend to see increase

sendfile() and Varnish2.0.2

2008-12-02 Thread Paras Fadte
Hi , Are there issues associated with using sendfile() in varnish2.0.2 ? Does varnish 2.0.2 use sendfile() by default ? I have read that currently it supports sendfile() only on FreeBSD or does it support OS like SUSE LINUX 10.1 (X86-64) and Kernel 2.6.16.13-4-smp ? I also tend to see increase

Re: sendfile() and Varnish2.0.2

2008-12-02 Thread Paras Fadte
Thanks for the response , I would like to know how can one minimize the overflowed work requests ? On Tue, Dec 2, 2008 at 11:39 PM, Poul-Henning Kamp [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], Norikatsu Shigemura w rites: What is the difference between FreeBSD 8 and 7?

Varnish Performance Issue

2008-12-02 Thread Paras Fadte
Hi, I am faced with following performace issue with respect to Varnish. Load on Varnish increases suddenly at times. When this happens , varnishhist shows a high number of misses and the cache hit ratio decreases and the response time increases. Also there is a gradual increase in the number of

Re: varnish2.0.2 on Suse 10.3

2008-12-01 Thread Paras Fadte
] wrote: Tollef Fog Heen skrev: ]] Paras Fadte | child (28673) Started | Pushing vcls failed: Internal error: No VCL_conf symbol It seems to fail to load the configuration, probably because the .so with the configuration ends up stripped. Why that happens, I have no idea. It seems

Re: varnish2.0.2 on Suse 10.3

2008-12-01 Thread Paras Fadte
Would be happy if Poul-Henning Kamp can put some light on this issue . On Mon, Dec 1, 2008 at 3:41 PM, Tollef Fog Heen [EMAIL PROTECTED] wrote: ]] Paras Fadte | child (28673) Started | Pushing vcls failed: Internal error: No VCL_conf symbol It seems to fail to load the configuration

Round robin mode

2008-11-23 Thread Paras Fadte
Hi, In varnish , when a director is specified of type round-robin , it will skip an unhealthy backend , till it is not back healthy, is that correct ? varnish version is 2.0.2 -Paras ___ varnish-misc mailing list varnish-misc@projects.linpro.no

Re: Overflowed work requests

2008-11-23 Thread Paras Fadte
CPU is Quad core , Intel(R) Xeon(R) CPU E5430 @ 2.66GHz On Sun, Nov 23, 2008 at 11:39 PM, Michael S. Fischer [EMAIL PROTECTED] wrote: How many CPUs (including all cores) are in your systems? --Michael On Nov 20, 2008, at 12:06 PM, Michael wrote: Hi, PF What does overflowed work

varnish2.0.2 on Suse 10.3

2008-11-20 Thread Paras Fadte
Hi, I have installed varnish 2.0.2 on openSUSE 10.3 (X86-64) , but it doesn't seem to start and I get VCL compilation failed message. What could be the issue ? Thanks in advance. -Paras ___ varnish-misc mailing list varnish-misc@projects.linpro.no

Re: varnish2.0.2 on Suse 10.3

2008-11-20 Thread Paras Fadte
, 2008 at 1:34 AM, Paras Fadte [EMAIL PROTECTED] wrote: Hi, I have installed varnish 2.0.2 on openSUSE 10.3 (X86-64) , but it doesn't seem to start and I get VCL compilation failed message. What could be the issue ? Thanks in advance. -Paras

sudden Increase in load on server running varnish

2008-11-18 Thread Paras Fadte
Hi, I have been trying my hand at varnish , which although most of the times tends to run without much of an issue, after running it for about 6-7 hours there seems to be sudden increase in load on the server with CPU usage going upto 100% and the number of worker threads increasing to about 500

Removing Headers

2008-11-18 Thread Paras Fadte
Hi, Can response headers like X-Varnish and Via be removed ? Thank you. -Paras ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Removing Headers

2008-11-18 Thread Paras Fadte
Thanks Stig. On Tue, Nov 18, 2008 at 2:14 PM, Stig Sandbeck Mathisen [EMAIL PROTECTED] wrote: On Tue, Nov 18, 2008 at 01:54:58PM +0530, Paras Fadte wrote: Hi, Can response headers like X-Varnish and Via be removed ? Yes The subroutine you are looking for is vcl_deliver, the headers

Overflowed work requests

2008-11-18 Thread Paras Fadte
Hi, What does overflowed work requests in varnishstat signify ? If this number is large is it a bad sign ? Thank you. -Paras ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc