Problems with the cache

2007-09-11 Thread Erik Torlen
Im trying to get varnish running smoothly on my server with apache on it. Unforunately Im having some problems to get the caching thing working. I have set varnishd to use default.vcl on a Debian 4.0 etch OS. it starts up without any problem but doesn't cache anything. Also the varnishlog

Re: varnishstat vs. telnet stats

2007-11-06 Thread Erik Torlen
Ok. Thanks for all your help mate ;) Erik - Original Message - From: Peter Oomen [EMAIL PROTECTED] To: Erik [EMAIL PROTECTED] Sent: Thursday, September 20, 2007 4:34 PM Subject: Re: varnishstat vs. telnet stats yes, cache hits mean hits from the cache.. On 9/20/07, Erik [EMAIL

Re: varnishtop hangs

2008-01-08 Thread Erik Torlen
Its not near an overload when it hangs. I do some requests against it and *poff*, varnishtop hangs and I can't even close it with ctrl+c. If you have any requests on some more info am more then glad to help. Cheers Erik Poul-Henning Kamp skrev: In message [EMAIL PROTECTED], Erik writes:

IP X-Forward-for

2008-01-31 Thread Erik Torlen
Hi, Im experiencing a strange problem when using varnish in front of apache2. I m running a php website where I log the client IP to the usertable in the database. I first check the Client IP to see if it is a valid IP, if not, I check the x-forward-for for a valid ip (I check for multiple IPs

Re: A few users see a blank page

2008-02-12 Thread Erik Torlen
Hi, I have seen the same behaviour on my Apache2 server with php5 installed. Many users got blank pages when navigating around the website. I couldn't figure out what the problem was so I simply removed varnish and the problem disappeared. Another problem I had was that php's X-FORWARDED-FOR

Re: Varnishlogging

2008-03-03 Thread Erik Torlen
Well C then :P Dag-Erling Smørgrav skrev: Erik [EMAIL PROTECTED] writes: Ah ok, I see :( Unfortunately i'm not a c++ guru so I can just cross my fingers and hope that some handy guy writes a patch. Actually, there isn't a single line of C++ code in Varnish. You must be thinking

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).

Re: Strange Opera error in POST

2008-06-09 Thread Erik Torlen
Ok, I have gathered some more info about the problem. What I have is a form login that has 3 input fields, username, password and security code (from captcha). When opera is making the POST it receives a 200 OK and NOT a 302 Moved Temp. as expected. This is the request that Opera is making:

Re: Strange Opera error in POST

2008-06-09 Thread Erik Torlen
: In message [EMAIL PROTECTED], Erik Torlen writes: My vcl has this code when POST are received: if(req.request != GET req.request != HEAD) { set req.http.Connection = close; pass; } This code usually works with FF and IE but NOT with Opera. If I

Re: Strange Opera error in POST

2008-06-09 Thread Erik Torlen
= close; pass; } This works! But I must remove BOTH Cookie2 and TE header, else it wont work. / Duja Poul-Henning Kamp skrev: In message [EMAIL PROTECTED], Erik Torlen writes: My vcl has this code when POST are received: if(req.request != GET req.request

Re: Question about threads

2008-06-24 Thread Erik Torlen
PROTECTED], Erik Torlen writes: I still have the same problem :( The threads are created up to 238 where they are stopped, even if I set threads_max = 1000 and threads_pools = 2 (or 3). I also tested the tips and decreased the stack sixe to 512 and increased overflow_max to 1