Re: save cache on exit?

2007-12-04 Thread Luke Macpherson
If it has segfaulted, you'd have no guarantee it was in a consistent
state, and so reusing the mmap-ed file would be a bad idea.

On 12/5/07, Corin Langosch <[EMAIL PROTECTED]> wrote:
>
>  The problem is that varnishd segfaults from time to time. It then has to
> grep all GBs from the backends again. For a hot restart this might be good
> to have too (after server upgrade, server failure, ..).
>
>  Stig Sandbeck Mathisen schrieb:
>  Corin Langosch <[EMAIL PROTECTED]> writes:
>
>
>
>  How can I tell varnish to save the cached data to disk at shutdown?
>
>  That is not possible.
>
> However, you can reconfigure Varnish at runtime, so there should be
> little reason to shutdown a varnish process once it is in production.
>
>
>
> ___
> 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: save cache on exit?

2007-12-04 Thread Corin Langosch
The problem is that varnishd segfaults from time to time. It then has to 
grep all GBs from the backends again. For a hot restart this might be 
good to have too (after server upgrade, server failure, ..).


Stig Sandbeck Mathisen schrieb:

Corin Langosch <[EMAIL PROTECTED]> writes:

  

How can I tell varnish to save the cached data to disk at shutdown?



That is not possible.

However, you can reconfigure Varnish at runtime, so there should be
little reason to shutdown a varnish process once it is in production.

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


Re: Re: Varnish and HTTPS

2007-12-04 Thread Caleb Anthony
You could use pound as an HTTPS front-end for varnish (or anything else too).

http://www.apsis.ch/pound/

It works quite well. I believe that Slashdot uses it as thier HTTP front-end.

On 12/4/07, Erik <[EMAIL PROTECTED]> wrote:
> Thanks for the info but I did just wondered if varnish pass it to the backend 
> or if it drops the request. I did some tests and it seems like it passes the 
> request to the backend.
>
> BTW, what program may I use to have https2http? Isn't https encrypted?
>
> / Erik
>
> Original Message ---
> Erik <[EMAIL PROTECTED]> writes:
>
> > I know that Varnish doesn't handle https. But what if the request is
> > in https?  Would varnish pass it to the backend or just drop it?
>
> It would not be a normal HTTP request, so Varnish would not try to
> handle it.  You could place a https to http gateway between your users
> and varnish, so varnish can accelerate the http traffic.  The pipeline
> would look like this:
>
> Duh Internet - https2http gw - varnish - http server
>
> --
> Stig Sandbeck Mathisen, Linpro
>
> ___
> 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 and HTTPS

2007-12-04 Thread Damien Wetzel
Hello all,
is https handling planned somewhere in the roadmap ?
thanks,

Stig Sandbeck Mathisen writes:
 > Erik <[EMAIL PROTECTED]> writes:
 > 
 > > I know that Varnish doesn't handle https. But what if the request is
 > > in https?  Would varnish pass it to the backend or just drop it?
 > 
 > It would not be a normal HTTP request, so Varnish would not try to
 > handle it.  You could place a https to http gateway between your users
 > and varnish, so varnish can accelerate the http traffic.  The pipeline
 > would look like this:
 > 
 > Duh Internet - https2http gw - varnish - http server
 > 
 > -- 
 > Stig Sandbeck Mathisen, Linpro
 > ___
 > 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: Re: Varnish and HTTPS

2007-12-04 Thread Erik
Thanks for the info but I did just wondered if varnish pass it to the backend 
or if it drops the request. I did some tests and it seems like it passes the 
request to the backend. 

BTW, what program may I use to have https2http? Isn't https encrypted? 

/ Erik

Original Message ---
Erik <[EMAIL PROTECTED]> writes:

> I know that Varnish doesn't handle https. But what if the request is
> in https?  Would varnish pass it to the backend or just drop it?

It would not be a normal HTTP request, so Varnish would not try to
handle it.  You could place a https to http gateway between your users
and varnish, so varnish can accelerate the http traffic.  The pipeline
would look like this:

Duh Internet - https2http gw - varnish - http server

-- 
Stig Sandbeck Mathisen, Linpro

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


Re: Varnish and HTTPS

2007-12-04 Thread Stig Sandbeck Mathisen
Erik <[EMAIL PROTECTED]> writes:

> I know that Varnish doesn't handle https. But what if the request is
> in https?  Would varnish pass it to the backend or just drop it?

It would not be a normal HTTP request, so Varnish would not try to
handle it.  You could place a https to http gateway between your users
and varnish, so varnish can accelerate the http traffic.  The pipeline
would look like this:

Duh Internet - https2http gw - varnish - http server

-- 
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Varnish and HTTPS

2007-12-04 Thread Erik
Hi,

I know that Varnish doesn't handle https. But what if the request is in https? 
Would varnish pass it to the backend or just drop it?

/ Erik

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


Re: save cache on exit?

2007-12-04 Thread Stig Sandbeck Mathisen
Corin Langosch <[EMAIL PROTECTED]> writes:

> How can I tell varnish to save the cached data to disk at shutdown?

That is not possible.

However, you can reconfigure Varnish at runtime, so there should be
little reason to shutdown a varnish process once it is in production.

-- 
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


save cache on exit?

2007-12-04 Thread Corin Langosch
Hello,

I'm using vanish for some days now and really like it.

My only problem is: how can I tell varnish to save the cached data
to disk at shutdown? Currently it seems to start with an empty cache
at each restart. I'm already using file-based storage, but it does not
seem to store anything on disc.

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