- 03 Jul, 2007 12 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1631 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
of timestamps and clock_gettime() throughout Varnish needs reviewing (as per IRC discussion with phk) git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1630 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1629 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
current time, the latter returns the number of seconds since an object was last requested. The exact semantics of both are slightly fluid at the moment, and will be revisited at a later date. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1628 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1627 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
script. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1626 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1625 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Cecilie Fritzvold authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1624 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
processing pending messages before we exit. Note that VSL_Dispatch() will read in log data as fast as it can, so when working from a log file, varnishreplay will usually read in the entire file into memory within the first few seconds. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1623 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
(See architect notes on wiki for reasoning) git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1622 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1621 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Cecilie Fritzvold authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1620 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 02 Jul, 2007 10 commits
-
-
Poul-Henning Kamp authored
we still reuse the structure. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1619 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1618 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1617 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1616 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1615 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1614 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1613 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
be performed. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1612 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
the various VCL methods. Loose the state names, they're obvious in the source code. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1611 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1605 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 29 Jun, 2007 5 commits
-
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1598 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1597 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1596 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1595 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1594 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 28 Jun, 2007 7 commits
-
-
Dag Erling Smørgrav authored
importantly, the display will now dynamically scale when the terminal is resized, and will be updated regularly regardless of the rate at which log data arrive. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1593 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1592 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1591 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1590 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
don't show more lines than the terminal can fit; correctly react to terminal size changes; react to Ctrl-L (redraw) and Ctrl-C / Ctrl-Q (quit). The layout code could use a cleanup, and we still fail to DTRT if the width of the terminal is less than that of our data, but this should not be a problem in daily use. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1589 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
This is a bletcherous hack - the entire API needs cleaning up. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1588 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
instantaneous measurements. For instance, we report the total number of allocator requests made over the child's lifetime, but we also report the amount of storage in use at any particular moment. The difference is important, because accumulated totals can be averaged over the program's lifetime (or over the last N seconds), but instantaneous measurements can't. Recycle the format field in MAC_STAT() (it was never used anyway) into a single-character flag indicating whether each item is an accumulated total ('a') or an instantaneous measure ('i'). Use this in varnishstat to skip averaging non-averageable numbers. Also rework varnishstat's "once" mode to show 1) each statistic's symbolic name, 2) its current value, 3) if appropriate, its value averaged over the process lifetime, and 4) its description. The reason for displaying the symbolic name is to simplify scripting, and to serve as a reference for looking up symbolic names to pass to e.g. the upcoming Nagios plugin. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1587 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 27 Jun, 2007 3 commits
-
-
Dag Erling Smørgrav authored
- Wrap the storage code so we don't need to duplicate the "toss out some old crap and try again" logic everywhere. This will also help when / if we decide to add support for multiple concurrent storage arenas. - While I'm at it, implement sma_trim(). - Rework the interaction between the LRU and expiry code. Instead of placing objects retired by the LRU on death row, immediately terminate them. - Give the LRU code its own fake session and worker so we don't have to pass it a session pointer. - Rework the LRU API, and add LRU_DiscardOne() which discards a single object. This is what the stevedore code uses. Known or suspected issues: - The LRU and expiry code should use the same mutex, and / or the possiblity for races between them should be examined closely. - LRU_Init() needs to be looked at and possibly moved. - LRU_DiscardSpace() and LRU_DiscardTime() are unused and quite possibly useless. - Logging and statistics related to the LRU need more attention. - The stevedore API can probably be improved. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1586 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Eventually we need to separate the "max http header size" from the workspace size, but that will take a bit of pondering. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1585 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
requests, otherwise we end up filling it up with Content-Length: headers if we manage to keep the backend busy. Also make the snapshot of the preferred workspace-size volatile to ensure that we are consistent. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1584 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 26 Jun, 2007 3 commits
-
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1582 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
path, or a path relative to $localstatedir/varnish. By default, it is set to the host name, which results in $localstatedir/varnish/$hostname. This logic is centralized in instance.c, which is compiled into both varnishd and libvarnishapi, with prototypes in varnishapi.h and heritage.h. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1581 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1580 d4fa192b-c00b-0410-8231-f00ffab90ce4
-