summaryrefslogtreecommitdiff
path: root/lib/param/loadparm.c
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2019-04-05 15:43:21 -0700
committerJeremy Allison <jra@samba.org>2019-04-06 05:12:21 +0000
commit9ff5c0bab76c5d3d7bea1fcb79861d0c9a3b9839 (patch)
tree23280c05b2c9d5be8603bcd61f5dd873451543de /lib/param/loadparm.c
parenta04ca6f3438595ba7e1a110877f53d1cac0f0402 (diff)
downloadsamba-9ff5c0bab76c5d3d7bea1fcb79861d0c9a3b9839.tar.gz
memcache: Increase size of default memcache to 512k
With the fixed accounting of talloc objects, the default cache size needs to increase. The exact increase required depends on the workloads, going form 256k to 512k seems like a reasonable guess. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13865 Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/param/loadparm.c')
-rw-r--r--lib/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c
index 7ef2cc7d3f6..ebbccc22b71 100644
--- a/lib/param/loadparm.c
+++ b/lib/param/loadparm.c
@@ -2945,7 +2945,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
lpcfg_do_global_parameter(lp_ctx, "durable handles", "yes");
- lpcfg_do_global_parameter(lp_ctx, "max stat cache size", "256");
+ lpcfg_do_global_parameter(lp_ctx, "max stat cache size", "512");
lpcfg_do_global_parameter(lp_ctx, "ldap passwd sync", "no");