- 15 Jun, 2008 25 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2690 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2689 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2688 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2687 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2686 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2685 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2684 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2683 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2682 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2681 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2680 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2679 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Implement "" quoting of strings. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2678 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2677 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2676 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2675 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2674 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Accept connections, and close them right away. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2673 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2672 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2671 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2670 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2669 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2668 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2667 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
This is a test-driver which will be able to drive low-level tests of varnish functionalty. The present code manages to parse the example testcase description, more work to follow. XXX: needs to be auto*'ed, right now it uses FreeBSD makefile syntax. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2666 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 14 Jun, 2008 2 commits
-
-
Poul-Henning Kamp authored
Make Grace mode the default with 10 seconds (param: default_grace) Make the thread idle timeout 300 seconds (param: thread_pool_timeout) Max one new thread per 20 msec (param: thread_pool_add_delay) git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2665 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
do it if the number of queued threads dropped since last inspection. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2664 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 11 Jun, 2008 2 commits
-
-
Poul-Henning Kamp authored
The parameter session_linger determines how many milliseconds the workerthread waits to see if another request has arrived, before handing the session over to the session herder. If we manage to catch the next request this way, we save a number of semi-expensive steps, if we hang around too long, the worker-thread gets to goof off. A relatively small sample of data from a live server, indicates that 20% of all requests arrive within 50 msec of the previous request and 50% within 100msec. It is not clear at present how these timeintervals relate to client RTT, or if they are systematically too high, due to the duration of the detour over the herder. There is a new line in varnishstat keeping track of how many times this gamble succeeds. Experimentation is encouraged. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2663 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
srcaddr and global counters. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2662 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 10 Jun, 2008 2 commits
-
-
Poul-Henning Kamp authored
different places in the code. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2661 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Submitted by: peter Closes: 245 git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2660 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 09 Jun, 2008 5 commits
-
-
Poul-Henning Kamp authored
structure, instead of whatever we actually bound to. It is more informative and intuitive. Report the listen socket spec in the SessionOpen shm record. Close listen sockets as soon as we have forked the child, this eliminated a fd-leak when a socket was eliminated from listen_address while the child ran. Fix various potential problems related to not being able to bind to one or more listen addresses. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2659 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Associate ascii representation addr/port strings with each listen socket, already in the manager process. Postpone listen(2) call until client is ready, to limit initial connection spike. XXX: I still miss an unlisten(2). git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2658 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2657 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2656 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Have the worker threads add themselves to the pool, while the hold the pool lock anyway. Collect stats per pool, and have the decimator aggregate over all pools and into the shared memory counters. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2655 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 08 Jun, 2008 1 commit
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2654 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 07 Jun, 2008 1 commit
-
-
Poul-Henning Kamp authored
This is necessary to generalize the thread pools to do other tasks for us in the future. Please read the descriptions of the new and changed thread_pool* parameters carefully before you tweak them, some of them have slightly different meanings now. The high-level view of this is that we now have dedicated a thread to adding threads to the pools, in addition to the thread we already had that killed idle threads from the pools. The difference is that this new thread is quite a bit more reluctant to add threads than the previous code, which would add a thread any time it could get away with it. Hopefully that reduces the tendency for thread-pile-ups. This commit also reduces the cross-pool locking contention by making the overflow queue a per pool item. The down side of that is that more of the stats counters have become unlocked and thus can get out of sync if two threads race when updating them. This is an XXX item. Thanks to Anders Nordby for testing this patch. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2653 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 06 Jun, 2008 2 commits
-
-
Poul-Henning Kamp authored
unwritten lore better. Closes 203 git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2652 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
I had the sense of FIONBIO args right in the first place. Revert 2647 and promise not to commit when sleepy. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2651 d4fa192b-c00b-0410-8231-f00ffab90ce4
-