From 059be4dda06b51d04ed33c752d688ce46018fbdd Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 8 Jan 2008 10:17:05 +0100 Subject: Reduce stat cache size default Now that we have a LRU scheme for the stat cache we can live with a lot less (This used to be commit 9e736aab07b91744d4c14a55f6f7c55f51dd80f6) --- source3/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/param/loadparm.c') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 9700cd1320..eaf19b746a 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1588,7 +1588,7 @@ static void init_globals(bool first_time_only) Globals.bNTPipeSupport = True; /* Do NT pipes by default. */ Globals.bNTStatusSupport = True; /* Use NT status by default. */ Globals.bStatCache = True; /* use stat cache by default */ - Globals.iMaxStatCacheSize = 1024; /* one Meg by default. */ + Globals.iMaxStatCacheSize = 256; /* 256k by default */ Globals.restrict_anonymous = 0; Globals.bClientLanManAuth = False; /* Do NOT use the LanMan hash if it is available */ Globals.bClientPlaintextAuth = False; /* Do NOT use a plaintext password even if is requested by the server */ -- cgit