summaryrefslogtreecommitdiff
path: root/source3/param
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 /source3/param
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 'source3/param')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 6aa84018111..703460e4c47 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -698,7 +698,7 @@ static void init_globals(struct loadparm_context *lp_ctx, bool reinit_globals)
Globals.nt_status_support = true; /* Use NT status by default. */
Globals.smbd_profiling_level = 0;
Globals.stat_cache = true; /* use stat cache by default */
- Globals.max_stat_cache_size = 256; /* 256k by default */
+ Globals.max_stat_cache_size = 512; /* 512k by default */
Globals.restrict_anonymous = 0;
Globals.client_lanman_auth = false; /* Do NOT use the LanMan hash if it is available */
Globals.client_plaintext_auth = false; /* Do NOT use a plaintext password even if is requested by the server */