--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
tens or hundreds of megabytes.
Though I found no core file after this. Please suggest what could I
do to trace it.
It will be in $localstatedir/varnish/$varnish_name (probably
/var/lib/varnish/`uname -n`)
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
With the changes I made last night and this morning, Mac OS X passes
all the tests that the other platforms also pass.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc
. If your site uses cookies, then
in most cases control will reach the lookup in the (req.request
== GET req.http.cookie) clause and the rest of vcl_recv()
will have no effect.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
, some of the regression tests fail, and
I haven't had time to look any deeper into the reason for that.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http
to the backend rather than cached. If you're
having trouble with the management and / or worker process crashing,
you should run varnish in the foreground (-d -d) to capture the error
messages (most likely assertion failures), and get a backtrace.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
dette raskt - 1.1.1 skal ut på mandag...
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
Dag-Erling Smørgrav [EMAIL PROTECTED] writes:
Ricardo Newbery [EMAIL PROTECTED] writes:
Not so fast. I still needed to update automake as per the
instructions on http://varnish.projects.linpro.no/wiki/Installation
(slightly modified since the autogen.sh file is now a little
different
Janis Putrams [EMAIL PROTECTED] writes:
On Thursday 09 August 2007 18:49, Dag-Erling Smørgrav wrote:
Janis Putrams [EMAIL PROTECTED] writes:
I had to modify Makefiles manually for it to find curses.h but that
could as well be problem on my side.
What OS are you running on, and where
Monty Ree [EMAIL PROTECTED] writes:
Is there any maximum object size limit at varnish which can save at
cache?
The size of the cache file.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
Janis Putrams [EMAIL PROTECTED] writes:
I had to modify Makefiles manually for it to find curses.h but that
could as well be problem on my side.
What OS are you running on, and where is your curses.h installed?
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
jean-marc pouchoulon [EMAIL PROTECTED] writes:
I've just upgraded to 1.1 and post request seems to be broken
It seems that positionnal args are not relayed by varnish 1.1
See ticket #129. I'll try to take a look at it this weekend.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro
%
of that, or ~11 GB.
The third message is a consequence of the aforementioned bug; Varnish
notices that ~11 GB is more than 2^31-1 and sets the cache size to
2^31-1 rounded down to the nearest page.
Could you please test the attached patch?
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro
intending to write more documentation, but like everyone else's
my days only have 24 hours :)
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http
at the code, and while I did identify some
memory leaks, they were all in code paths related to the -b option,
which you don't seem to use.
Could you either run varnishncsa under valgrind and send me the results,
or send me the log file so I can try to track down the leak?
DES
--
Dag-Erling Smørgrav
[EMAIL PROTECTED] writes:
Quoting Dag-Erling Smørgrav [EMAIL PROTECTED]:
The example you mention illustrates how to cache multiple virtual hosts
served by *separate* backends. If all your virtual hosts are on the
same backend, you shouldn't need to do anything.
That is what I thought so
s [EMAIL PROTECTED] writes:
Does Varnish support rewriting HTML code, especially absolute links in
it?
No.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
[EMAIL PROTECTED] writes:
Quoting Dag-Erling Smørgrav [EMAIL PROTECTED]:
Is Varnish passing the correct Host: header to Apache?
AFAIK, it is passing what I am/was telling it in default.vcl.
I'm not asking you to guess or speculate; I'm asking you to check your
logs. Varnish does *not* use
platform are you
on?
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
[EMAIL PROTECTED] writes:
Each worker proces has a child process unless i'm wrong ;)
No. There is one parent process and one child process. The worker
threads are just that - threads.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
as there are being
processed.
varnishstat:
00:01:22
It's only been running for 82 seconds, so the numbers aren't going to
tell us much.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
;
req.http.host = backend.example.com;
} else {
error 404 Unknown virtual host;
}
}
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no
should be handled in pass mode. This can happen if vcl_fetch()
ended with pass, e.g. if the backend sent a cookie.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc
Kamil Radziszewski [EMAIL PROTECTED] writes:
How can i set the memory limit for cache ?
There is no memory limit. The VM system will keep as much of the cache
file in memory as it sees fit.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
with man pages.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
increasing thread_pool_min. If your traffic comes in
bursts, increasing thread_pool_timeout might help, but in most cases it
won't.
- any sysctl tuning?
No more than is generally recommended for the amount of memory you have
and the amount of network traffic you expect.
DES
--
Dag-Erling Smørgrav
Dag-Erling Smørgrav [EMAIL PROTECTED] writes:
Looks like an oversight; resp.status is both readable and writable, but
obj.status is write-only.
Try the attached patch.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
Index: bin/varnishd/cache_vrt.c
out and then reconnects. I'm not sure if it's a bug in ab or in
Varnish.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman
Dag-Erling Smørgrav [EMAIL PROTECTED] writes:
Monty Ree [EMAIL PROTECTED] writes:
Why this result happens? varnish doesn't support keepalive?
I see the same symptom; tcpdump shows that ab does not send a new
request after receiving each answer, but waits for the session to time
out
jean-marc pouchoulon [EMAIL PROTECTED] writes:
varnishnsca failed with a segfault as I can see with a strace
This is a known bug in 1.0.4. Apply r1531 and rebuild.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
.
This is not an error message, BTW, just an indication that a pipe
session ended.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo
.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
of those?
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
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
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
happen in a variety of ways. Linpro is an Apple partner, so
we may be able to get a good price.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http
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
retrieving a page (or a set of pages). Simply
checking the pid won't help you if Varnish has gone off into la-la land,
or been SIGSTOPped or something.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
, and will probably hit trunk in late July.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
is correctly set up?
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
, although there is a possibility that the code (rdf() in
cache_pipe.c) is too sensitive and shuts down the pipe as soon as the
client's TCP window fills up. Could you try the attached patch?
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
Index: bin/varnishd
Gaute Amundsen [EMAIL PROTECTED] writes:
On Tuesday 03 July 2007 16:05, Dag-Erling Smørgrav wrote:
Gaute Amundsen [EMAIL PROTECTED] writes:
Rotation is weekly, and the previous logs have sane dates.
Weekly rotation is probably far too seldom, Varnish can easily generate
several gigabytes
Varnish on the Perlbal servers will halve the load on each
Apache server, but increase the response time for cache misses.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc
at it :)
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
Dingo [EMAIL PROTECTED] writes:
How would one compare say varnich with nginx [...] where i see Nginx
is not only a web server but a balancer for http/pop/imap/smtp
Varnish is neither of these.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
both a cache miss and a
cache hit), then stop varnishd, stop varnishlog and send me the file.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http
the overhead of a non-caching accelerating
proxy?
Perhaps your assumptions are flawed?
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no
would like the Last-Modified header to be used by
Varnish as the basis for an adaptive caching algorith just like Squid's,
instead of caching files for 120 seconds.
See above.
Third question: does Varnish obey Pragma: no-cache in response headers?
See above.
DES
--
Dag-Erling Smørgrav
Senior
. All of these assumptions are incorrect.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
cache, but if any other cookies are present, it should
contact the backend server (or use the appropriate caching policy)?
There's no easy way to do that with the current code base, but we expect
to have the required functionality in place within a couple of weeks.
DES
--
Dag-Erling Smørgrav
(a discriminant for static files) should be forcibly cached?
This is basically the same issue as in your previous email, and the
answer is the same.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
Denis Ahrens [EMAIL PROTECTED] writes:
svnversion says 1589M. you made no changes after that.
Are you sure your tree is up-to-date and you rebuilt everything? r1584
should have fixed that bug.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
. However, if
you're running on FreeBSD, /usr/local is the default prefix; there is no
need to specify it explicitly.
You can also use autogen.des, which runs autogen.sh *and* configure with
options useful for development and debugging; it sets the prefix to
/opt/varnish.
DES
--
Dag-Erling Smørgrav
Anup Shukla [EMAIL PROTECTED] writes:
Dag-Erling Smørgrav [EMAIL PROTECTED] writes:
Anup, what version are you running?
I am running version 1.0.4 Is that too old to use? If so, i will
update it immediately.
No, 1.0.4 should be fine, but I'm not aware of any bugs in it that might
cause
parameters, which are as
such:
Did you re-run autogen.sh after updating? In the top-level source
directory, what does 'grep STATE config.h' say?
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
that was fixed only yesterday, and the
instance-naming code we committed last week had serious issues that were
fixed on Tuesday.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc
, this particular failure is most likely a result of not
re-running autogen.sh and configure after updating the source tree.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc
- if these files
were missing, all varnish processes would simply die.
If the child process dies (due to a bug or running out of space), it
will not be able to restart without the compiled VCL file, and the
parent will probably bail out...
DES
--
Dag-Erling Smørgrav
Senior Software Developer
-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
visited web site (vg.no).
I notice that the total body bytes is larger than 2^32, perhaps there
is an integer overflow somewhere?
No, these are 64-bit counters.
Perhaps there is an integer overflow in your calculator? ;)
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro
of hits and
misses in real time (so will varnishstat, for that matter, but not as
prettily)
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http
second-rate about Varnish's abilities as a reverse
proxy...
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
multiple values for the same cookie name... :)
AFAIR from RFC2616, if multiple values are provided for the same key,
only the last one applies.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish
;
-
I think I need a more up to date source file ?
You need the latest sources from Subversion, and you left out the set
keyword.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
that was broken by
the upgrade.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
@@
/**/
-static sig_atomic_t reopen;
+static volatile sig_atomic_t reopen;
static void
sighup(int sig)
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
Denis Brækhus [EMAIL PROTECTED] writes:
I wanted to update the VarnishOnDebian wiki page with a small note on
this situation, but it seems I need to be granted edit permissions?
Done.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
on to the backend.
Mind you, these are just ideas - we have no concrete plans to implement
any of this in the near future. We are currently ramping up work on
2.0, and will most likely be busy with that until fall.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
interoperability, and we
will consider it for 1.1 / 2.0.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
for Varnish.
Give it a spin. I think you'll be surprised at how well it performs,
even without persistent caching.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
We have a new mailing list, varnish-dist, which will be used to plan
releases and coordinate the efforts of packagers. Anyone interested
in these topics is welcome to subscribe at the following URL:
http://projects.linpro.no/mailman/listinfo/varnish-dist/
DES
--
Dag-Erling Smørgrav
Senior
wants the Host: header prepended to the request URL in NCSA
logs. It's easy to do, I'll take care of it.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http
time to look into it yet.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
/varnish-cache/man/vcl.7
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
: edge-side includes.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
default
17 BackendOpen b default 127.0.0.1 46677 127.0.0.1 7080
So varnish goes to 127.0.0.1 instead of 192.168.100.199.
Most likely, the client sent a cookie.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish
restarted... It's a feature, not a bug :)
I promise this will be fixed in 2.0 (and possibly in 1.1 if we decide
to do a 1.1 release)
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc
Denis Brækhus [EMAIL PROTECTED] writes:
Dag-Erling Smørgrav [EMAIL PROTECTED] wrote:
The differences between the released version and the svn trunk are
currently very small (a few bug fixes).
So SVN would actually be more stable then?
Possibly, if your environment triggers the bugs
101 - 180 of 180 matches
Mail list logo