From 93436bffac9d2c819fb6ef0c39ed12ba63bb1ecb Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 19 Feb 2016 11:34:31 +0100 Subject: [PATCH] IcingaConfig: raise memory limits --- library/Director/IcingaConfig/IcingaConfig.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library/Director/IcingaConfig/IcingaConfig.php b/library/Director/IcingaConfig/IcingaConfig.php index ce29ab33..9b91a3f7 100644 --- a/library/Director/IcingaConfig/IcingaConfig.php +++ b/library/Director/IcingaConfig/IcingaConfig.php @@ -280,6 +280,10 @@ throw $e; { $start = microtime(true); + // Raise limits. TODO: do this in a failsafe way, and only if necessary + ini_set('memory_limit', '768M'); + ini_set('max_execution_time', 0); + $this->configFile( sprintf( 'zones.d/%s/001-director-basics',