Commit 204c5b73 authored by Pål Hermunn Johansen's avatar Pål Hermunn Johansen

Increase default stack space

A default stack space of 48k will cause a stack overflow in some of
the test cases on some Linux distributions. The increase to 64k seems
to be enough to solve this.
parent a9d3d695
......@@ -646,9 +646,9 @@ MCF_InitParams(struct cli *cli)
MCF_ParamConf(MCF_MINIMUM, "thread_pool_stack", "%jdb", (intmax_t)low);
#if defined(__SANITIZER) || __has_feature(address_sanitizer)
def = 92 * 1024;
def = 128 * 1024;
#else
def = 48 * 1024;
def = 64 * 1024;
#endif
if (def < low)
def = low;
......
......@@ -26,6 +26,14 @@ http://varnish-cache.org/docs/trunk/whats-new/index.html and via
individual releases. These documents are updated as part of the
release process.
================================
Varnish Cache 6.0.9 (unreleased)
================================
* Increase the default stack size to 64k. (3617_)
.. _3617: https://github.com/varnishcache/varnish-cache/pull/3617
================================
Varnish Cache 6.0.8 (2021-07-13)
================================
......
......@@ -1329,7 +1329,7 @@ PARAM(
/* typ */ bytes,
/* min */ "2k",
/* max */ NULL,
/* default */ "48k",
/* default */ "64k",
/* units */ "bytes",
/* flags */ EXPERIMENTAL,
/* s-text */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment