Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Fatal error: Maximum execution time of 30 seconds

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
smartinez



Joined: 13 Mar 2003
Posts: 21
Location: Austin, Texas

PostPosted: Tue Sep 09, 2003 1:40 pm    Post subject: Fatal error: Maximum execution time of 30 seconds Reply with quote

The complete error is:

Fatal error: Maximum execution time of 30 seconds exceeded in /usr/local/apache2/htdocs/cacti-0.8.3/include/snmp_functions.php on line 51

0.8.3 has been working great so far... until I tried to retrieve interface errors through the "polling hosts" function. I was able to successfully retrieve the traffic measurements but this error occurred when I tried to retrieve the errors.

6 rrds out of a total of 25 interfaces were created...

Any ideas?

Thanks!

-Samson
Back to top
smartinez



Joined: 13 Mar 2003
Posts: 21
Location: Austin, Texas

PostPosted: Tue Sep 09, 2003 3:06 pm    Post subject: Reply with quote

I broke it down to 8 interfaces per polling sequence and this worked. I'm not sure what the cutoff is for this particular process but it appears to be less than 42 interfaces. This is on a Nortel Passport switch.

Again, this only occurred when I tried to retrieve interface error stats. Traffic stats encountered no problem.

-Samson
Back to top
bulek
Cacti Pro User


Joined: 20 May 2002
Posts: 852
Location: Poland

PostPosted: Wed Sep 10, 2003 10:22 am    Post subject: Reply with quote

You should modify one setting in your php.ini called "max_execution_time". It is set to 30 sec by default... you can change it to something like 300.

- bulek
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group