recommendation for swap space?

2008-04-06 Thread Sascha Ottolski
Hi,

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.

BTW, the trunk seems to run stable, for 2,5 half days now!


Cheers,

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


Re: Directors user sessions

2008-04-06 Thread Erik Torlen
But the loadbalancing is already implenteed. I dont see why it shouldn't 
be used as loadbalancer if the functionality exists?
I don't want to use one place for all sessions, like a file share or 
something in that direction. Im thinking about creating
a Header that is called X-Backend: (a|b|c|d). This could be used to 
check what backend the user should use. Its really not
a nice way to do it but its a way of doing it.

Is there any idea that I could create a ticket for a feature like this?

/ Erik

Cherife Li skrev:
 On 2008-3-28 19:05, [EMAIL PROTECTED] wrote:
 Hi,

 I got a question regarding the Directors in varnish vcl. If user A is 
 logging in to http://mywebsite.com and the website is using varnish 
 (with directors) in front of 4 backend servers. The 4 backend servers 
 is identical.

 User A is logging in and hits server 1. He then goes to his profile 
 and hits server 2. The server 2 doesn't know that user A is logged
 and redirect him to some Not logged in-page.

 Is there any way for varnish to lookup which server that user A 
 should be directed to? Some kind of Sticky Session function?

 IMHO, Varnish is for caching, rather than for redirecting.
 Maybe you could consider HAProxy, or pound, or IPVS, or
 similar implementation.
 Besides, I know that sessions can be shared.

 / Erik

 ___
 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