From 27171fd50022a7af31deebb5700fe696f6419ce2 Mon Sep 17 00:00:00 2001 From: tfheen Date: Mon, 20 Oct 2008 08:58:05 +0000 Subject: [PATCH] Merge r3314 from trunk. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/branches/2.0@3326 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishreplay/varnishreplay.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishreplay/varnishreplay.c b/varnish-cache/bin/varnishreplay/varnishreplay.c index 23c80520..cc7bf835 100644 --- a/varnish-cache/bin/varnishreplay/varnishreplay.c +++ b/varnish-cache/bin/varnishreplay/varnishreplay.c @@ -743,7 +743,8 @@ main(int argc, char *argv[]) signal(SIGPIPE, SIG_IGN); pthread_attr_init(&thread_attr); - pthread_attr_setstacksize(&thread_attr, 16384); + /* XXX: seting the stack size manually reduces the memory usasage and increases speed */ + pthread_attr_setstacksize(&thread_attr, 32768); while (VSL_Dispatch(vd, gen_traffic, NULL) == 0) /* nothing */ ; -- 2.39.5