]> err.no Git - varnish/commitdiff
Merge r3314 from trunk.
authortfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 20 Oct 2008 08:58:05 +0000 (08:58 +0000)
committertfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 20 Oct 2008 08:58:05 +0000 (08:58 +0000)
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

index 23c80520489042797550c7adda25f4a17a358c7f..cc7bf83551907717fe5edb0926488d17aaece351 100644 (file)
@@ -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 */ ;