etc/php.ini Resource Limits

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

etc/php.ini Resource Limits

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: etc/php.ini Resource Limits

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Re: etc/php.ini Resource Limits

Post by ecarrasq »

Ok thank you.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: etc/php.ini Resource Limits

Post by slansing »

Let us know if you have any questions!
Locked