]> err.no Git - varnish/commitdiff
Fix the default thread pool parameters to 2 pools, 500 threads and 300 seconds.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 21 Jun 2008 07:48:02 +0000 (07:48 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 21 Jun 2008 07:48:02 +0000 (07:48 +0000)
Add usage for -u while here.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2753 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/mgt_param.c
varnish-cache/bin/varnishd/varnishd.c

index c3fde9834248afab96ce29cbacb05f6a3794c28e..aee70ce584b2fb4c002b4155316e5a8d27455614 100644 (file)
@@ -477,7 +477,7 @@ static const struct parspec parspec[] = {
                "Can be increased on the fly, but decreases require a "
                "restart to take effect.",
                EXPERIMENTAL | DELAYED_EFFECT,
-               "1", "pools" },
+               "2", "pools" },
        { "thread_pool_max", tweak_thread_pool_max, NULL, 1, 0,
                "The maximum number of worker threads in all pools combined.\n"
                "\n"
@@ -485,7 +485,7 @@ static const struct parspec parspec[] = {
                "worker threads soak up RAM and CPU and generally just get "
                "in the way of getting work done.\n",
                EXPERIMENTAL | DELAYED_EFFECT,
-               "100", "threads" },
+               "500", "threads" },
        { "thread_pool_min", tweak_thread_pool_min, NULL, 1, 0,
                "The minimum number of threads in all worker pools combined.\n"
                "\n"
index 71cd40cbacff4345fa112e2ff984b397074fc221..e0d14ae0b3c2b537f03ab1926f7976c91a65e0b8 100644 (file)
@@ -157,14 +157,9 @@ usage(void)
        fprintf(stderr, FMT, "-w int[,int[,int]]", "Number of worker threads");
        fprintf(stderr, FMT, "", "  -w <fixed_count>");
        fprintf(stderr, FMT, "", "  -w min,max");
-       fprintf(stderr, FMT, "", "  -w min,max,timeout [default: -w1,1000,120]");
+       fprintf(stderr, FMT, "", "  -w min,max,timeout [default: -w2,500,300]");
+       fprintf(stderr, FMT, "-u user", "Priviledge separation user id");
 #undef FMT
-#if 0
-       -c clusterid@cluster_controller
-       -m memory_limit
-       -u uid
-       -a CLI_port
-#endif
        exit(1);
 }