Re: 503 errors using Citrix Netscaler

2009-01-15 Thread Pablo García
Look at the logs in the netscaler for service or vserver down, it seems to
me that the vserver you're pointing the varnish to, is going up and down and
that's why the 503 response from the netscaler.

Regards, Pablo


On Thu, Jan 15, 2009 at 5:08 AM, Naama Bamberger  wrote:

>  We're using Varnish 2.0.1 on our site, with Citrix Netscaler between
> Varnish and our Apache Web machines.
>
> We're getting hundreds of sporadic 503 errors an hour.
>
> When I let Varnish round-robin between our web machines, bypassing the load
> balancer, the problem disappears.
>
> (We don't want to use this as a permanent solution, though, for failover
> and maintenability reasons).
>
>
>
> Are there any known issues regarding Varnish and Citrix Netscaler?
>
>
>
> Thanks,
>
> Naama
>
> ___
> varnish-misc mailing list
> varnish-misc@projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/varnish-misc
>
>
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: Dropping some mailing lists?

2009-01-12 Thread Pablo García
Agree

On Fri, Jan 9, 2009 at 10:37 AM, Tollef Fog Heen  wrote:

>
> (Please reply only to -misc so we don't end up with a zillion copies of
> this all over the lists.)
>
> Hi,
>
> we currently have very many mailing lists:
>
> varnish-announceRelease announcements and other important news.
> varnish-bugsBug reports go here.
> varnish-commit  Commit messages go here.
> varnish-dev Discussions regarding Varnish development.
> varnish-distDiscussions regarding Varnish releases and packaging
> varnish-miscDiscussions on miscellaneous topics relating to Varnish
> varnish-testFor testing purposes.
>
> At the same time, we don't have that much traffic, so having a total of
> seven mailing lists seem a bit excessive.
>
> I suggest we get rid of -dev, -dist and -test.  -announce and -misc will
> be kept as discussion lists.  -bugs and -commit will continue as
> trac-to-email lists (i.e. not discussion lists).
>
> Comments?
>
> --
> 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
>
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: Varnish ALWAYS getting index from backend

2008-12-09 Thread Pablo García
Have you removed expires header ? Also, you removed those headers, but
do you specify any expiration ?

Regards, Pablo

2008/12/9, Tomasz Leszczyński <[EMAIL PROTECTED]>:
> Headers from backend (connect directly to backend):
>
> HTTP/1.x 200 OK
> Date: Tue, 09 Dec 2008 21:42:54 GMT
> Server: Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-18
> X-Powered-By: PHP/4.3.10-18
> Set-Cookie: CMS_Session=95775f09228158a4a0e16a617d8c2372; path=/
> Expires: Thu, 19 Nov 1981 08:52:00 GMT
> Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
> pre-check=0
> Pragma: no-cache
> Keep-Alive: timeout=15, max=100
> Connection: Keep-Alive
> Transfer-Encoding: chunked
> Content-Type: text/html; charset=iso-8859-2
>
>
>
> I try remove cookies... not work. Removing Cache-Control, pragma etc. in
> vcl_fetch subroutine - not effect.
>
>
> Line from varnishncsa -b:
>
> 192.168.3.34 - - [09/Dec/2008:21:49:00 +] "GET http://192.168.3.34/
> HTTP/1.1" 200 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl;
> rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4"
>
> (rows are broken)
>
> Backend is SLOW. Very slow.
>
>
> ___
> varnish-misc mailing list
> varnish-misc@projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/varnish-misc
>
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: Varnish caching issues, cache size, expires, cache resets, whatsgoing on?

2008-05-12 Thread Pablo García
Demitrious, before performing the same recompilation on the other
server, try to set the /proc/sys/vm/swappiness to 10, or to 0 that
should reduce the natural behavior of Linux to send data to swap.

Hope this helps.

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


Re: recommendation for swap space?

2008-04-08 Thread Pablo García
Sacha, try to modify the /proc/sys/vm/swappiness it's on 60 (default),
I reduce it to 20 or even 0, on my oracle cluster, to prevent
important process from being swapped.

Regards, Pablo

On Tue, Apr 8, 2008 at 5:51 AM, Sascha Ottolski <[EMAIL PROTECTED]> wrote:
> Am Montag 07 April 2008 18:00:14 schrieb Dag-Erling Smørgrav:
>
> > Sascha Ottolski <[EMAIL PROTECTED]> writes:
>  > > now that my varnish processes start to reach the RAM size, I'm
>  > > wondering what a dimension of swap would be wise? I currently have
>  > > about 30 GB swap space for 32 GB RAM, but am wondering if it could
>  > > even make sense to have no swap at all? My cache file is 517 GB in
>  > > size.
>  >
>  > Varnish does not use swap.
>  >
>  > DES
>
>  hmm, then I'm wondering why my machines do swap quite a bit. It's a
>  almost naked linux, the only processes really doing some work are
>  varnishd and varnishlog.
>
>  I have 32 GB of RAM, 30 GB of swap, and 517 GB of cache file. according
>  to "top", varnishd has a resident size of 25 GB, and almost 1,5 GB of
>  swap is in use. kswapd often shows up in "top".
>
>
>  # free
>  total   used   free sharedbuffers cached
>  Mem:  32969244   32874908  94336  0 108648   29129752
>  -/+ buffers/cache:3636508   29332736
>  Swap: 290454801473200   27572280
>
>
>  it's not worrying me, performance is brilliant, I'm just curious :-)
>
>
>  Thanks, Sascha
>
>
> ___
>  varnish-misc mailing list
>  varnish-misc@projects.linpro.no
>  http://projects.linpro.no/mailman/listinfo/varnish-misc
>
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: Custom error message

2007-08-13 Thread Pablo García
You can always customize your apache error page.

Regards, Pablo

On 8/13/07, Poul-Henning Kamp <[EMAIL PROTECTED]> wrote:
> In message <[EMAIL PROTECTED]>, Knut-Olav Hoven writes:
>
> >On Monday 13 August 2007 12:11:47 Dag-Erling Sm=F8rgrav wrote:
> >> Knut-Olav Hoven <[EMAIL PROTECTED]> writes:
> >> > How can I customize the error messages that Varnish return?
> >>
> >> Not easily; edit bin/varnishd/cache_synthetic.c and recompile.
> >
> >Ok.
> >
> >So I can't intercept the response in vcl, detect if the response code is 503
> >and then trigger a new 503 error with a different message or HTML code?
>
> You can change the status but not the HTML ... yet.
>
> We have ideas for this area, basically, you would detect the 503,
> edit req.url and restart the transaction with the new url.
>
> Not yet implemented however.
>
> We have also talked about being able to have local content on the
> varnish server, likely in the form of a .tar file, but this is also
> yet to be implemented.
>
>
> --
> Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
> [EMAIL PROTECTED] | 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
>
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc