]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Lower the default pool size
authorAlan T. DeKok <aland@freeradius.org>
Tue, 15 Sep 2015 13:09:37 +0000 (09:09 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 15 Sep 2015 13:09:52 +0000 (09:09 -0400)
src/main/mainconfig.c

index 550e025579bf5c511e3b6715e3c5b17348f5364e..07c2d71becd5590b909bee85c1b350ac35934e1e 100644 (file)
@@ -772,7 +772,7 @@ int main_config_init(void)
         *
         *      Which should be enough for many configurations.
         */
-       main_config.talloc_pool_size = 32 * 1024; /* default */
+       main_config.talloc_pool_size = 8 * 1024; /* default */
 
        /*
         *      Read the distribution dictionaries first, then
@@ -964,7 +964,7 @@ do {\
 
        FR_INTEGER_BOUND_CHECK("cleanup_delay", main_config.cleanup_delay, <=, 10);
 
-       FR_INTEGER_BOUND_CHECK("resources.talloc_pool_size", main_config.talloc_pool_size, >=, 16 * 1024);
+       FR_INTEGER_BOUND_CHECK("resources.talloc_pool_size", main_config.talloc_pool_size, >=, 8 * 1024);
        FR_INTEGER_BOUND_CHECK("resources.talloc_pool_size", main_config.talloc_pool_size, <=, 1024 * 1024);
 
        /*