Re: Question about threads

2008-06-24 Thread Erik Torlen
age <[EMAIL 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

Re: Question about threads

2008-06-23 Thread Erik Torlen
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% . Any idea what could be wrong? / E [EMAIL

Re: Strange Opera error in POST

2008-06-09 Thread Erik Torlen
set req.http.Connection = "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

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&qu

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: 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: 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 > b

Re: Deliver ReqEnd in http header

2008-02-27 Thread Erik Torlen
But we could take those timestamps that we would be able to compose before the transmission of headers :) This would be cool to have. Is it alot of code to implent? Can I as a "almost-a-newbie" go into the code? :P / Erik Poul-Henning Kamp skrev: > In message <[EMAIL PROTECTED]>, Erik writes:

Re: Using varnish

2008-02-13 Thread Erik Torlen
Do you just want to know a swedish newspaper that's using varnish? If so, Aftonbladet and SvD is both using varnish. / Erik Anders Vännman skrev: > Hi, > > We are in the process of evaluating Varnish as an alternative for Squid > for our sites. We have got an internal varnish up and running and

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 wa

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 IP

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: > >

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

varnishstat vs. telnet stats

2007-09-17 Thread Erik Torlen
Hi! I still have problems with varnish and its cache. Its configured to listen on port 80 which it does fine. My webserver is set to listen on port 8080 and the backend on varnish is configured to: backend default { set backend.host = "127.0.0.1"; set backend.port = "8080"; } No

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 doesn'