varnishncsa of backend requests (changeset 4480)
Hi, Since http://varnish-cache.org/changeset/4480, we've lost the ability to view backend requests in varnishncsa. Is there a recommended work around? Can varnishlog be coaxed into spitting out similar information, or is there another solution? Thanks, Rob ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 2-4: invalid data
I am using django and I have a lot of this unicode error I didn't get before use varnish: http://dpaste.com/167139/ ~~~ handler.addQuickElement(upubDate, rfc2822_date(item['pubdate']).decode('utf-8')) File /usr/lib/python2.4/encodings/utf_8.py, line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode bytes in position 2-4: invalid data ~~~ This is my varnish configuration: http://dpaste.com/169807/ It's strange because I made HTTP_ACCEPT_CHARSET header to only utf-8, and I have only unicode. as you can see here: http://hobbygiochi.com/xml/cat/da-vinci-games the page works, but not always. Any hint? Thanks in advance. -- Alessandro Ronchi http://www.soasi.com SOASI - Sviluppo Software e Sistemi Open Source http://hobbygiochi.com Hobby Giochi, l'e-commerce del divertimento ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Change from Oracle WC to Varnish
Hi all, We are currently using Oracle Web cache on quite a big site. We have 18 cache servers and caching is done by reverse-proxy method. There is appr. 5 http req/s on our cache servers together. System is running Linux. Because Oracle licenses are quite expensive, we would like to know if Varnish could replace OWC on our site. I would be _very_ pleased if any of you could gimme comments and thougts about this. My main consern is if Varnish is or is not able to work in this kind of situation where we are using: - multiple ip-based virtual hosts (about 50) - multiple origin server pools of course - origin server polling to see if they are ok - both common and site-specific cache-rules - different kind of expiration policies - cookie-based and header-based personalization to cache multiple versions of some sites - origin server capacity throttling / limiting etc - caching both GET, Get with query strings and POST - have to have some kind of method to order caches to expire (clear) specific content immediately when asked So how is it - can Varnish be used or are we gonna have major problems or limitations? Thank you, Harri from Finland ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Moving varnish-cache.org tomorrow
Hi, We'll be moving varnish-cache.org tomorrow, Wednesday 2010-03-10 at about 11:00 CET. The site will be unavailable for about 5 (or 30) minutes while we move it. We'll be getting a newer trac version but other than that there should be no user-noticeable changes. At the same time the mailing lists will change address to * varnish-annou...@varnish-cache.org * varnish-b...@varnish-cache.org * varnish-com...@varnish-cache.org * varnish-...@varnish-cache.org * varnish-d...@varnish-cache.org * varnish-m...@varnish-cache.org * varnish-t...@varnish-cache.org All subscriptions will be moved as is, and all user settings will be preserved. The old addresses will work for quite a long time. The nntp gating to nntp.linpro.no will end at that time. If you have been reading the lists there and want to continue reading them please subscribe by email. The SVN repository will be off-line for the duration of the move to ensure that we copy a consistent repository. Regards, Nicolai Langfeldt on behalf of Varnish Software AS ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Re: Number of cached objects
In message c98122ba1003091910y6de964beue598f69b406a9...@mail.gmail.com, Brad Schick writes: Its not clear to which field is the number of cache entries. Perhaps shm_records? You want n_object -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | 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
Re: Number of cached objects
On Mar 9, 2010, at 9:30 PM, Poul-Henning Kamp wrote: In message c98122ba1003091910y6de964beue598f69b406a9...@mail.gmail.com, Brad Schick writes: Its not clear to which field is the number of cache entries. Perhaps shm_records? You want n_object Thanks. It would be nice if the output of varnishstat -l gave a bit more info. Currently the descriptions aren't really any more descriptive than the field names. I would not likely have guessed the N struct object is the number of cached objects. Also unclear what the difference is between sm, sma, sms, etc. -Brad ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Re: varnishncsa of backend requests (changeset 4480)
]] Rob S | Since http://varnish-cache.org/changeset/4480, we've lost the ability to | view backend requests in varnishncsa. Yes, it didn't work properly, so we disabled it until we can provide the information properly. | Is there a recommended work around? Can varnishlog be coaxed into | spitting out similar information, or is there another solution? If you need it and are ok with the limitations, just revert the patch locally? -- 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
varnishtop stdin
It would be a nice feature if varnishtop accepted input from stdin, then I could do something like the following to easily get a view on the most missed urls: varnishlog -c -o VCL_call ^miss | varnishtop -i RxUrl I assume I could do this by using varnishlog to write to a file and varnishtop to read it, but then I'd end up with huge files that need cleaning. -Brad ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc