Page 1 of 1

etc/php.ini Resource Limits

Posted: Wed May 08, 2013 12:27 pm
by ecarrasq
Linux Distribution and version? CentOS, 2.6.18-308.8.2.el5PAE
32 or 64bit? 32bit
VMware Image or Manual Install of XI? VMware Image
Are there specials configurations on your system, ie; is Gnome installed? No
Are you using a proxy? No
Are you using SSL? Yes
Nagios Version? Nagios XI 2012R1.8
Question:

Currently have 915 hosts with 4918 services. Which would be the recommended "Resource Limits" from the /etc/php.ini ? I followed the instructions from the following link:
My Current /etc/php.ini configuration is set to:
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 60 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 256M ; Maximum amount of memory a script may consume
Thank you,
Eddie

Re: etc/php.ini Resource Limits

Posted: Wed May 08, 2013 12:31 pm
by abrist
ecarrasq wrote: Currently have 915 hosts with 4918 services. Which would be the recommended "Resource Limits" from the /etc/php.ini ?
Whatever works. It all depends on the check interval and the system specs of the server. If you are not noticing timeouts when browsing the XI interface and applying configuration, you do not need to increase the php limits.

Re: etc/php.ini Resource Limits

Posted: Thu May 30, 2013 12:18 pm
by ecarrasq
Ok thank you.

Re: etc/php.ini Resource Limits

Posted: Thu May 30, 2013 12:52 pm
by slansing
Let us know if you have any questions!