poller & max.time of run cmd.php (or cactid)
Moderators: Developers, Moderators
poller & max.time of run cmd.php (or cactid)
is your 0.8.6.c max/time of run = 296 sec. But interval may be <>300 sec. Can you make max.time of poller execution configurable ?
timout
Ev,
Remember that you have to set your PHP timeout in the php.ini file or it doesnt make much difference what you have the program set for. When I was first starting with cacti, I had the defaults from php.ini as it came which was 30 secs. When I started adding hosts, I scratched my head thinking, "why isnt this working, I am not close to 296 secs". then I found the timeout in php.ini and my problems went away. I set it up the same as cacti and all is well. but, if you change the timeout in php.ini, you have to restart your web server to make the change take.
Regards,
Willie
Remember that you have to set your PHP timeout in the php.ini file or it doesnt make much difference what you have the program set for. When I was first starting with cacti, I had the defaults from php.ini as it came which was 30 secs. When I started adding hosts, I scratched my head thinking, "why isnt this working, I am not close to 296 secs". then I found the timeout in php.ini and my problems went away. I set it up the same as cacti and all is well. but, if you change the timeout in php.ini, you have to restart your web server to make the change take.
Regards,
Willie
timeout
Hey,
Here is the timeout section of php.ini
Regards,
Willie
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 295 ; Maximum execution time of each script, in seconds
max_input_time = 295 ; Maximum amount of time each script may spend parsing request data
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
Here is the timeout section of php.ini
Regards,
Willie
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 295 ; Maximum execution time of each script, in seconds
max_input_time = 295 ; Maximum amount of time each script may spend parsing request data
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
Thank you.
I now solved problem with many hang processes - with cron+pkill
isn't solved problem with loss of data (5 min interval), when cactid is hang -
topic - http://forums.cacti.net/viewtopic.php?p=25089
I now solved problem with many hang processes - with cron+pkill
isn't solved problem with loss of data (5 min interval), when cactid is hang -
topic - http://forums.cacti.net/viewtopic.php?p=25089
Who is online
Users browsing this forum: No registered users and 0 guests