From 35924f4865596c548954a1fc6c3d300776f0a069 Mon Sep 17 00:00:00 2001 From: William Brown Date: Tue, 28 Mar 2017 14:20:14 +1000 Subject: [PATCH] Ticket 49194 - Lower default ioblock timeout Bug Description: The default ioblock timeout is very high: 30 minutes. This often results in hangs and other odd symptoms. Fix Description: Reduce the time to 10 minutes, and then step it down further in the future. https://pagure.io/389-ds-base/issue/49194 Author: wibrown Review by: ??? --- ldap/servers/slapd/slap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ldap/servers/slapd/slap.h b/ldap/servers/slapd/slap.h index 5871bf0..7ae620b 100644 --- a/ldap/servers/slapd/slap.h +++ b/ldap/servers/slapd/slap.h @@ -257,8 +257,8 @@ typedef void (*VFPV)(); /* takes undefined arguments */ #define SLAPD_DEFAULT_MAX_FILTER_NEST_LEVEL 40 /* use -1 for no limit */ #define SLAPD_DEFAULT_MAX_SASLIO_SIZE 2097152 /* 2MB in bytes. Use -1 for no limit */ #define SLAPD_DEFAULT_MAX_SASLIO_SIZE_STR "2097152" -#define SLAPD_DEFAULT_IOBLOCK_TIMEOUT 1800000 /* half hour in ms */ -#define SLAPD_DEFAULT_IOBLOCK_TIMEOUT_STR "1800000" +#define SLAPD_DEFAULT_IOBLOCK_TIMEOUT 600000 /* 10 minutes in ms */ +#define SLAPD_DEFAULT_IOBLOCK_TIMEOUT_STR "600000" #define SLAPD_DEFAULT_OUTBOUND_LDAP_IO_TIMEOUT 300000 /* 5 minutes in ms */ #define SLAPD_DEFAULT_OUTBOUND_LDAP_IO_TIMEOUT_STR "300000" #define SLAPD_DEFAULT_RESERVE_FDS 64 -- 1.8.3.1