Problems with revision 1643.

2007-07-05 Thread Anup Shukla
Hi All, A few things are causing trouble in r1463 Varnish always uses uid nobody and gid nogroup. i did this: #useradd varnish #varnishd -u varnish -g varnish But, it still complained about group: nogroup not being present. I added a group nogroup, just to keep varnish happy. Varnish

Re: Varnish Dirty Caching

2007-07-05 Thread Anton Stonor
Poul-Henning Kamp wrote: The critical question is how we define backend is down and how fast and efficient we can detect it. Ideas for how to express it in VCL are very welcome. Maybe naive: # First, we setup decide how to sniff that a backend is down # # options_ping: Send a HTTP OPTIONS

Re: Post requests

2007-07-05 Thread Dag-Erling Smørgrav
André Cruz [EMAIL PROTECTED] writes: I'm having problems with POST requests. They reach varnish but nothing happens and the backend is not contacted. I see this in the log: 11 SessionOpen c 10.134.145.2 51721 ... 11 Debugc Pipe Shut read(read) 11 Debugc Pipe

Re: logging problems - Pipe Shut

2007-07-05 Thread Gaute Amundsen
Ah, OK, you won't be able to process log files larger than about 2 GB on a 32-bit machine. I should probably figure out a way to get around that. Ok, now I have set up /var/log/varnish/varnish.log to rotate every hour, and a postrotate action on that to pipe through varnishncsa and append

Re: Mac and regular expressions

2007-07-05 Thread Dag-Erling Smørgrav
Martin Aspeli [EMAIL PROTECTED] writes: I think I'm being bitten by a bug related to Mac OS X (10.4) and regular expressions. Looks like MacOS's libc lacks the POSIX regexp API. Unfortunately, until we manage to get hold of a MacOS box to test on, there isn't much we can do to fix the build.

Mac and regular expressions

2007-07-05 Thread Martin Aspeli
Hi, I think I'm being bitten by a bug related to Mac OS X (10.4) and regular expressions. I've build Varnish using MacPorts, and also tried to build manually. To get it to build manually, I've had to apply this patch: http://projects.linpro.no/pipermail/varnish-misc/2007-June/000485.html The

Re: Mac and regular expressions

2007-07-05 Thread Martin Aspeli
Buy a Mac Mini? :) I can help you test if you can give me instructions. My C skills are perhaps a bit rusty, but I can definitely make it build and try out things. Just from a quick Google, http://developer.apple.com/documentation/Darwin/Reference/Manpages/man3/regex.3.html seems to suggest that

Re: logging problems - Pipe Shut

2007-07-05 Thread Dag-Erling Smørgrav
Gaute Amundsen [EMAIL PROTECTED] writes: I made a small script to run varnish(log|ncsa) on every file and get the returnstatus. log works fine, and a tail of that diplays sensible output and timestamps, but ncsa segfaults on about half of them. No pattern discernible.. Can you send me one of

Re: Mac and regular expressions

2007-07-05 Thread Dag-Erling Smørgrav
Dag-Erling Smørgrav [EMAIL PROTECTED] writes: I'd rather say until the core developers get their hands on a Mac, which may happen in a variety of ways. Linpro is an Apple partner, so we may be able to get a good price. (of course, I'd prefer an XServe or some other 64-bit model, but they cost

Re: Mac and regular expressions

2007-07-05 Thread Dag-Erling Smørgrav
Martin Aspeli [EMAIL PROTECTED] writes: Buy a Mac Mini? :) Sure, what's your credit card number again? :) I can help you test if you can give me instructions. I don't want code in the repo that I can't test myself, or at least build. DES -- Dag-Erling Smørgrav Senior Software Developer

Re: Mac and regular expressions

2007-07-05 Thread Dag-Erling Smørgrav
Martin Aspeli [EMAIL PROTECTED] writes: That's a shame. So what we're saying is that Varnish at this point doesn't really support Mac OS X correct and won't unless someone donates a Mac to the core developers? I'd rather say until the core developers get their hands on a Mac, which may

Away

2007-07-05 Thread Dag-Erling Smørgrav
I'll be away tomorrow and all of next week, with only sporadic Internet connectivity. I trust Poul-Henning will take good care of you all while I'm gone :) DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc

Regarding url purging

2007-07-05 Thread André Cruz
Hello. I'm caching pages from different vhosts, say x.com and y.com. If I want to purge all the data from one of the vhosts how do I do it? url.purge x.com.* does not work. I'm a bit confused with the syntax since the wiki only talks about paths and not complete URLs. Thanks for the help,

Re: Regarding url purging

2007-07-05 Thread Gaute Amundsen
On Thursday 05 July 2007 19:39, André Cruz wrote: Hello. I'm caching pages from different vhosts, say x.com and y.com. If I want to purge all the data from one of the vhosts how do I do it? url.purge x.com.* does not work. I'm a bit confused with the syntax since the wiki only talks about

Q: multiple backends

2007-07-05 Thread Christoph
Hi, are there any plans to include support for multiple backends in varnish? It would be great to have either fault-tolerance and/or simple load-balancing. It could be integrated to the proposed backend.down extension. Greetings Christoph ___

Re: Regarding url purging

2007-07-05 Thread Gaute Amundsen
On Thursday 05 July 2007 20:30, André Cruz wrote: On 2007/07/05, at 19:13, Gaute Amundsen wrote: That's not easily done, as far as I have been able to determine. I've submitted a feature request for it.. Where is it so that I can vote for it? :) Do you know if it's targeted for 1.1?

Re: logging problems - Pipe Shut

2007-07-05 Thread Gaute Amundsen
That did the trick for the processing :-D Only the logging itself left then. With som luck logger restarts on logrotate every hour will keep that stable til 1.1 is out :-) Gaute On Thursday 05 July 2007 20:20, Gaute Amundsen wrote: On Thursday 05 July 2007 17:18, Dag-Erling Smørgrav wrote: