From: Alan T. DeKok Date: Tue, 23 Jan 2018 13:06:11 +0000 (-0500) Subject: set a larger pool X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a1d90ef1dbcba6ee514deeafc39939cbc0f5015;p=thirdparty%2Ffreeradius-server.git set a larger pool it's temporary. But a small pool will cause it to just use normal allocs. --- diff --git a/src/modules/rlm_cache/rlm_cache.c b/src/modules/rlm_cache/rlm_cache.c index cf9740505e6..c2c6ac0e10a 100644 --- a/src/modules/rlm_cache/rlm_cache.c +++ b/src/modules/rlm_cache/rlm_cache.c @@ -320,7 +320,7 @@ static rlm_rcode_t cache_insert(rlm_cache_t const *inst, REQUEST *request, rlm_c * Alloc a pool so we don't have excessive allocs when * gathering VALUE_PAIRs to cache. */ - pool = talloc_pool(NULL, 1024); + pool = talloc_pool(NULL, 8192); for (map = inst->maps; map != NULL; map = map->next) { VALUE_PAIR *to_cache = NULL; fr_cursor_t cursor;