Re: PHP Fatal Error's

From: Date: Thu, 05 Oct 2006 02:48:46 +0000
Subject: Re: PHP Fatal Error's
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25347@lists.php.net to get a copy of this message
On 10/4/06, Ben Sytko <bsytko@gmail.com> wrote:
Hello, I use PEAR DB and Smarty on my site, and recently I have been getting a lot of these types of errors: PHP Fatal error: Maximum execution time of 30 seconds exceeded in * on line 0 PHP Fatal error: Maximum execution time of 30 seconds exceeded in */templates_c/%%6E^6EF^6EF18E15%%header.tpl.php on line 0 PHP Fatal error: Maximum execution time of 30 seconds exceeded in /www/*/php-bin/pear/PEAR.php on line 1061 Now, apparently these only occur when the server is busy. Could this be a problem with the database? The server admin also sent me these errors, I am not sure if these are related or if they are part of the problem: [Wed Oct 4 11:38:01 2006] [error] child process 21966 still did not exit, sending a SIGKILL He said they happen after each of the above fatal errors. Is this a PEAR related issue, an error in my code, or a result of a database being overloaded? Is their anything I can do, from a programming perspective to stop these, or perhaps gain further insight into what exactly is going on? I am quite confused.
Sounds like your site can't keep up with the higher volume. Likely this is I/O that is causing the slowness. There are also other possible problems. There are plenty of resources on the net about optimizing your website. A first step might be to look at possibly caching some of your output so that PHP has to do less and so your DB isn't hit as much. -- Justin Patrin

« previous php.pear.general (#25347) next »